Closed templehasfallen closed 9 months ago
When building the docker with BUILD_EXTENSIONS set to openai and coqui_tts, build fails due to a dependency conflict.
Follow Docker instructions
Edit .env
BUILD_EXTENSIONS="openai,coqui_tts" CLI_ARGS=--listen --api --extensions sd_api_pictures,send_pictures,gallery,coqui_tts
Run docker compose up --build
docker compose up --build
No response
[+] Building 57.8s (14/21) docker:default => [text-generation-webui internal] load .dockerignore 0.0s => => transferring context: 204B 0.0s => [text-generation-webui internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 2.75kB 0.0s => [text-generation-webui internal] load metadata for docker.io/nvidia/cuda:12.1.1-runtime-ubuntu22.04 1.0s => [text-generation-webui internal] load metadata for docker.io/nvidia/cuda:12.1.1-devel-ubuntu22.04 1.0s => [text-generation-webui internal] load build context 0.0s => => transferring context: 19.02kB 0.0s => [text-generation-webui builder 1/9] FROM docker.io/nvidia/cuda:12.1.1-devel-ubuntu22.04@sha256:7012e535a47883527d402da998384c30b936140c05e2537158c80b8143ee7425 0.0s => [text-generation-webui stage-1 1/7] FROM docker.io/nvidia/cuda:12.1.1-runtime-ubuntu22.04@sha256:8bbc6e304b193e84327fa30d93eea70ec0213b808239a46602a919a479a73b12 0.0s => CACHED [text-generation-webui builder 2/9] WORKDIR /builder 0.0s => CACHED [text-generation-webui builder 3/9] RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,rw apt update && apt install --no-install-recommends -y git vim build-essential python3-dev pip && 0.0s => CACHED [text-generation-webui builder 4/9] RUN --mount=type=cache,target=/root/.cache/pip,rw pip3 install --global --upgrade pip wheel setuptools && addgroup --gid 6972 app_grp && useradd -m -u 697 0.0s => CACHED [text-generation-webui builder 5/9] WORKDIR /home/app/build 0.0s => CACHED [text-generation-webui builder 6/9] COPY --chown=app:app_grp requirements.txt /home/app/build 0.0s => CACHED [text-generation-webui builder 7/9] COPY --chown=app:app_grp extensions /home/app/build/extensions 0.0s => ERROR [text-generation-webui builder 8/9] RUN --mount=type=cache,target=/root/.cache/pip,rw pip3 wheel -w wheels -r requirements.txt `echo "openai,coqui_tts" | sed -r 's/([^,]+)\s*,?\s*/ -r \/home\/app\/b 56.6s ------ > [text-generation-webui builder 8/9] RUN --mount=type=cache,target=/root/.cache/pip,rw pip3 wheel -w wheels -r requirements.txt `echo "openai,coqui_tts" | sed -r 's/([^,]+)\s*,?\s*/ -r \/home\/app\/build\/extension s\/\1\/requirements.txt/g'`: 0.864 Ignoring exllamav2: markers 'platform_system != "Darwin" and platform_machine != "x86_64"' don't match your environment 0.864 Ignoring bitsandbytes: markers 'platform_system == "Windows"' don't match your environment 0.864 Ignoring llama-cpp-python: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.11"' don't match your environment 0.879 Collecting llama-cpp-python==0.2.23+cpuavx2 1.563 Downloading https://github.com/jllllll/llama-cpp-python-cuBLAS-wheels/releases/download/cpu/llama_cpp_python-0.2.23+cpuavx2-cp310-cp310-manylinux_2_31_x86_64.whl (2.1 MB) 1.750 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 11.4 MB/s eta 0:00:00 1.753 Ignoring llama-cpp-python: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.9"' don't match your environment 1.754 Ignoring llama-cpp-python: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.8"' don't match your environment 1.754 Ignoring llama-cpp-python: markers 'platform_system == "Windows" and python_version == "3.11"' don't match your environment 1.755 Ignoring llama-cpp-python: markers 'platform_system == "Windows" and python_version == "3.10"' don't match your environment 1.755 Ignoring llama-cpp-python: markers 'platform_system == "Windows" and python_version == "3.9"' don't match your environment 1.755 Ignoring llama-cpp-python: markers 'platform_system == "Windows" and python_version == "3.8"' don't match your environment 1.756 Ignoring auto-gptq: markers 'platform_system == "Windows" and python_version == "3.11"' don't match your environment 1.756 Ignoring auto-gptq: markers 'platform_system == "Windows" and python_version == "3.10"' don't match your environment 1.757 Ignoring auto-gptq: markers 'platform_system == "Windows" and python_version == "3.9"' don't match your environment 1.757 Ignoring auto-gptq: markers 'platform_system == "Windows" and python_version == "3.8"' don't match your environment 1.758 Ignoring auto-gptq: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.11"' don't match your environment 1.769 Collecting auto-gptq==0.6.0+cu121 2.422 Downloading https://github.com/jllllll/AutoGPTQ/releases/download/v0.6.0/auto_gptq-0.6.0+cu121-cp310-cp310-linux_x86_64.whl (4.8 MB) 2.561 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 36.1 MB/s eta 0:00:00 2.565 Ignoring auto-gptq: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.9"' don't match your environment 2.565 Ignoring auto-gptq: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.8"' don't match your environment 2.566 Ignoring exllama: markers 'platform_system == "Windows" and python_version == "3.11"' don't match your environment 2.566 Ignoring exllama: markers 'platform_system == "Windows" and python_version == "3.10"' don't match your environment 2.567 Ignoring exllama: markers 'platform_system == "Windows" and python_version == "3.9"' don't match your environment 2.567 Ignoring exllama: markers 'platform_system == "Windows" and python_version == "3.8"' don't match your environment 2.568 Ignoring exllama: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.11"' don't match your environment 2.578 Collecting exllama==0.0.18+cu121 3.187 Downloading https://github.com/jllllll/exllama/releases/download/0.0.18/exllama-0.0.18+cu121-cp310-cp310-linux_x86_64.whl (434 kB) 3.223 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 434.6/434.6 KB 14.3 MB/s eta 0:00:00 3.226 Ignoring exllama: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.9"' don't match your environment 3.227 Ignoring exllama: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.8"' don't match your environment 3.228 Ignoring exllamav2: markers 'platform_system == "Windows" and python_version == "3.11"' don't match your environment 3.229 Ignoring exllamav2: markers 'platform_system == "Windows" and python_version == "3.10"' don't match your environment 3.229 Ignoring exllamav2: markers 'platform_system == "Windows" and python_version == "3.9"' don't match your environment 3.230 Ignoring exllamav2: markers 'platform_system == "Windows" and python_version == "3.8"' don't match your environment 3.231 Ignoring exllamav2: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.11"' don't match your environment 3.247 Collecting exllamav2==0.0.11+cu121 3.853 Downloading https://github.com/turboderp/exllamav2/releases/download/v0.0.11/exllamav2-0.0.11+cu121-cp310-cp310-linux_x86_64.whl (37.0 MB) 4.422 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 37.0/37.0 MB 41.6 MB/s eta 0:00:00 4.425 Ignoring exllamav2: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.9"' don't match your environment 4.425 Ignoring exllamav2: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.8"' don't match your environment 4.426 Ignoring flash-attn: markers 'platform_system == "Windows" and python_version == "3.11"' don't match your environment 4.426 Ignoring flash-attn: markers 'platform_system == "Windows" and python_version == "3.10"' don't match your environment 4.426 Ignoring flash-attn: markers 'platform_system == "Windows" and python_version == "3.9"' don't match your environment 4.427 Ignoring flash-attn: markers 'platform_system == "Windows" and python_version == "3.8"' don't match your environment 4.427 Ignoring flash-attn: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.11"' don't match your environment 4.437 Collecting flash-attn==2.3.4+cu122torch2.1cxx11abiFALSE 5.051 Downloading https://github.com/Dao-AILab/flash-attention/releases/download/v2.3.4/flash_attn-2.3.4+cu122torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl (57.4 MB) 5.968 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.4/57.4 MB 29.1 MB/s eta 0:00:00 5.976 Ignoring flash-attn: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.9"' don't match your environment 5.977 Ignoring flash-attn: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.8"' don't match your environment 5.979 Ignoring llama-cpp-python-cuda: markers 'platform_system == "Windows" and python_version == "3.11"' don't match your environment 5.979 Ignoring llama-cpp-python-cuda: markers 'platform_system == "Windows" and python_version == "3.10"' don't match your environment 5.979 Ignoring llama-cpp-python-cuda: markers 'platform_system == "Windows" and python_version == "3.9"' don't match your environment 5.980 Ignoring llama-cpp-python-cuda: markers 'platform_system == "Windows" and python_version == "3.8"' don't match your environment 5.981 Ignoring llama-cpp-python-cuda: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.11"' don't match your environment 5.996 Collecting llama-cpp-python-cuda==0.2.23+cu121 6.338 Downloading https://github.com/jllllll/llama-cpp-python-cuBLAS-wheels/releases/download/textgen-webui/llama_cpp_python_cuda-0.2.23+cu121-cp310-cp310-manylinux_2_31_x86_64.whl (28.0 MB) 6.739 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 28.0/28.0 MB 51.3 MB/s eta 0:00:00 6.742 Ignoring llama-cpp-python-cuda: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.9"' don't match your environment 6.742 Ignoring llama-cpp-python-cuda: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.8"' don't match your environment 6.743 Ignoring gptq-for-llama: markers 'platform_system == "Windows" and python_version == "3.11"' don't match your environment 6.743 Ignoring gptq-for-llama: markers 'platform_system == "Windows" and python_version == "3.10"' don't match your environment 6.743 Ignoring gptq-for-llama: markers 'platform_system == "Windows" and python_version == "3.9"' don't match your environment 6.744 Ignoring gptq-for-llama: markers 'platform_system == "Windows" and python_version == "3.8"' don't match your environment 6.744 Ignoring gptq-for-llama: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.11"' don't match your environment 6.752 Collecting gptq-for-llama==0.1.1+cu121 7.374 Downloading https://github.com/jllllll/GPTQ-for-LLaMa-CUDA/releases/download/0.1.1/gptq_for_llama-0.1.1+cu121-cp310-cp310-linux_x86_64.whl (739 kB) 7.417 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 739.5/739.5 KB 19.3 MB/s eta 0:00:00 7.420 Ignoring gptq-for-llama: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.9"' don't match your environment 7.421 Ignoring gptq-for-llama: markers 'platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.8"' don't match your environment 7.432 Collecting ctransformers==0.2.27+cu121 7.922 Downloading https://github.com/jllllll/ctransformers-cuBLAS-wheels/releases/download/AVX2/ctransformers-0.2.27+cu121-py3-none-any.whl (15.5 MB) 8.216 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.5/15.5 MB 53.7 MB/s eta 0:00:00 8.483 Collecting accelerate==0.25.* 8.648 Downloading accelerate-0.25.0-py3-none-any.whl (265 kB) 8.734 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 265.7/265.7 KB 3.2 MB/s eta 0:00:00 8.843 Collecting colorama 8.878 Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB) 9.022 Collecting datasets 9.033 Downloading datasets-2.15.0-py3-none-any.whl (521 kB) 9.106 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 521.2/521.2 KB 7.6 MB/s eta 0:00:00 9.197 Collecting einops 9.214 Downloading einops-0.7.0-py3-none-any.whl (44 kB) 9.234 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.6/44.6 KB 2.8 MB/s eta 0:00:00 9.594 Collecting gradio==3.50.* 9.604 Downloading gradio-3.50.2-py3-none-any.whl (20.3 MB) 10.04 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.3/20.3 MB 61.8 MB/s eta 0:00:00 10.18 Collecting hqq==0.1.1 10.19 Downloading hqq-0.1.1.tar.gz (22 kB) 10.21 Preparing metadata (setup.py): started 10.45 Preparing metadata (setup.py): finished with status 'done' 10.55 Collecting markdown 10.56 Downloading Markdown-3.5.1-py3-none-any.whl (102 kB) 10.58 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 102.2/102.2 KB 7.7 MB/s eta 0:00:00 11.27 Collecting numpy==1.24.* 11.28 Downloading numpy-1.24.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB) 11.86 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 37.0 MB/s eta 0:00:00 12.03 Collecting optimum==1.16.* 12.04 Downloading optimum-1.16.1-py3-none-any.whl (403 kB) 12.16 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 403.3/403.3 KB 3.3 MB/s eta 0:00:00 12.53 Collecting pandas 12.55 Downloading pandas-2.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB) 12.71 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.3/12.3 MB 70.3 MB/s eta 0:00:00 12.82 Collecting peft==0.7.* 12.84 Downloading peft-0.7.1-py3-none-any.whl (168 kB) 12.85 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 168.3/168.3 KB 15.9 MB/s eta 0:00:00 13.40 Collecting Pillow>=9.5.0 13.41 Downloading Pillow-10.1.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.6 MB) 13.49 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 52.4 MB/s eta 0:00:00 13.65 Collecting pyyaml 13.66 Downloading PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB) 13.69 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 705.5/705.5 KB 28.3 MB/s eta 0:00:00 13.81 Collecting requests 13.82 Downloading requests-2.31.0-py3-none-any.whl (62 kB) 13.83 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 KB 5.4 MB/s eta 0:00:00 14.13 Collecting safetensors==0.4.1 14.14 Downloading safetensors-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB) 14.18 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 33.9 MB/s eta 0:00:00 14.50 Collecting scipy 14.52 Downloading scipy-1.11.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (36.4 MB) 14.97 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 36.4/36.4 MB 45.0 MB/s eta 0:00:00 15.28 Collecting sentencepiece 15.29 Downloading sentencepiece-0.1.99-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB) 15.33 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 36.6 MB/s eta 0:00:00 15.42 Collecting tensorboard 15.43 Downloading tensorboard-2.15.1-py3-none-any.whl (5.5 MB) 15.53 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.5/5.5 MB 60.5 MB/s eta 0:00:00 15.67 Collecting transformers==4.36.* 15.69 Downloading transformers-4.36.2-py3-none-any.whl (8.2 MB) 15.82 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.2/8.2 MB 64.4 MB/s eta 0:00:00 16.00 Collecting tqdm 16.01 Downloading tqdm-4.66.1-py3-none-any.whl (78 kB) 16.02 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 KB 6.8 MB/s eta 0:00:00 16.23 Collecting wandb 16.24 Downloading wandb-0.16.1-py3-none-any.whl (2.1 MB) 16.29 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 48.4 MB/s eta 0:00:00 16.37 Collecting bitsandbytes==0.41.1 16.38 Downloading bitsandbytes-0.41.1-py3-none-any.whl (92.6 MB) 17.83 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.6/92.6 MB 22.2 MB/s eta 0:00:00 18.28 Collecting autoawq==0.1.7 18.29 Downloading autoawq-0.1.7-cp310-cp310-manylinux2014_x86_64.whl (20.5 MB) 18.60 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.5/20.5 MB 58.8 MB/s eta 0:00:00 18.74 Collecting SpeechRecognition==3.10.0 18.75 Downloading SpeechRecognition-3.10.0-py2.py3-none-any.whl (32.8 MB) 19.17 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 32.8/32.8 MB 50.7 MB/s eta 0:00:00 19.36 Collecting flask_cloudflared==0.0.14 19.37 Downloading flask_cloudflared-0.0.14-py3-none-any.whl (6.4 kB) 19.44 Collecting sse-starlette==1.6.5 19.45 Downloading sse_starlette-1.6.5-py3-none-any.whl (9.6 kB) 19.56 Collecting tiktoken 19.57 Downloading tiktoken-0.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB) 19.60 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 57.9 MB/s eta 0:00:00 19.73 Collecting TTS==0.21.* 19.74 Downloading TTS-0.21.3-cp310-cp310-manylinux1_x86_64.whl (942 kB) 19.76 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 942.6/942.6 KB 43.6 MB/s eta 0:00:00 20.00 Collecting torch>=1.10.0 20.02 Downloading torch-2.1.2-cp310-cp310-manylinux1_x86_64.whl (670.2 MB) 30.65 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 670.2/670.2 MB 2.8 MB/s eta 0:00:00 32.96 Collecting packaging>=20.0 32.97 Downloading packaging-23.2-py3-none-any.whl (53 kB) 32.98 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 KB 4.4 MB/s eta 0:00:00 33.10 Collecting huggingface-hub 33.11 Downloading huggingface_hub-0.19.4-py3-none-any.whl (311 kB) 33.13 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 311.7/311.7 KB 20.7 MB/s eta 0:00:00 33.39 Collecting psutil 33.40 Downloading psutil-5.9.7-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (285 kB) 33.42 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 285.5/285.5 KB 18.8 MB/s eta 0:00:00 33.50 Collecting python-multipart 33.51 Downloading python_multipart-0.0.6-py3-none-any.whl (45 kB) 33.52 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.7/45.7 KB 2.9 MB/s eta 0:00:00 33.63 Collecting typing-extensions~=4.0 33.64 Downloading typing_extensions-4.9.0-py3-none-any.whl (32 kB) 33.73 Collecting jinja2<4.0 33.74 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) 33.75 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 11.2 MB/s eta 0:00:00 33.92 Collecting markupsafe~=2.0 33.93 Downloading MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) 34.03 Collecting altair<6.0,>=4.2.0 34.04 Downloading altair-5.2.0-py3-none-any.whl (996 kB) 34.07 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 996.9/996.9 KB 39.2 MB/s eta 0:00:00 34.19 Collecting uvicorn>=0.14.0 34.20 Downloading uvicorn-0.24.0.post1-py3-none-any.whl (59 kB) 34.21 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.7/59.7 KB 3.8 MB/s eta 0:00:00 34.30 Collecting pydub 34.31 Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB) 34.42 Collecting gradio-client==0.6.1 34.43 Downloading gradio_client-0.6.1-py3-none-any.whl (299 kB) 34.45 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 299.2/299.2 KB 19.3 MB/s eta 0:00:00 34.57 Collecting httpx 34.58 Downloading httpx-0.25.2-py3-none-any.whl (74 kB) 34.59 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.0/75.0 KB 5.9 MB/s eta 0:00:00 34.67 Collecting semantic-version~=2.0 34.68 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) 34.97 Collecting websockets<12.0,>=10.0 34.98 Downloading websockets-11.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB) 34.99 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.9/129.9 KB 12.9 MB/s eta 0:00:00 35.38 Collecting pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4 35.39 Downloading pydantic-2.5.2-py3-none-any.whl (381 kB) 35.42 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 381.9/381.9 KB 20.0 MB/s eta 0:00:00 35.52 Collecting ffmpy 35.53 Downloading ffmpy-0.3.1.tar.gz (5.5 kB) 35.55 Preparing metadata (setup.py): started 35.79 Preparing metadata (setup.py): finished with status 'done' 36.00 Collecting fastapi 36.01 Downloading fastapi-0.105.0-py3-none-any.whl (93 kB) 36.02 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.1/93.1 KB 5.3 MB/s eta 0:00:00 36.66 Collecting matplotlib~=3.0 36.67 Downloading matplotlib-3.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB) 36.88 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 54.0 MB/s eta 0:00:00 37.02 Collecting aiofiles<24.0,>=22.0 37.03 Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB) 37.75 Collecting orjson~=3.0 37.76 Downloading orjson-3.9.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (138 kB) 37.78 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.7/138.7 KB 5.9 MB/s eta 0:00:00 37.90 Collecting importlib-resources<7.0,>=1.3 37.91 Downloading importlib_resources-6.1.1-py3-none-any.whl (33 kB) 38.00 Collecting termcolor 38.01 Downloading termcolor-2.4.0-py3-none-any.whl (7.7 kB) 38.11 Collecting timm 38.12 Downloading timm-0.9.12-py3-none-any.whl (2.2 MB) 38.16 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 59.4 MB/s eta 0:00:00 38.37 Collecting sympy 38.38 Downloading sympy-1.12-py3-none-any.whl (5.7 MB) 38.47 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.7/5.7 MB 66.7 MB/s eta 0:00:00 38.57 Collecting coloredlogs 38.58 Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) 38.59 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.0/46.0 KB 4.1 MB/s eta 0:00:00 39.60 Collecting tokenizers<0.19,>=0.14 39.61 Downloading tokenizers-0.15.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB) 39.68 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 60.7 MB/s eta 0:00:00 39.76 Collecting filelock 39.77 Downloading filelock-3.13.1-py3-none-any.whl (11 kB) 40.81 Collecting regex!=2019.12.17 40.82 Downloading regex-2023.10.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (773 kB) 40.84 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 773.9/773.9 KB 40.8 MB/s eta 0:00:00 41.45 Collecting protobuf 41.45 Downloading protobuf-4.25.1-cp37-abi3-manylinux2014_x86_64.whl (294 kB) 41.58 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 294.6/294.6 KB 2.4 MB/s eta 0:00:00 41.68 Collecting toml 41.69 Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) 41.76 Collecting attributedict 41.77 Downloading attributedict-0.3.0-py3-none-any.whl (14 kB) 41.84 Collecting tabulate 41.85 Downloading tabulate-0.9.0-py3-none-any.whl (35 kB) 41.92 Collecting lm-eval 41.93 Downloading lm_eval-0.3.0-py3-none-any.whl (178 kB) 41.95 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.7/178.7 KB 13.8 MB/s eta 0:00:00 42.12 Collecting torchvision 42.13 Downloading torchvision-0.16.2-cp310-cp310-manylinux1_x86_64.whl (6.8 MB) 42.24 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.8/6.8 MB 65.8 MB/s eta 0:00:00 42.32 Collecting texttable 42.33 Downloading texttable-1.7.0-py2.py3-none-any.whl (10 kB) 42.45 Collecting Flask>=0.8 42.46 Downloading flask-3.0.0-py3-none-any.whl (99 kB) 42.47 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.7/99.7 KB 9.2 MB/s eta 0:00:00 42.60 Collecting starlette 42.61 Downloading starlette-0.34.0-py3-none-any.whl (70 kB) 42.62 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.3/70.3 KB 9.0 MB/s eta 0:00:00 42.84 Collecting jamo 42.85 Downloading jamo-0.4.1-py3-none-any.whl (9.5 kB) 43.33 Collecting spacy[ja]>=3 43.35 Downloading spacy-3.7.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.6 MB) 43.46 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 62.0 MB/s eta 0:00:00 44.06 Collecting aiohttp>=3.8.1 44.07 Downloading aiohttp-3.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB) 44.11 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 35.0 MB/s eta 0:00:00 44.17 Collecting bnunicodenormalizer 44.18 Downloading bnunicodenormalizer-0.1.6.tar.gz (39 kB) 44.21 Preparing metadata (setup.py): started 44.42 Preparing metadata (setup.py): finished with status 'done' 44.50 Collecting anyascii>=0.3.0 44.52 Downloading anyascii-0.3.2-py3-none-any.whl (289 kB) 44.53 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 289.9/289.9 KB 22.7 MB/s eta 0:00:00 44.64 Collecting inflect>=5.6.0 44.65 Downloading inflect-7.0.0-py3-none-any.whl (34 kB) 44.83 Collecting hangul-romanize 44.85 Downloading hangul_romanize-0.1.0-py3-none-any.whl (4.6 kB) 44.94 Collecting librosa>=0.10.0 44.95 Downloading librosa-0.10.1-py3-none-any.whl (253 kB) 44.97 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.7/253.7 KB 17.4 MB/s eta 0:00:00 45.04 Collecting num2words 45.05 Downloading num2words-0.5.13-py3-none-any.whl (143 kB) 45.07 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.3/143.3 KB 12.5 MB/s eta 0:00:00 45.27 Collecting soundfile>=0.12.0 45.29 Downloading soundfile-0.12.1-py2.py3-none-manylinux_2_31_x86_64.whl (1.2 MB) 45.35 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 20.6 MB/s eta 0:00:00 45.41 Collecting encodec>=0.1.1 45.42 Downloading encodec-0.1.1.tar.gz (3.7 MB) 45.50 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 54.8 MB/s eta 0:00:00 45.60 Preparing metadata (setup.py): started 45.85 Preparing metadata (setup.py): finished with status 'done' 45.95 Collecting nltk 45.96 Downloading nltk-3.8.1-py3-none-any.whl (1.5 MB) 46.00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 42.8 MB/s eta 0:00:00 46.09 Collecting trainer>=0.0.32 46.10 Downloading trainer-0.0.36-py3-none-any.whl (51 kB) 46.11 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.2/51.2 KB 4.7 MB/s eta 0:00:00 46.18 Collecting umap-learn>=0.5.1 46.19 Downloading umap-learn-0.5.5.tar.gz (90 kB) 46.20 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.9/90.9 KB 8.8 MB/s eta 0:00:00 46.23 Preparing metadata (setup.py): started 46.48 Preparing metadata (setup.py): finished with status 'done' 46.53 Collecting pandas 46.54 Downloading pandas-1.5.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.1 MB) 46.85 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.1/12.1 MB 37.1 MB/s eta 0:00:00 46.95 Collecting TTS==0.21.* 46.96 Downloading TTS-0.21.2-cp310-cp310-manylinux1_x86_64.whl (933 kB) 47.00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 933.8/933.8 KB 26.6 MB/s eta 0:00:00 47.09 Downloading TTS-0.21.1-cp310-cp310-manylinux1_x86_64.whl (933 kB) 47.13 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 933.3/933.3 KB 26.6 MB/s eta 0:00:00 47.21 Downloading TTS-0.21.0-cp310-cp310-manylinux1_x86_64.whl (933 kB) 47.23 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 933.3/933.3 KB 39.3 MB/s eta 0:00:00 47.29 INFO: pip is looking at multiple versions of sse-starlette to determine which version is compatible with other requirements. This could take a while. 47.29 INFO: pip is looking at multiple versions of flask-cloudflared to determine which version is compatible with other requirements. This could take a while. 47.29 INFO: pip is looking at multiple versions of speechrecognition to determine which version is compatible with other requirements. This could take a while. 47.29 INFO: pip is looking at multiple versions of autoawq to determine which version is compatible with other requirements. This could take a while. 47.29 INFO: pip is looking at multiple versions of bitsandbytes to determine which version is compatible with other requirements. This could take a while. 47.29 INFO: pip is looking at multiple versions of transformers to determine which version is compatible with other requirements. This could take a while. 47.30 Collecting transformers==4.36.* 47.31 Downloading transformers-4.36.1-py3-none-any.whl (8.3 MB) 47.55 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 35.7 MB/s eta 0:00:00 48.36 INFO: pip is looking at multiple versions of safetensors to determine which version is compatible with other requirements. This could take a while. 48.36 INFO: pip is looking at multiple versions of peft to determine which version is compatible with other requirements. This could take a while. 48.37 Collecting peft==0.7.* 48.38 Downloading peft-0.7.0-py3-none-any.whl (168 kB) 48.39 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 168.3/168.3 KB 14.1 MB/s eta 0:00:00 48.56 INFO: pip is looking at multiple versions of optimum to determine which version is compatible with other requirements. This could take a while. 48.57 Collecting optimum==1.16.* 48.58 Downloading optimum-1.16.0-py3-none-any.whl (403 kB) 48.60 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 403.4/403.4 KB 34.0 MB/s eta 0:00:00 48.78 INFO: pip is looking at multiple versions of transformers to determine which version is compatible with other requirements. This could take a while. 48.78 INFO: pip is looking at multiple versions of numpy to determine which version is compatible with other requirements. This could take a while. 48.78 INFO: pip is looking at multiple versions of hqq to determine which version is compatible with other requirements. This could take a while. 48.78 INFO: pip is looking at multiple versions of gradio to determine which version is compatible with other requirements. This could take a while. 48.79 Collecting gradio==3.50.* 49.30 Downloading gradio-3.50.1-py3-none-any.whl (20.3 MB) 53.55 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.3/20.3 MB 3.3 MB/s eta 0:00:00 53.78 INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abor t this run, press Ctrl + C. 53.87 INFO: pip is looking at multiple versions of peft to determine which version is compatible with other requirements. This could take a while. 53.89 Downloading gradio-3.50.0-py3-none-any.whl (20.3 MB) 55.55 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.3/20.3 MB 14.9 MB/s eta 0:00:00 55.87 INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while. 55.87 INFO: pip is looking at multiple versions of accelerate to determine which version is compatible with other requirements. This could take a while. 55.87 ERROR: Cannot install -r /home/app/build/extensions/coqui_tts/requirements.txt (line 1), -r requirements.txt (line 1), -r requirements.txt (line 10), -r requirements.txt (line 12), -r requirements.txt (line 20), -r requirements.txt (line 6), -r requirements.txt (line 7) and numpy==1.24.* because these package versions have conflicting dependencies. 55.87 55.87 The conflict is caused by: 55.87 The user requested numpy==1.24.* 55.87 accelerate 0.25.0 depends on numpy>=1.17 55.87 gradio 3.50.0 depends on numpy~=1.0 55.87 hqq 0.1.1 depends on numpy>=1.24.4 55.87 optimum 1.16.0 depends on numpy 55.87 peft 0.7.0 depends on numpy>=1.17 55.87 transformers 4.36.1 depends on numpy>=1.17 55.87 tts 0.21.3 depends on numpy==1.22.0; python_version <= "3.10" 55.87 The user requested numpy==1.24.* 55.87 accelerate 0.25.0 depends on numpy>=1.17 55.87 gradio 3.50.0 depends on numpy~=1.0 55.87 hqq 0.1.1 depends on numpy>=1.24.4 55.87 optimum 1.16.0 depends on numpy 55.87 peft 0.7.0 depends on numpy>=1.17 55.87 transformers 4.36.1 depends on numpy>=1.17 55.87 tts 0.21.2 depends on numpy==1.22.0; python_version <= "3.10" 55.87 The user requested numpy==1.24.* 55.87 accelerate 0.25.0 depends on numpy>=1.17 55.87 gradio 3.50.0 depends on numpy~=1.0 55.87 hqq 0.1.1 depends on numpy>=1.24.4 55.87 optimum 1.16.0 depends on numpy 55.87 peft 0.7.0 depends on numpy>=1.17 55.87 transformers 4.36.1 depends on numpy>=1.17 55.87 tts 0.21.1 depends on numpy==1.22.0; python_version <= "3.10" 55.87 The user requested numpy==1.24.* 55.87 accelerate 0.25.0 depends on numpy>=1.17 55.87 gradio 3.50.0 depends on numpy~=1.0 55.87 hqq 0.1.1 depends on numpy>=1.24.4 55.87 optimum 1.16.0 depends on numpy 55.87 peft 0.7.0 depends on numpy>=1.17 55.87 transformers 4.36.1 depends on numpy>=1.17 55.87 tts 0.21.0 depends on numpy==1.22.0; python_version <= "3.10" 55.87 55.87 To fix this you could try to: 55.87 1. loosen the range of package versions you've specified 55.87 2. remove package versions to allow pip attempt to solve the dependency conflict 55.87 55.87 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts ------ failed to solve: process "/bin/sh -c pip3 wheel -w wheels -r requirements.txt `echo \"$BUILD_EXTENSIONS\" | sed -r 's/([^,]+)\\s*,?\\s*/ -r \\/home\\/app\\/build\\/extensions\\/\\1\\/requirements.txt/g'`" did not complet e successfully: exit code: 1
Ubuntu 22.04 - Docker
This issue has been closed due to inactivity for 6 weeks. If you believe it is still relevant, please leave a comment below. You can tag a developer in your comment.
Describe the bug
When building the docker with BUILD_EXTENSIONS set to openai and coqui_tts, build fails due to a dependency conflict.
Is there an existing issue for this?
Reproduction
Follow Docker instructions
Edit .env
Run
docker compose up --build
Screenshot
No response
Logs
System Info