Closed Asteliks closed 1 year ago
It would seem that gradio
is not available as part of the default conda channels. For this to work conda-forge needs to be appended to the channels list
after adding conda-forge
to the conda channels the flowing modules need to be installed:
gradio is meant to be downloaded through pip as part of the webui's requirements.txt
All the packages exist on the main Anaconda channels for Windows, MacOS, Ubuntu, and Arch Linux. It sounds like there was an error during your installation which meant that some dependencies were never installed.
That reminds me, we should probably be stopping the install if there is an error in the middle of it
So I've done a small sanity check. Basically set up a Linux Fedora Workstation 38 VM and have tried the "one click install" there. The results are exactly the same.
[vm@fedora oobabooga_linux]$ sh start_linux.sh Downloading Miniconda from https://repo.anaconda.com/miniconda/Miniconda3-py310_23.1.0-1-Linux-x86_64.sh to /home/vm/Pobrane/oobabooga_linux/installer_files/miniconda_installer.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 70.9M 100 70.9M 0 0 65.8M 0 0:00:01 0:00:01 --:--:-- 65.8M PREFIX=/home/vm/Pobrane/oobabooga_linux/installer_files/conda Unpacking payload ... Installing base environment... Downloading and Extracting Packages Downloading and Extracting Packages Preparing transaction: done Executing transaction: done installation finished. Miniconda version: conda 23.1.0 Collecting package metadata (current_repodata.json): done Solving environment: done ==> WARNING: A newer version of conda exists. <== current version: 23.1.0 latest version: 23.3.1 Please update conda by running $ conda update -n base -c defaults conda Or to minimize the number of packages updated during conda update use conda install conda=23.3.1 ## Package Plan ## environment location: /home/vm/Pobrane/oobabooga_linux/installer_files/env added / updated specs: - python=3.10 The following packages will be downloaded: package | build ---------------------------|----------------- openssl-1.1.1t | h7f8727e_0 3.7 MB pip-23.0.1 | py310h06a4308_0 2.6 MB python-3.10.11 | h7a1cb2a_2 26.8 MB setuptools-66.0.0 | py310h06a4308_0 1.2 MB sqlite-3.41.2 | h5eee18b_0 1.2 MB tzdata-2023c | h04d1e81_0 116 KB wheel-0.38.4 | py310h06a4308_0 64 KB ------------------------------------------------------------ Total: 35.6 MB The following NEW packages will be INSTALLED: _libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main _openmp_mutex pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu bzip2 pkgs/main/linux-64::bzip2-1.0.8-h7b6447c_0 ca-certificates pkgs/main/linux-64::ca-certificates-2023.01.10-h06a4308_0 ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.38-h1181459_1 libffi pkgs/main/linux-64::libffi-3.4.2-h6a678d5_6 libgcc-ng pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1 libgomp pkgs/main/linux-64::libgomp-11.2.0-h1234567_1 libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1 libuuid pkgs/main/linux-64::libuuid-1.41.5-h5eee18b_0 ncurses pkgs/main/linux-64::ncurses-6.4-h6a678d5_0 openssl pkgs/main/linux-64::openssl-1.1.1t-h7f8727e_0 pip pkgs/main/linux-64::pip-23.0.1-py310h06a4308_0 python pkgs/main/linux-64::python-3.10.11-h7a1cb2a_2 readline pkgs/main/linux-64::readline-8.2-h5eee18b_0 setuptools pkgs/main/linux-64::setuptools-66.0.0-py310h06a4308_0 sqlite pkgs/main/linux-64::sqlite-3.41.2-h5eee18b_0 tk pkgs/main/linux-64::tk-8.6.12-h1ccaba5_0 tzdata pkgs/main/noarch::tzdata-2023c-h04d1e81_0 wheel pkgs/main/linux-64::wheel-0.38.4-py310h06a4308_0 xz pkgs/main/linux-64::xz-5.2.10-h5eee18b_1 zlib pkgs/main/linux-64::zlib-1.2.13-h5eee18b_0 Downloading and Extracting Packages Preparing transaction: done Verifying transaction: done Executing transaction: done # # To activate this environment, use # # $ conda activate /home/vm/Pobrane/oobabooga_linux/installer_files/env # # To deactivate an active environment, use # # $ conda deactivate What is your GPU A) NVIDIA B) AMD C) Apple M Series D) None (I want to run in CPU mode) Input> D Collecting package metadata (current_repodata.json): done Solving environment: done ==> WARNING: A newer version of conda exists. <== current version: 23.1.0 latest version: 23.3.1 Please update conda by running $ conda update -n base -c defaults conda Or to minimize the number of packages updated during conda update use conda install conda=23.3.1 ## Package Plan ## environment location: /home/vm/Pobrane/oobabooga_linux/installer_files/env added / updated specs: - cpuonly - git - pytorch - torchaudio - torchvision The following packages will be downloaded: package | build ---------------------------|----------------- blas-1.0 | mkl 6 KB c-ares-1.19.0 | h5eee18b_0 118 KB cpuonly-2.0 | 0 2 KB pytorch cryptography-39.0.1 | py310h9ce1e76_0 1.4 MB curl-7.88.1 | h5eee18b_0 88 KB expat-2.4.9 | h6a678d5_0 156 KB ffmpeg-4.3 | hf484d3e_0 9.9 MB pytorch filelock-3.9.0 | py310h06a4308_0 18 KB freetype-2.12.1 | h4a9f257_0 626 KB gdbm-1.18 | hd4cb3f1_4 194 KB gettext-0.21.0 | h39681ba_1 3.0 MB giflib-5.2.1 | h5eee18b_3 80 KB git-2.34.1 | pl5262hc120c5b_0 6.0 MB gmp-6.2.1 | h295c915_3 544 KB gmpy2-2.1.2 | py310heeb90bb_0 517 KB gnutls-3.6.15 | he1e5248_0 1.0 MB icu-58.2 | he6710b0_3 10.5 MB intel-openmp-2021.4.0 | h06a4308_3561 4.2 MB jinja2-3.1.2 | py310h06a4308_0 215 KB jpeg-9e | h5eee18b_1 262 KB krb5-1.19.4 | h568e23c_0 1.3 MB lame-3.100 | h7b6447c_0 323 KB lcms2-2.12 | h3be6417_0 312 KB lerc-3.0 | h295c915_0 196 KB libcurl-7.88.1 | h91b91d3_0 383 KB libdeflate-1.17 | h5eee18b_0 69 KB libedit-3.1.20221030 | h5eee18b_0 181 KB libev-4.33 | h7f8727e_1 111 KB libiconv-1.16 | h7f8727e_2 736 KB libidn2-2.3.2 | h7f8727e_0 81 KB libnghttp2-1.46.0 | hce63b2e_0 680 KB libpng-1.6.39 | h5eee18b_0 304 KB libssh2-1.10.0 | h8f2d780_0 274 KB libtasn1-4.19.0 | h5eee18b_0 63 KB libtiff-4.5.0 | h6a678d5_2 479 KB libunistring-0.9.10 | h27cfd23_0 536 KB libwebp-1.2.4 | h11a3e52_1 86 KB libwebp-base-1.2.4 | h5eee18b_1 376 KB libxml2-2.10.3 | hcbfbd50_0 755 KB lz4-c-1.9.4 | h6a678d5_0 154 KB markupsafe-2.1.1 | py310h7f8727e_0 34 KB mkl-2021.4.0 | h06a4308_640 142.6 MB mkl-service-2.4.0 | py310h7f8727e_0 177 KB mkl_fft-1.3.1 | py310hd6ae3a3_0 567 KB mkl_random-1.2.2 | py310h00e6091_0 1009 KB mpc-1.1.0 | h10f8cd9_1 90 KB mpfr-4.0.2 | hb69a4c5_1 487 KB mpmath-1.2.1 | py310h06a4308_0 769 KB nettle-3.7.3 | hbbd107a_1 809 KB networkx-2.8.4 | py310h06a4308_1 2.7 MB numpy-1.23.5 | py310hd5efca6_0 10 KB numpy-base-1.23.5 | py310h8e6c178_0 6.7 MB openh264-2.1.1 | h4ff587b_0 711 KB pcre2-10.37 | he7ceb23_1 839 KB perl-5.34.0 | h5eee18b_2 12.4 MB pillow-9.4.0 | py310h6a678d5_0 730 KB pyopenssl-23.0.0 | py310h06a4308_0 97 KB pytorch-2.0.0 | py3.10_cpu_0 86.2 MB pytorch pytorch-mutex-1.0 | cpu 3 KB pytorch requests-2.28.1 | py310h06a4308_1 100 KB sympy-1.11.1 | py310h06a4308_0 11.8 MB torchaudio-2.0.0 | py310_cpu 7.3 MB pytorch torchvision-0.15.0 | py310_cpu 6.7 MB pytorch typing_extensions-4.5.0 | py310h06a4308_0 48 KB urllib3-1.26.15 | py310h06a4308_0 199 KB zstd-1.5.5 | hc292b87_0 647 KB ------------------------------------------------------------ Total: 329.6 MB The following NEW packages will be INSTALLED: blas pkgs/main/linux-64::blas-1.0-mkl brotlipy pkgs/main/linux-64::brotlipy-0.7.0-py310h7f8727e_1002 c-ares pkgs/main/linux-64::c-ares-1.19.0-h5eee18b_0 certifi pkgs/main/linux-64::certifi-2022.12.7-py310h06a4308_0 cffi pkgs/main/linux-64::cffi-1.15.1-py310h5eee18b_3 charset-normalizer pkgs/main/noarch::charset-normalizer-2.0.4-pyhd3eb1b0_0 cpuonly pytorch/noarch::cpuonly-2.0-0 cryptography pkgs/main/linux-64::cryptography-39.0.1-py310h9ce1e76_0 curl pkgs/main/linux-64::curl-7.88.1-h5eee18b_0 expat pkgs/main/linux-64::expat-2.4.9-h6a678d5_0 ffmpeg pytorch/linux-64::ffmpeg-4.3-hf484d3e_0 filelock pkgs/main/linux-64::filelock-3.9.0-py310h06a4308_0 freetype pkgs/main/linux-64::freetype-2.12.1-h4a9f257_0 gdbm pkgs/main/linux-64::gdbm-1.18-hd4cb3f1_4 gettext pkgs/main/linux-64::gettext-0.21.0-h39681ba_1 giflib pkgs/main/linux-64::giflib-5.2.1-h5eee18b_3 git pkgs/main/linux-64::git-2.34.1-pl5262hc120c5b_0 gmp pkgs/main/linux-64::gmp-6.2.1-h295c915_3 gmpy2 pkgs/main/linux-64::gmpy2-2.1.2-py310heeb90bb_0 gnutls pkgs/main/linux-64::gnutls-3.6.15-he1e5248_0 icu pkgs/main/linux-64::icu-58.2-he6710b0_3 idna pkgs/main/linux-64::idna-3.4-py310h06a4308_0 intel-openmp pkgs/main/linux-64::intel-openmp-2021.4.0-h06a4308_3561 jinja2 pkgs/main/linux-64::jinja2-3.1.2-py310h06a4308_0 jpeg pkgs/main/linux-64::jpeg-9e-h5eee18b_1 krb5 pkgs/main/linux-64::krb5-1.19.4-h568e23c_0 lame pkgs/main/linux-64::lame-3.100-h7b6447c_0 lcms2 pkgs/main/linux-64::lcms2-2.12-h3be6417_0 lerc pkgs/main/linux-64::lerc-3.0-h295c915_0 libcurl pkgs/main/linux-64::libcurl-7.88.1-h91b91d3_0 libdeflate pkgs/main/linux-64::libdeflate-1.17-h5eee18b_0 libedit pkgs/main/linux-64::libedit-3.1.20221030-h5eee18b_0 libev pkgs/main/linux-64::libev-4.33-h7f8727e_1 libiconv pkgs/main/linux-64::libiconv-1.16-h7f8727e_2 libidn2 pkgs/main/linux-64::libidn2-2.3.2-h7f8727e_0 libnghttp2 pkgs/main/linux-64::libnghttp2-1.46.0-hce63b2e_0 libpng pkgs/main/linux-64::libpng-1.6.39-h5eee18b_0 libssh2 pkgs/main/linux-64::libssh2-1.10.0-h8f2d780_0 libtasn1 pkgs/main/linux-64::libtasn1-4.19.0-h5eee18b_0 libtiff pkgs/main/linux-64::libtiff-4.5.0-h6a678d5_2 libunistring pkgs/main/linux-64::libunistring-0.9.10-h27cfd23_0 libwebp pkgs/main/linux-64::libwebp-1.2.4-h11a3e52_1 libwebp-base pkgs/main/linux-64::libwebp-base-1.2.4-h5eee18b_1 libxml2 pkgs/main/linux-64::libxml2-2.10.3-hcbfbd50_0 lz4-c pkgs/main/linux-64::lz4-c-1.9.4-h6a678d5_0 markupsafe pkgs/main/linux-64::markupsafe-2.1.1-py310h7f8727e_0 mkl pkgs/main/linux-64::mkl-2021.4.0-h06a4308_640 mkl-service pkgs/main/linux-64::mkl-service-2.4.0-py310h7f8727e_0 mkl_fft pkgs/main/linux-64::mkl_fft-1.3.1-py310hd6ae3a3_0 mkl_random pkgs/main/linux-64::mkl_random-1.2.2-py310h00e6091_0 mpc pkgs/main/linux-64::mpc-1.1.0-h10f8cd9_1 mpfr pkgs/main/linux-64::mpfr-4.0.2-hb69a4c5_1 mpmath pkgs/main/linux-64::mpmath-1.2.1-py310h06a4308_0 nettle pkgs/main/linux-64::nettle-3.7.3-hbbd107a_1 networkx pkgs/main/linux-64::networkx-2.8.4-py310h06a4308_1 numpy pkgs/main/linux-64::numpy-1.23.5-py310hd5efca6_0 numpy-base pkgs/main/linux-64::numpy-base-1.23.5-py310h8e6c178_0 openh264 pkgs/main/linux-64::openh264-2.1.1-h4ff587b_0 pcre2 pkgs/main/linux-64::pcre2-10.37-he7ceb23_1 perl pkgs/main/linux-64::perl-5.34.0-h5eee18b_2 pillow pkgs/main/linux-64::pillow-9.4.0-py310h6a678d5_0 pycparser pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0 pyopenssl pkgs/main/linux-64::pyopenssl-23.0.0-py310h06a4308_0 pysocks pkgs/main/linux-64::pysocks-1.7.1-py310h06a4308_0 pytorch pytorch/linux-64::pytorch-2.0.0-py3.10_cpu_0 pytorch-mutex pytorch/noarch::pytorch-mutex-1.0-cpu requests pkgs/main/linux-64::requests-2.28.1-py310h06a4308_1 six pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_1 sympy pkgs/main/linux-64::sympy-1.11.1-py310h06a4308_0 torchaudio pytorch/linux-64::torchaudio-2.0.0-py310_cpu torchvision pytorch/linux-64::torchvision-0.15.0-py310_cpu typing_extensions pkgs/main/linux-64::typing_extensions-4.5.0-py310h06a4308_0 urllib3 pkgs/main/linux-64::urllib3-1.26.15-py310h06a4308_0 zstd pkgs/main/linux-64::zstd-1.5.5-hc292b87_0 Downloading and Extracting Packages Preparing transaction: done Verifying transaction: done Executing transaction: done Klonowanie do „text-generation-webui”... remote: Enumerating objects: 5953, done. remote: Counting objects: 100% (1028/1028), done. remote: Compressing objects: 100% (133/133), done. remote: Total 5953 (delta 956), reused 930 (delta 895), pack-reused 4925 Pobieranie obiektów: 100% (5953/5953), 2.22 MiB | 11.97 MiB/s, gotowe. Rozwiązywanie delt: 100% (3964/3964), gotowe. Już aktualne. Collecting git+https://github.com/huggingface/peft (from -r requirements.txt (line 16)) Cloning https://github.com/huggingface/peft to /tmp/pip-req-build-f1_z_li_ Running command git clone --filter=blob:none --quiet https://github.com/huggingface/peft /tmp/pip-req-build-f1_z_li_ Resolved https://github.com/huggingface/peft to commit 2822398fbe896f25d4dac5e468624dc5fd65a51b Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Ignoring llama-cpp-python: markers 'platform_system == "Windows"' don't match your environment Collecting accelerate==0.18.0 Downloading accelerate-0.18.0-py3-none-any.whl (215 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 215.3/215.3 kB 2.3 MB/s eta 0:00:00 Collecting colorama Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting datasets Downloading datasets-2.11.0-py3-none-any.whl (468 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.7/468.7 kB 11.4 MB/s eta 0:00:00 Collecting flexgen==0.1.7 Downloading flexgen-0.1.7-py3-none-any.whl (50 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.8/50.8 kB 9.3 MB/s eta 0:00:00 Collecting gradio==3.25.0 Downloading gradio-3.25.0-py3-none-any.whl (17.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.5/17.5 MB 48.3 MB/s eta 0:00:00 Collecting markdown Downloading Markdown-3.4.3-py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.9/93.9 kB 16.3 MB/s eta 0:00:00 Requirement already satisfied: numpy in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from -r requirements.txt (line 7)) (1.23.5) Collecting numpy Downloading numpy-1.24.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 58.3 MB/s eta 0:00:00 Collecting pandas Downloading pandas-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.3/12.3 MB 63.8 MB/s eta 0:00:00 Collecting Pillow>=9.5.0 Downloading Pillow-9.5.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 56.7 MB/s eta 0:00:00 Collecting pyyaml Downloading PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 682.2/682.2 kB 68.0 MB/s eta 0:00:00 Requirement already satisfied: requests in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from -r requirements.txt (line 11)) (2.28.1) Collecting requests Downloading requests-2.28.2-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 11.8 MB/s eta 0:00:00 Collecting rwkv==0.7.3 Downloading rwkv-0.7.3-py3-none-any.whl (16 kB) Collecting safetensors==0.3.0 Downloading safetensors-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 65.0 MB/s eta 0:00:00 Collecting sentencepiece Downloading sentencepiece-0.1.98-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 54.8 MB/s eta 0:00:00 Collecting tqdm Downloading tqdm-4.65.0-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 17.1 MB/s eta 0:00:00 Collecting transformers==4.28.1 Downloading transformers-4.28.1-py3-none-any.whl (7.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.0/7.0 MB 39.3 MB/s eta 0:00:00 Collecting bitsandbytes==0.38.1 Downloading bitsandbytes-0.38.1-py3-none-any.whl (104.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.3/104.3 MB 28.2 MB/s eta 0:00:00 Collecting llama-cpp-python==0.1.34 Downloading llama_cpp_python-0.1.34.tar.gz (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 69.4 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting packaging>=20.0 Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting psutil Downloading psutil-5.9.5-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (282 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 282.1/282.1 kB 7.2 MB/s eta 0:00:00 Requirement already satisfied: torch>=1.4.0 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from accelerate==0.18.0->-r requirements.txt (line 1)) (2.0.0) Collecting pulp Downloading PuLP-2.7.0-py3-none-any.whl (14.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.3/14.3 MB 50.9 MB/s eta 0:00:00 Collecting attrs Downloading attrs-23.1.0-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 12.6 MB/s eta 0:00:00 Collecting semantic-version Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Requirement already satisfied: markupsafe in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from gradio==3.25.0->-r requirements.txt (line 5)) (2.1.1) Collecting aiofiles Downloading aiofiles-23.1.0-py3-none-any.whl (14 kB) Collecting uvicorn Downloading uvicorn-0.21.1-py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.8/57.8 kB 11.2 MB/s eta 0:00:00 Collecting altair>=4.2.0 Downloading altair-4.2.2-py3-none-any.whl (813 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 813.6/813.6 kB 55.1 MB/s eta 0:00:00 Collecting pydantic Downloading pydantic-1.10.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 52.9 MB/s eta 0:00:00 Collecting matplotlib Downloading matplotlib-3.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 51.1 MB/s eta 0:00:00 Collecting huggingface-hub>=0.13.0 Downloading huggingface_hub-0.13.4-py3-none-any.whl (200 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 200.1/200.1 kB 34.6 MB/s eta 0:00:00 Requirement already satisfied: jinja2 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from gradio==3.25.0->-r requirements.txt (line 5)) (3.1.2) Collecting ffmpy Downloading ffmpy-0.3.0.tar.gz (4.8 kB) Preparing metadata (setup.py) ... done Collecting orjson Downloading orjson-3.8.10-cp310-cp310-manylinux_2_28_x86_64.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 kB 19.7 MB/s eta 0:00:00 Collecting gradio-client>=0.0.8 Downloading gradio_client-0.1.3-py3-none-any.whl (286 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 286.2/286.2 kB 38.8 MB/s eta 0:00:00 Collecting markdown-it-py[linkify]>=2.0.0 Downloading markdown_it_py-2.2.0-py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 kB 16.5 MB/s eta 0:00:00 Collecting websockets>=10.0 Downloading websockets-11.0.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.9/129.9 kB 25.2 MB/s eta 0:00:00 Collecting httpx Downloading httpx-0.24.0-py3-none-any.whl (75 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.3/75.3 kB 11.3 MB/s eta 0:00:00 Collecting aiohttp Downloading aiohttp-3.8.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 59.5 MB/s eta 0:00:00 Collecting mdit-py-plugins<=0.3.3 Downloading mdit_py_plugins-0.3.3-py3-none-any.whl (50 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.5/50.5 kB 9.0 MB/s eta 0:00:00 Collecting python-multipart Downloading python_multipart-0.0.6-py3-none-any.whl (45 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.7/45.7 kB 7.6 MB/s eta 0:00:00 Requirement already satisfied: typing-extensions in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from gradio==3.25.0->-r requirements.txt (line 5)) (4.5.0) Collecting fastapi Downloading fastapi-0.95.1-py3-none-any.whl (56 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.0/57.0 kB 10.3 MB/s eta 0:00:00 Collecting pydub Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB) Collecting tokenizers>=0.13.2 Downloading tokenizers-0.13.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 53.3 MB/s eta 0:00:00 Requirement already satisfied: filelock in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from transformers==4.28.1->-r requirements.txt (line 17)) (3.9.0) Collecting regex!=2019.12.17 Downloading regex-2023.3.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (769 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 769.6/769.6 kB 51.5 MB/s eta 0:00:00 Collecting fsspec[http]>=2021.11.1 Downloading fsspec-2023.4.0-py3-none-any.whl (153 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.0/154.0 kB 26.5 MB/s eta 0:00:00 Collecting responses<0.19 Downloading responses-0.18.0-py3-none-any.whl (38 kB) Collecting pyarrow>=8.0.0 Downloading pyarrow-11.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.9/34.9 MB 40.3 MB/s eta 0:00:00 Collecting dill<0.3.7,>=0.3.0 Downloading dill-0.3.6-py3-none-any.whl (110 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 110.5/110.5 kB 23.1 MB/s eta 0:00:00 Collecting xxhash Downloading xxhash-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (212 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 212.5/212.5 kB 35.6 MB/s eta 0:00:00 Collecting multiprocess Downloading multiprocess-0.70.14-py310-none-any.whl (134 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 134.3/134.3 kB 27.0 MB/s eta 0:00:00 Collecting python-dateutil>=2.8.2 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 43.9 MB/s eta 0:00:00 Collecting tzdata>=2022.1 Downloading tzdata-2023.3-py2.py3-none-any.whl (341 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 341.8/341.8 kB 45.8 MB/s eta 0:00:00 Collecting pytz>=2020.1 Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 54.0 MB/s eta 0:00:00 Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests->-r requirements.txt (line 11)) (1.26.15) Requirement already satisfied: idna<4,>=2.5 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests->-r requirements.txt (line 11)) (3.4) Requirement already satisfied: charset-normalizer<4,>=2 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests->-r requirements.txt (line 11)) (2.0.4) Requirement already satisfied: certifi>=2017.4.17 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests->-r requirements.txt (line 11)) (2022.12.7) Collecting toolz Downloading toolz-0.12.0-py3-none-any.whl (55 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 kB 10.5 MB/s eta 0:00:00 Collecting entrypoints Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB) Collecting jsonschema>=3.0 Downloading jsonschema-4.17.3-py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 kB 17.8 MB/s eta 0:00:00 Collecting frozenlist>=1.1.1 Downloading frozenlist-1.3.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (149 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.6/149.6 kB 28.4 MB/s eta 0:00:00 Collecting yarl<2.0,>=1.0 Downloading yarl-1.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (264 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 264.0/264.0 kB 12.3 MB/s eta 0:00:00 Collecting aiosignal>=1.1.2 Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Collecting async-timeout<5.0,>=4.0.0a3 Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting multidict<7.0,>=4.5 Downloading multidict-6.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (114 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.5/114.5 kB 6.1 MB/s eta 0:00:00 Collecting mdurl~=0.1 Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB) Collecting linkify-it-py<3,>=1 Downloading linkify_it_py-2.0.0-py3-none-any.whl (19 kB) Requirement already satisfied: six>=1.5 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from python-dateutil>=2.8.2->pandas->-r requirements.txt (line 8)) (1.16.0) Requirement already satisfied: sympy in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.18.0->-r requirements.txt (line 1)) (1.11.1) Requirement already satisfied: networkx in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.18.0->-r requirements.txt (line 1)) (2.8.4) Collecting starlette<0.27.0,>=0.26.1 Downloading starlette-0.26.1-py3-none-any.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.9/66.9 kB 11.6 MB/s eta 0:00:00 Collecting httpcore<0.18.0,>=0.15.0 Downloading httpcore-0.17.0-py3-none-any.whl (70 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.6/70.6 kB 13.0 MB/s eta 0:00:00 Collecting sniffio Downloading sniffio-1.3.0-py3-none-any.whl (10 kB) Collecting fonttools>=4.22.0 Downloading fonttools-4.39.3-py3-none-any.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 60.4 MB/s eta 0:00:00 Collecting pyparsing>=2.3.1 Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 18.6 MB/s eta 0:00:00 Collecting contourpy>=1.0.1 Downloading contourpy-1.0.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (300 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 300.3/300.3 kB 51.6 MB/s eta 0:00:00 Collecting kiwisolver>=1.0.1 Downloading kiwisolver-1.4.4-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 40.1 MB/s eta 0:00:00 Collecting cycler>=0.10 Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB) Collecting click>=7.0 Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 18.5 MB/s eta 0:00:00 Collecting h11>=0.8 Downloading h11-0.14.0-py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 10.3 MB/s eta 0:00:00 Collecting anyio<5.0,>=3.0 Downloading anyio-3.6.2-py3-none-any.whl (80 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.6/80.6 kB 15.0 MB/s eta 0:00:00 Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 Downloading pyrsistent-0.19.3-py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 kB 10.6 MB/s eta 0:00:00 Collecting uc-micro-py Downloading uc_micro_py-1.0.1-py3-none-any.whl (6.2 kB) Requirement already satisfied: mpmath>=0.19 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages/mpmath-1.2.1-py3.10.egg (from sympy->torch>=1.4.0->accelerate==0.18.0->-r requirements.txt (line 1)) (1.2.1) Building wheels for collected packages: llama-cpp-python, peft, ffmpy Building wheel for llama-cpp-python (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for llama-cpp-python (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [74 lines of output] -------------------------------------------------------------------------------- -- Trying 'Ninja' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. -- The C compiler identification is unknown CMake Error at CMakeLists.txt:3 (ENABLE_LANGUAGE): No CMAKE_C_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Unix Makefiles' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.Not searching for unused variables given on the command line. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Unix Makefiles' generator - failure -------------------------------------------------------------------------------- ******************************************************************************** scikit-build could not get a working generator for your system. Aborting build. Building Linux wheels for Python 3.10 requires a compiler (e.g gcc). It can be installed using fedora package manager: sudo yum groupinstall 'Development Tools' To build compliant wheels, consider using the manylinux system described in PEP-513. Get it with "dockcross/manylinux-x64" docker image: https://github.com/dockcross/dockcross#readme For more details, please refer to scikit-build documentation: http://scikit-build.readthedocs.io/en/latest/generators.html#linux ******************************************************************************** [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for llama-cpp-python Building wheel for peft (pyproject.toml) ... done Created wheel for peft: filename=peft-0.3.0.dev0-py3-none-any.whl size=50481 sha256=4f66d01c9989bd9ad3eade5011bd469a4d72f6ae6d83b6c68a13cb458f750034 Stored in directory: /tmp/pip-ephem-wheel-cache-r_w6ciuj/wheels/4c/16/67/1002a2d4daa822eff130e6d85b90051b75d2ce0d26b9448e4a Building wheel for ffmpy (setup.py) ... done Created wheel for ffmpy: filename=ffmpy-0.3.0-py3-none-any.whl size=4693 sha256=125d1f064c51d3b38a43e34272d4e728933581f32baf70f703bd35e38cd979f0 Stored in directory: /home/vm/.cache/pip/wheels/0c/c2/0e/3b9c6845c6a4e35beb90910cc70d9ac9ab5d47402bd62af0df Successfully built peft ffmpy Failed to build llama-cpp-python ERROR: Could not build wheels for llama-cpp-python, which is required to install pyproject.toml-based projects Collecting flask_cloudflared==0.0.12 Downloading flask_cloudflared-0.0.12-py3-none-any.whl (6.3 kB) Collecting Flask>=0.8 Downloading Flask-2.2.3-py3-none-any.whl (101 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.8/101.8 kB 2.1 MB/s eta 0:00:00 Requirement already satisfied: requests in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from flask_cloudflared==0.0.12->-r extensions/api/requirements.txt (line 1)) (2.28.1) Requirement already satisfied: Jinja2>=3.0 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from Flask>=0.8->flask_cloudflared==0.0.12->-r extensions/api/requirements.txt (line 1)) (3.1.2) Collecting Werkzeug>=2.2.2 Downloading Werkzeug-2.2.3-py3-none-any.whl (233 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 233.6/233.6 kB 5.7 MB/s eta 0:00:00 Collecting click>=8.0 Using cached click-8.1.3-py3-none-any.whl (96 kB) Collecting itsdangerous>=2.0 Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB) Requirement already satisfied: idna<4,>=2.5 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests->flask_cloudflared==0.0.12->-r extensions/api/requirements.txt (line 1)) (3.4) Requirement already satisfied: certifi>=2017.4.17 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests->flask_cloudflared==0.0.12->-r extensions/api/requirements.txt (line 1)) (2022.12.7) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests->flask_cloudflared==0.0.12->-r extensions/api/requirements.txt (line 1)) (1.26.15) Requirement already satisfied: charset-normalizer<3,>=2 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests->flask_cloudflared==0.0.12->-r extensions/api/requirements.txt (line 1)) (2.0.4) Requirement already satisfied: MarkupSafe>=2.0 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from Jinja2>=3.0->Flask>=0.8->flask_cloudflared==0.0.12->-r extensions/api/requirements.txt (line 1)) (2.1.1) Installing collected packages: Werkzeug, itsdangerous, click, Flask, flask_cloudflared Successfully installed Flask-2.2.3 Werkzeug-2.2.3 click-8.1.3 flask_cloudflared-0.0.12 itsdangerous-2.1.2 Collecting elevenlabslib Downloading elevenlabslib-0.4.2-py3-none-any.whl (18 kB) Collecting soundfile Downloading soundfile-0.12.1-py2.py3-none-manylinux_2_31_x86_64.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 8.1 MB/s eta 0:00:00 Collecting sounddevice Downloading sounddevice-0.4.6-py3-none-any.whl (31 kB) Requirement already satisfied: requests in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from elevenlabslib->-r extensions/elevenlabs_tts/requirements.txt (line 1)) (2.28.1) Collecting typing Downloading typing-3.7.4.3.tar.gz (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.6/78.6 kB 12.4 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Requirement already satisfied: numpy in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from elevenlabslib->-r extensions/elevenlabs_tts/requirements.txt (line 1)) (1.23.5) Requirement already satisfied: cffi>=1.0 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from soundfile->-r extensions/elevenlabs_tts/requirements.txt (line 2)) (1.15.1) Requirement already satisfied: pycparser in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from cffi>=1.0->soundfile->-r extensions/elevenlabs_tts/requirements.txt (line 2)) (2.21) Requirement already satisfied: charset-normalizer<3,>=2 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests->elevenlabslib->-r extensions/elevenlabs_tts/requirements.txt (line 1)) (2.0.4) Requirement already satisfied: idna<4,>=2.5 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests->elevenlabslib->-r extensions/elevenlabs_tts/requirements.txt (line 1)) (3.4) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests->elevenlabslib->-r extensions/elevenlabs_tts/requirements.txt (line 1)) (1.26.15) Requirement already satisfied: certifi>=2017.4.17 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests->elevenlabslib->-r extensions/elevenlabs_tts/requirements.txt (line 1)) (2022.12.7) Building wheels for collected packages: typing Building wheel for typing (setup.py) ... done Created wheel for typing: filename=typing-3.7.4.3-py3-none-any.whl size=26304 sha256=3c928ced32e7acaa6115436c8a37f0b0dfae369cda272ea3a95ce6d5efcfe15c Stored in directory: /home/vm/.cache/pip/wheels/7c/d0/9e/1f26ebb66d9e1732e4098bc5a6c2d91f6c9a529838f0284890 Successfully built typing Installing collected packages: typing, soundfile, sounddevice, elevenlabslib Successfully installed elevenlabslib-0.4.2 sounddevice-0.4.6 soundfile-0.12.1 typing-3.7.4.3 Collecting deep-translator==1.9.2 Downloading deep_translator-1.9.2-py3-none-any.whl (30 kB) Requirement already satisfied: requests<3.0.0,>=2.23.0 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from deep-translator==1.9.2->-r extensions/google_translate/requirements.txt (line 1)) (2.28.1) Collecting beautifulsoup4<5.0.0,>=4.9.1 Downloading beautifulsoup4-4.12.2-py3-none-any.whl (142 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.0/143.0 kB 2.6 MB/s eta 0:00:00 Collecting soupsieve>1.2 Downloading soupsieve-2.4.1-py3-none-any.whl (36 kB) Requirement already satisfied: idna<4,>=2.5 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests<3.0.0,>=2.23.0->deep-translator==1.9.2->-r extensions/google_translate/requirements.txt (line 1)) (3.4) Requirement already satisfied: charset-normalizer<3,>=2 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests<3.0.0,>=2.23.0->deep-translator==1.9.2->-r extensions/google_translate/requirements.txt (line 1)) (2.0.4) Requirement already satisfied: certifi>=2017.4.17 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests<3.0.0,>=2.23.0->deep-translator==1.9.2->-r extensions/google_translate/requirements.txt (line 1)) (2022.12.7) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests<3.0.0,>=2.23.0->deep-translator==1.9.2->-r extensions/google_translate/requirements.txt (line 1)) (1.26.15) Installing collected packages: soupsieve, beautifulsoup4, deep-translator Successfully installed beautifulsoup4-4.12.2 deep-translator-1.9.2 soupsieve-2.4.1 Collecting ipython Downloading ipython-8.12.0-py3-none-any.whl (796 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 796.4/796.4 kB 6.0 MB/s eta 0:00:00 Collecting num2words Downloading num2words-0.5.12-py3-none-any.whl (125 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.2/125.2 kB 23.1 MB/s eta 0:00:00 Collecting omegaconf Downloading omegaconf-2.3.0-py3-none-any.whl (79 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 10.8 MB/s eta 0:00:00 Collecting pydub Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB) Collecting PyYAML Using cached PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB) Collecting matplotlib-inline Downloading matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB) Collecting pexpect>4.3 Downloading pexpect-4.8.0-py2.py3-none-any.whl (59 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.0/59.0 kB 11.0 MB/s eta 0:00:00 Collecting traitlets>=5 Downloading traitlets-5.9.0-py3-none-any.whl (117 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.4/117.4 kB 15.5 MB/s eta 0:00:00 Collecting decorator Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30 Downloading prompt_toolkit-3.0.38-py3-none-any.whl (385 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 385.8/385.8 kB 45.4 MB/s eta 0:00:00 Collecting backcall Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB) Collecting pygments>=2.4.0 Downloading Pygments-2.15.1-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 28.5 MB/s eta 0:00:00 Collecting pickleshare Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB) Collecting stack-data Downloading stack_data-0.6.2-py3-none-any.whl (24 kB) Collecting jedi>=0.16 Downloading jedi-0.18.2-py2.py3-none-any.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 64.6 MB/s eta 0:00:00 Collecting docopt>=0.6.2 Downloading docopt-0.6.2.tar.gz (25 kB) Preparing metadata (setup.py) ... done Collecting antlr4-python3-runtime==4.9.* Downloading antlr4-python3-runtime-4.9.3.tar.gz (117 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.0/117.0 kB 22.8 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting parso<0.9.0,>=0.8.0 Downloading parso-0.8.3-py2.py3-none-any.whl (100 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.8/100.8 kB 20.5 MB/s eta 0:00:00 Collecting ptyprocess>=0.5 Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB) Collecting wcwidth Downloading wcwidth-0.2.6-py2.py3-none-any.whl (29 kB) Collecting executing>=1.2.0 Downloading executing-1.2.0-py2.py3-none-any.whl (24 kB) Collecting pure-eval Downloading pure_eval-0.2.2-py3-none-any.whl (11 kB) Collecting asttokens>=2.1.0 Downloading asttokens-2.2.1-py2.py3-none-any.whl (26 kB) Requirement already satisfied: six in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from asttokens>=2.1.0->stack-data->ipython->-r extensions/silero_tts/requirements.txt (line 1)) (1.16.0) Building wheels for collected packages: antlr4-python3-runtime, docopt Building wheel for antlr4-python3-runtime (setup.py) ... done Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144554 sha256=2b35ea80de3661ea8400d7d4cea0f138ad16db38e8e2e416b28a6bde109a469a Stored in directory: /home/vm/.cache/pip/wheels/12/93/dd/1f6a127edc45659556564c5730f6d4e300888f4bca2d4c5a88 Building wheel for docopt (setup.py) ... done Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13705 sha256=d084a17e4dbc8ab1be4fe8f0eab0ce272dcda88e9386feba433e4852995bd691 Stored in directory: /home/vm/.cache/pip/wheels/fc/ab/d4/5da2067ac95b36618c629a5f93f809425700506f72c9732fac Successfully built antlr4-python3-runtime docopt Installing collected packages: wcwidth, pydub, pure-eval, ptyprocess, pickleshare, executing, docopt, backcall, antlr4-python3-runtime, traitlets, PyYAML, pygments, prompt-toolkit, pexpect, parso, num2words, decorator, asttokens, stack-data, omegaconf, matplotlib-inline, jedi, ipython Successfully installed PyYAML-6.0 antlr4-python3-runtime-4.9.3 asttokens-2.2.1 backcall-0.2.0 decorator-5.1.1 docopt-0.6.2 executing-1.2.0 ipython-8.12.0 jedi-0.18.2 matplotlib-inline-0.1.6 num2words-0.5.12 omegaconf-2.3.0 parso-0.8.3 pexpect-4.8.0 pickleshare-0.7.5 prompt-toolkit-3.0.38 ptyprocess-0.7.0 pure-eval-0.2.2 pydub-0.25.1 pygments-2.15.1 stack-data-0.6.2 traitlets-5.9.0 wcwidth-0.2.6 Collecting git+https://github.com/Uberi/speech_recognition.git@010382b80267f0f7794169fccc8e875ee7da7c19 (from -r extensions/whisper_stt/requirements.txt (line 1)) Cloning https://github.com/Uberi/speech_recognition.git (to revision 010382b80267f0f7794169fccc8e875ee7da7c19) to /tmp/pip-req-build-nbrhg832 Running command git clone --filter=blob:none --quiet https://github.com/Uberi/speech_recognition.git /tmp/pip-req-build-nbrhg832 Running command git rev-parse -q --verify 'sha^010382b80267f0f7794169fccc8e875ee7da7c19' Running command git fetch -q https://github.com/Uberi/speech_recognition.git 010382b80267f0f7794169fccc8e875ee7da7c19 Running command git checkout -q 010382b80267f0f7794169fccc8e875ee7da7c19 Resolved https://github.com/Uberi/speech_recognition.git to commit 010382b80267f0f7794169fccc8e875ee7da7c19 Preparing metadata (setup.py) ... done Collecting openai-whisper Downloading openai-whisper-20230314.tar.gz (792 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 792.9/792.9 kB 5.7 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: soundfile in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from -r extensions/whisper_stt/requirements.txt (line 3)) (0.12.1) Collecting ffmpeg Downloading ffmpeg-1.4.tar.gz (5.1 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: requests>=2.26.0 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from SpeechRecognition==3.9.0->-r extensions/whisper_stt/requirements.txt (line 1)) (2.28.1) Requirement already satisfied: torch in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from openai-whisper->-r extensions/whisper_stt/requirements.txt (line 2)) (2.0.0) Collecting triton==2.0.0 Downloading triton-2.0.0-1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (63.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.3/63.3 MB 41.4 MB/s eta 0:00:00 Requirement already satisfied: numpy in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from openai-whisper->-r extensions/whisper_stt/requirements.txt (line 2)) (1.23.5) Collecting tiktoken==0.3.1 Downloading tiktoken-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 69.4 MB/s eta 0:00:00 Collecting ffmpeg-python==0.2.0 Downloading ffmpeg_python-0.2.0-py3-none-any.whl (25 kB) Collecting numba Downloading numba-0.56.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.5/3.5 MB 62.7 MB/s eta 0:00:00 Collecting more-itertools Downloading more_itertools-9.1.0-py3-none-any.whl (54 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.2/54.2 kB 10.3 MB/s eta 0:00:00 Collecting tqdm Using cached tqdm-4.65.0-py3-none-any.whl (77 kB) Collecting future Downloading future-0.18.3.tar.gz (840 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 840.9/840.9 kB 65.5 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting regex>=2022.1.18 Using cached regex-2023.3.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (769 kB) Collecting lit Downloading lit-16.0.1.tar.gz (137 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.9/137.9 kB 26.9 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Requirement already satisfied: filelock in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from triton==2.0.0->openai-whisper->-r extensions/whisper_stt/requirements.txt (line 2)) (3.9.0) Collecting cmake Using cached cmake-3.26.3-py2.py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (24.0 MB) Requirement already satisfied: cffi>=1.0 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from soundfile->-r extensions/whisper_stt/requirements.txt (line 3)) (1.15.1) Requirement already satisfied: pycparser in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from cffi>=1.0->soundfile->-r extensions/whisper_stt/requirements.txt (line 3)) (2.21) Requirement already satisfied: charset-normalizer<3,>=2 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests>=2.26.0->SpeechRecognition==3.9.0->-r extensions/whisper_stt/requirements.txt (line 1)) (2.0.4) Requirement already satisfied: idna<4,>=2.5 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests>=2.26.0->SpeechRecognition==3.9.0->-r extensions/whisper_stt/requirements.txt (line 1)) (3.4) Requirement already satisfied: certifi>=2017.4.17 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests>=2.26.0->SpeechRecognition==3.9.0->-r extensions/whisper_stt/requirements.txt (line 1)) (2022.12.7) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from requests>=2.26.0->SpeechRecognition==3.9.0->-r extensions/whisper_stt/requirements.txt (line 1)) (1.26.15) Requirement already satisfied: setuptools in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from numba->openai-whisper->-r extensions/whisper_stt/requirements.txt (line 2)) (66.0.0) Collecting llvmlite<0.40,>=0.39.0dev0 Downloading llvmlite-0.39.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.6/34.6 MB 50.9 MB/s eta 0:00:00 Requirement already satisfied: typing-extensions in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from torch->openai-whisper->-r extensions/whisper_stt/requirements.txt (line 2)) (4.5.0) Requirement already satisfied: sympy in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from torch->openai-whisper->-r extensions/whisper_stt/requirements.txt (line 2)) (1.11.1) Requirement already satisfied: networkx in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from torch->openai-whisper->-r extensions/whisper_stt/requirements.txt (line 2)) (2.8.4) Requirement already satisfied: jinja2 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from torch->openai-whisper->-r extensions/whisper_stt/requirements.txt (line 2)) (3.1.2) Requirement already satisfied: MarkupSafe>=2.0 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages (from jinja2->torch->openai-whisper->-r extensions/whisper_stt/requirements.txt (line 2)) (2.1.1) Requirement already satisfied: mpmath>=0.19 in /home/vm/Pobrane/oobabooga_linux/installer_files/env/lib/python3.10/site-packages/mpmath-1.2.1-py3.10.egg (from sympy->torch->openai-whisper->-r extensions/whisper_stt/requirements.txt (line 2)) (1.2.1) Building wheels for collected packages: SpeechRecognition, openai-whisper, ffmpeg, future, lit Building wheel for SpeechRecognition (setup.py) ... done Created wheel for SpeechRecognition: filename=SpeechRecognition-3.9.0-py2.py3-none-any.whl size=32835863 sha256=abf9b5bfddbc665f160e158aadecd5eeaef87ea332c94012cb9a821d8c59201d Stored in directory: /home/vm/.cache/pip/wheels/0b/1a/30/6c60550fbf4a28521e10e90da86fe84ac713246235b33de004 Building wheel for openai-whisper (pyproject.toml) ... done Created wheel for openai-whisper: filename=openai_whisper-20230314-py3-none-any.whl size=796910 sha256=5d256ab7c261eda99e7fc240d654fc245e57d3d4fdd0b73419bff301ae42b786 Stored in directory: /home/vm/.cache/pip/wheels/b2/13/5f/fe8245f6dc59df505879da4b2129932e342f02a80e6b87f27d Building wheel for ffmpeg (setup.py) ... done Created wheel for ffmpeg: filename=ffmpeg-1.4-py3-none-any.whl size=6082 sha256=5ea72e667b054328a234f8170ce5f25c596086e93b0e6b6fd8a13ef655f516ec Stored in directory: /home/vm/.cache/pip/wheels/8e/7a/69/cd6aeb83b126a7f04cbe7c9d929028dc52a6e7d525ff56003a Building wheel for future (setup.py) ... done Created wheel for future: filename=future-0.18.3-py3-none-any.whl size=492025 sha256=baaf2e9584ae8aa06a4649a9a9f791e16bcbe5a71bf8ab32c20a5e7e682460bb Stored in directory: /home/vm/.cache/pip/wheels/5e/a9/47/f118e66afd12240e4662752cc22cefae5d97275623aa8ef57d Building wheel for lit (setup.py) ... done Created wheel for lit: filename=lit-16.0.1-py3-none-any.whl size=88174 sha256=62583839353ac3c61ea04a5e91d832b50656521108814d39ca9bca64dc6162b3 Stored in directory: /home/vm/.cache/pip/wheels/33/c2/b7/b91592eb5167b4293827b97fb02d52686773dded13f7fb1054 Successfully built SpeechRecognition openai-whisper ffmpeg future lit Installing collected packages: lit, ffmpeg, cmake, tqdm, regex, more-itertools, llvmlite, future, tiktoken, SpeechRecognition, numba, ffmpeg-python, triton, openai-whisper Successfully installed SpeechRecognition-3.9.0 cmake-3.26.3 ffmpeg-1.4 ffmpeg-python-0.2.0 future-0.18.3 lit-16.0.1 llvmlite-0.39.1 more-itertools-9.1.0 numba-0.56.4 openai-whisper-20230314 regex-2023.3.23 tiktoken-0.3.1 tqdm-4.65.0 triton-2.0.0 Select the model that you want to download: A) OPT 6.7B B) OPT 2.7B C) OPT 1.3B D) OPT 350M E) GALACTICA 6.7B F) GALACTICA 1.3B G) GALACTICA 125M H) Pythia-6.9B-deduped I) Pythia-2.8B-deduped J) Pythia-1.4B-deduped K) Pythia-410M-deduped L) None of the above Input> G Downloading the model to models/facebook_galactica-125m 100%|██████████████████████████████████████████████████| 7.69k /7.69k 10.9MiB/s 100%|██████████████████████████████████████████████████| 787 /787 1.22MiB/s 100%|███████████████████████████████████████████████████| 137 /137 190kiB/s 100%|██████████████████████████████████████████████████| 250M /250M 76.1MiB/s 100%|██████████████████████████████████████████████████| 3.00 /3.00 4.44kiB/s 100%|██████████████████████████████████████████████████| 2.14M /2.14M 11.3MiB/s 100%|███████████████████████████████████████████████████| 166 /166 253kiB/s Traceback (most recent call last): File "/home/vm/Pobrane/oobabooga_linux/text-generation-webui/server.py", line 17, in <module> import gradio as gr ModuleNotFoundError: No module named 'gradio' Done!```
You need a C compiler to compile llama-cpp-python or it will interrupt the webui's requirements.txt. On fedora, I think you can use this: sudo dnf group install "C Development Tools and Libraries" "Development Tools"
@xNul This can be avoided by installing the appropriate wheel for llama-cpp-python before installing the requirements.txt. This will introduce additional maintenance every time oobabooga wants to change llama-cpp-python version. It may be better to just use wheels for all systems in the requirements.txt similar to how it is already done for Windows.
Thank you for posting. I will try to reproduce in a Fedora VM on my end.
The llama-cpp-python library not compiling is an issue but I don't think it's the cause of the gradio issue. It could probably be submitted as an issue to the llama-cpp-python repository. It might even already have an issue for it. I'll check on it later today.
I had the same problem as @Asteliks, my solution was to update gcc to v11.
Im having the same issue on debian
There should be a check for a valid gcc installation or a prerequisite to install "build-essential" on ubuntu or "Development Tools" on Fedora. For example a vanilla wsl ubuntu installation with nothing but the installer has no gcc installed, as far as I know most Linux Distros come without gcc for some reason.
This issue has been closed due to inactivity for 30 days. If you believe it is still relevant, please leave a comment below.
Hi, I get the following error:
[axel@fedora oobabooga_linux]$ sh start_linux.sh Traceback (most recent call last): File "/home/axel/Ai/oobabooga_linux/text-generation-webui/server.py", line 17, in <module> import gradio as gr ModuleNotFoundError: No module named 'gradio'
Steps to reproduce:
start_linux.sh
withsh start_linux.sh
in terminalstart_linux.sh
It would seem that 'gradio' is not downloaded as part of the env?
My system is: