Open
Description
Describe the bug
Describe the bug
I'm running a Stable Diffusion-based app on Hugging Face Spaces using a custom Dockerfile. After upgrading to diffusers==0.24.0
, I still encounter an error related to hf_hub_download
or model loading, which seems to originate from diffusers.utils.dynamic_modules_utils
.
Reproduction
- Hugging Face Space: Anubis99/BlackFlameArtForge
- Environment: Docker + CUDA 12.3.2
- Python: Installed via pyenv (Python 3.10.18)
- Error location:
/diffusers/utils/dynamic_modules_utils.py
Dockerfile install line:
RUN pip install --no-cache-dir --upgrade diffusers transformers torch gradio accelerate safetensors
### Reproduction
I don’t know how
### Logs
```shell
Logs
Build
Container
===== Build Queued at 2025-06-23 14:01:36 / Commit SHA: e20f05b =====
--> FROM docker.io/nvidia/cuda:12.3.2-cudnn9-devel-ubuntu22.04@sha256:fb1ad20f2552f5b3aafb2c9c478ed57da95e2bb027d15218d7a55b3a0e4b4413
DONE 0.0s
--> COPY --chown=1000:1000 --from=root / /
CACHED
--> WORKDIR /home/user/app
CACHED
--> RUN apt-get update && apt-get install -y fakeroot && mv /usr/bin/apt-get /usr/bin/.apt-get && echo '#!/usr/bin/env sh\nfakeroot /usr/bin/.apt-get $@' > /usr/bin/apt-get && chmod +x /usr/bin/apt-get && rm -rf /var/lib/apt/lists/* && useradd -m -u 1000 user
CACHED
--> RUN apt-get update && apt-get install -y git rsync make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install
CACHED
--> RUN curl https://pyenv.run | bash
CACHED
--> RUN pyenv install 3.10 && pyenv global 3.10 && pyenv rehash
CACHED
--> RUN pip install --no-cache-dir pip -U && pip install --no-cache-dir datasets "huggingface-hub>=0.19" "hf_xet>=1.0.0,<2.0.0" "hf-transfer>=0.1.4" "protobuf<4" "click<8.1" "pydantic~=1.0"
CACHED
--> Restoring cache
DONE 34.2s
--> RUN --mount=target=/tmp/requirements.txt,source=requirements.txt pip install --no-cache-dir -r /tmp/requirements.txt
Collecting diffusers>=0.29.0 (from -r /tmp/requirements.txt (line 1))
Downloading diffusers-0.33.1-py3-none-any.whl.metadata (19 kB)
Collecting transformers>=4.36.2 (from -r /tmp/requirements.txt (line 2))
Downloading transformers-4.52.4-py3-none-any.whl.metadata (38 kB)
Collecting torch>=2.1.0 (from -r /tmp/requirements.txt (line 3))
Downloading torch-2.7.1-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (29 kB)
Collecting gradio>=4.0.0 (from -r /tmp/requirements.txt (line 4))
Downloading gradio-5.34.2-py3-none-any.whl.metadata (16 kB)
Collecting importlib-metadata (from diffusers>=0.29.0->-r /tmp/requirements.txt (line 1))
Downloading importlib_metadata-8.7.0-py3-none-any.whl.metadata (4.8 kB)
Requirement already satisfied: filelock in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from diffusers>=0.29.0->-r /tmp/requirements.txt (line 1)) (3.18.0)
Requirement already satisfied: huggingface-hub>=0.27.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from diffusers>=0.29.0->-r /tmp/requirements.txt (line 1)) (0.33.0)
Requirement already satisfied: numpy in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from diffusers>=0.29.0->-r /tmp/requirements.txt (line 1)) (2.2.6)
Collecting regex!=2019.12.17 (from diffusers>=0.29.0->-r /tmp/requirements.txt (line 1))
Downloading regex-2024.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (40 kB)
Requirement already satisfied: requests in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from diffusers>=0.29.0->-r /tmp/requirements.txt (line 1)) (2.32.4)
Collecting safetensors>=0.3.1 (from diffusers>=0.29.0->-r /tmp/requirements.txt (line 1))
Downloading safetensors-0.5.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.8 kB)
Collecting Pillow (from diffusers>=0.29.0->-r /tmp/requirements.txt (line 1))
Downloading pillow-11.2.1-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (8.9 kB)
Requirement already satisfied: packaging>=20.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from transformers>=4.36.2->-r /tmp/requirements.txt (line 2)) (25.0)
Requirement already satisfied: pyyaml>=5.1 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from transformers>=4.36.2->-r /tmp/requirements.txt (line 2)) (6.0.2)
Collecting tokenizers<0.22,>=0.21 (from transformers>=4.36.2->-r /tmp/requirements.txt (line 2))
Downloading tokenizers-0.21.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
Requirement already satisfied: tqdm>=4.27 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from transformers>=4.36.2->-r /tmp/requirements.txt (line 2)) (4.67.1)
Requirement already satisfied: fsspec>=2023.5.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from huggingface-hub>=0.27.0->diffusers>=0.29.0->-r /tmp/requirements.txt (line 1)) (2025.3.0)
Requirement already satisfied: typing-extensions>=3.7.4.3 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from huggingface-hub>=0.27.0->diffusers>=0.29.0->-r /tmp/requirements.txt (line 1)) (4.14.0)
Requirement already satisfied: hf-xet<2.0.0,>=1.1.2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from huggingface-hub>=0.27.0->diffusers>=0.29.0->-r /tmp/requirements.txt (line 1)) (1.1.5)
Collecting sympy>=1.13.3 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading sympy-1.14.0-py3-none-any.whl.metadata (12 kB)
Collecting networkx (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
Collecting jinja2 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
Collecting nvidia-cuda-nvrtc-cu12==12.6.77 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_cuda_nvrtc_cu12-12.6.77-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cuda-runtime-cu12==12.6.77 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_cuda_runtime_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cuda-cupti-cu12==12.6.80 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_cuda_cupti_cu12-12.6.80-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cudnn-cu12==9.5.1.17 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_cudnn_cu12-9.5.1.17-py3-none-manylinux_2_28_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cublas-cu12==12.6.4.1 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_cublas_cu12-12.6.4.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cufft-cu12==11.3.0.4 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_cufft_cu12-11.3.0.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-curand-cu12==10.3.7.77 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_curand_cu12-10.3.7.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cusolver-cu12==11.7.1.2 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_cusolver_cu12-11.7.1.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cusparse-cu12==12.5.4.2 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_cusparse_cu12-12.5.4.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cusparselt-cu12==0.6.3 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_cusparselt_cu12-0.6.3-py3-none-manylinux2014_x86_64.whl.metadata (6.8 kB)
Collecting nvidia-nccl-cu12==2.26.2 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_nccl_cu12-2.26.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.0 kB)
Collecting nvidia-nvtx-cu12==12.6.77 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_nvtx_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-nvjitlink-cu12==12.6.85 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_nvjitlink_cu12-12.6.85-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cufile-cu12==1.11.1.6 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading nvidia_cufile_cu12-1.11.1.6-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.5 kB)
Collecting triton==3.3.1 (from torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading triton-3.3.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (1.5 kB)
Requirement already satisfied: setuptools>=40.8.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from triton==3.3.1->torch>=2.1.0->-r /tmp/requirements.txt (line 3)) (65.5.0)
Collecting aiofiles<25.0,>=22.0 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading aiofiles-24.1.0-py3-none-any.whl.metadata (10 kB)
Collecting anyio<5.0,>=3.0 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading anyio-4.9.0-py3-none-any.whl.metadata (4.7 kB)
Collecting fastapi<1.0,>=0.115.2 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading fastapi-0.115.13-py3-none-any.whl.metadata (27 kB)
Collecting ffmpy (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading ffmpy-0.6.0-py3-none-any.whl.metadata (2.9 kB)
Collecting gradio-client==1.10.3 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading gradio_client-1.10.3-py3-none-any.whl.metadata (7.1 kB)
Collecting groovy~=0.1 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading groovy-0.1.2-py3-none-any.whl.metadata (6.1 kB)
Collecting httpx>=0.24.1 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading httpx-0.28.1-py3-none-any.whl.metadata (7.1 kB)
Collecting markupsafe<4.0,>=2.0 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)
Collecting orjson~=3.0 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading orjson-3.10.18-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (41 kB)
Requirement already satisfied: pandas<3.0,>=1.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4)) (2.3.0)
Collecting pydantic<2.12,>=2.0 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading pydantic-2.11.7-py3-none-any.whl.metadata (67 kB)
Collecting pydub (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting python-multipart>=0.0.18 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading python_multipart-0.0.20-py3-none-any.whl.metadata (1.8 kB)
Collecting ruff>=0.9.3 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading ruff-0.12.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (25 kB)
Collecting safehttpx<0.2.0,>=0.1.6 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading safehttpx-0.1.6-py3-none-any.whl.metadata (4.2 kB)
Collecting semantic-version~=2.0 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)
Collecting starlette<1.0,>=0.40.0 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading starlette-0.47.1-py3-none-any.whl.metadata (6.2 kB)
Collecting tomlkit<0.14.0,>=0.12.0 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading tomlkit-0.13.3-py3-none-any.whl.metadata (2.8 kB)
Collecting typer<1.0,>=0.12 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading typer-0.16.0-py3-none-any.whl.metadata (15 kB)
Collecting uvicorn>=0.14.0 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading uvicorn-0.34.3-py3-none-any.whl.metadata (6.5 kB)
Collecting websockets<16.0,>=10.0 (from gradio-client==1.10.3->gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading websockets-15.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
Collecting exceptiongroup>=1.0.2 (from anyio<5.0,>=3.0->gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading exceptiongroup-1.3.0-py3-none-any.whl.metadata (6.7 kB)
Requirement already satisfied: idna>=2.8 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from anyio<5.0,>=3.0->gradio>=4.0.0->-r /tmp/requirements.txt (line 4)) (3.10)
Collecting sniffio>=1.1 (from anyio<5.0,>=3.0->gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Collecting starlette<1.0,>=0.40.0 (from gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading starlette-0.46.2-py3-none-any.whl.metadata (6.2 kB)
Requirement already satisfied: python-dateutil>=2.8.2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from pandas<3.0,>=1.0->gradio>=4.0.0->-r /tmp/requirements.txt (line 4)) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from pandas<3.0,>=1.0->gradio>=4.0.0->-r /tmp/requirements.txt (line 4)) (2025.2)
Requirement already satisfied: tzdata>=2022.7 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from pandas<3.0,>=1.0->gradio>=4.0.0->-r /tmp/requirements.txt (line 4)) (2025.2)
Collecting annotated-types>=0.6.0 (from pydantic<2.12,>=2.0->gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
Collecting pydantic-core==2.33.2 (from pydantic<2.12,>=2.0->gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading pydantic_core-2.33.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
Collecting typing-inspection>=0.4.0 (from pydantic<2.12,>=2.0->gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading typing_inspection-0.4.1-py3-none-any.whl.metadata (2.6 kB)
Requirement already satisfied: click>=8.0.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from typer<1.0,>=0.12->gradio>=4.0.0->-r /tmp/requirements.txt (line 4)) (8.0.4)
Collecting shellingham>=1.3.0 (from typer<1.0,>=0.12->gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting rich>=10.11.0 (from typer<1.0,>=0.12->gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading rich-14.0.0-py3-none-any.whl.metadata (18 kB)
Requirement already satisfied: certifi in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from httpx>=0.24.1->gradio>=4.0.0->-r /tmp/requirements.txt (line 4)) (2025.6.15)
Collecting httpcore==1.* (from httpx>=0.24.1->gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading httpcore-1.0.9-py3-none-any.whl.metadata (21 kB)
Collecting h11>=0.16 (from httpcore==1.*->httpx>=0.24.1->gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading h11-0.16.0-py3-none-any.whl.metadata (8.3 kB)
Requirement already satisfied: six>=1.5 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from python-dateutil>=2.8.2->pandas<3.0,>=1.0->gradio>=4.0.0->-r /tmp/requirements.txt (line 4)) (1.17.0)
Collecting markdown-it-py>=2.2.0 (from rich>=10.11.0->typer<1.0,>=0.12->gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich>=10.11.0->typer<1.0,>=0.12->gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading pygments-2.19.2-py3-none-any.whl.metadata (2.5 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0,>=0.12->gradio>=4.0.0->-r /tmp/requirements.txt (line 4))
Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Collecting mpmath<1.4,>=1.1.0 (from sympy>=1.13.3->torch>=2.1.0->-r /tmp/requirements.txt (line 3))
Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Collecting zipp>=3.20 (from importlib-metadata->diffusers>=0.29.0->-r /tmp/requirements.txt (line 1))
Downloading zipp-3.23.0-py3-none-any.whl.metadata (3.6 kB)
Requirement already satisfied: charset_normalizer<4,>=2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->diffusers>=0.29.0->-r /tmp/requirements.txt (line 1)) (3.4.2)
Requirement already satisfied: urllib3<3,>=1.21.1 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests->diffusers>=0.29.0->-r /tmp/requirements.txt (line 1)) (2.5.0)
Downloading diffusers-0.33.1-py3-none-any.whl (3.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 307.1 MB/s eta 0:00:00
Downloading transformers-4.52.4-py3-none-any.whl (10.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.5/10.5 MB 467.8 MB/s eta 0:00:00
Downloading tokenizers-0.21.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 515.2 MB/s eta 0:00:00
Downloading torch-2.7.1-cp310-cp310-manylinux_2_28_x86_64.whl (821.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 821.2/821.2 MB 248.0 MB/s eta 0:00:00
Downloading nvidia_cublas_cu12-12.6.4.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (393.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 393.1/393.1 MB 429.0 MB/s eta 0:00:00
Downloading nvidia_cuda_cupti_cu12-12.6.80-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (8.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.9/8.9 MB 364.9 MB/s eta 0:00:00
Downloading nvidia_cuda_nvrtc_cu12-12.6.77-py3-none-manylinux2014_x86_64.whl (23.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.7/23.7 MB 621.0 MB/s eta 0:00:00
Downloading nvidia_cuda_runtime_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (897 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 897.7/897.7 kB 533.1 MB/s eta 0:00:00
Downloading nvidia_cudnn_cu12-9.5.1.17-py3-none-manylinux_2_28_x86_64.whl (571.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 571.0/571.0 MB 349.8 MB/s eta 0:00:00
Downloading nvidia_cufft_cu12-11.3.0.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (200.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 200.2/200.2 MB 275.0 MB/s eta 0:00:00
Downloading nvidia_cufile_cu12-1.11.1.6-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 793.4 MB/s eta 0:00:00
Downloading nvidia_curand_cu12-10.3.7.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (56.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 MB 604.3 MB/s eta 0:00:00
Downloading nvidia_cusolver_cu12-11.7.1.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (158.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.2/158.2 MB 279.1 MB/s eta 0:00:00
Downloading nvidia_cusparse_cu12-12.5.4.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (216.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 216.6/216.6 MB 343.5 MB/s eta 0:00:00
Downloading nvidia_cusparselt_cu12-0.6.3-py3-none-manylinux2014_x86_64.whl (156.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.8/156.8 MB 125.7 MB/s eta 0:00:00
Downloading nvidia_nccl_cu12-2.26.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (201.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.3/201.3 MB 595.8 MB/s eta 0:00:00
Downloading nvidia_nvjitlink_cu12-12.6.85-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl (19.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.7/19.7 MB 596.1 MB/s eta 0:00:00
Downloading nvidia_nvtx_cu12-12.6.77-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (89 kB)
Downloading triton-3.3.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (155.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.6/155.6 MB 247.5 MB/s eta 0:00:00
Downloading gradio-5.34.2-py3-none-any.whl (54.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.3/54.3 MB 240.4 MB/s eta 0:00:00
Downloading gradio_client-1.10.3-py3-none-any.whl (323 kB)
Downloading aiofiles-24.1.0-py3-none-any.whl (15 kB)
Downloading anyio-4.9.0-py3-none-any.whl (100 kB)
Downloading fastapi-0.115.13-py3-none-any.whl (95 kB)
Downloading groovy-0.1.2-py3-none-any.whl (14 kB)
Downloading jinja2-3.1.6-py3-none-any.whl (134 kB)
Downloading MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20 kB)
Downloading orjson-3.10.18-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (132 kB)
Downloading pillow-11.2.1-cp310-cp310-manylinux_2_28_x86_64.whl (4.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 544.1 MB/s eta 0:00:00
Downloading pydantic-2.11.7-py3-none-any.whl (444 kB)
Downloading pydantic_core-2.33.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 729.9 MB/s eta 0:00:00
Downloading safehttpx-0.1.6-py3-none-any.whl (8.7 kB)
Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Downloading starlette-0.46.2-py3-none-any.whl (72 kB)
Downloading tomlkit-0.13.3-py3-none-any.whl (38 kB)
Downloading typer-0.16.0-py3-none-any.whl (46 kB)
Downloading websockets-15.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (181 kB)
Downloading annotated_types-0.7.0-py3-none-any.whl (13 kB)
Downloading exceptiongroup-1.3.0-py3-none-any.whl (16 kB)
Downloading httpx-0.28.1-py3-none-any.whl (73 kB)
Downloading httpcore-1.0.9-py3-none-any.whl (78 kB)
Downloading h11-0.16.0-py3-none-any.whl (37 kB)
Downloading python_multipart-0.0.20-py3-none-any.whl (24 kB)
Downloading regex-2024.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (781 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 781.7/781.7 kB 969.4 MB/s eta 0:00:00
Downloading rich-14.0.0-py3-none-any.whl (243 kB)
Downloading pygments-2.19.2-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 631.9 MB/s eta 0:00:00
Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Downloading ruff-0.12.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 228.0 MB/s eta 0:00:00
Downloading safetensors-0.5.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (471 kB)
Downloading shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Downloading sniffio-1.3.1-py3-none-any.whl (10 kB)
Downloading sympy-1.14.0-py3-none-any.whl (6.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 255.2 MB/s eta 0:00:00
Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 944.7 MB/s eta 0:00:00
Downloading typing_inspection-0.4.1-py3-none-any.whl (14 kB)
Downloading uvicorn-0.34.3-py3-none-any.whl (62 kB)
Downloading ffmpy-0.6.0-py3-none-any.whl (5.5 kB)
Downloading importlib_metadata-8.7.0-py3-none-any.whl (27 kB)
Downloading zipp-3.23.0-py3-none-any.whl (10 kB)
Downloading networkx-3.4.2-py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 837.4 MB/s eta 0:00:00
Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Installing collected packages: pydub, nvidia-cusparselt-cu12, mpmath, zipp, websockets, typing-inspection, triton, tomlkit, sympy, sniffio, shellingham, semantic-version, safetensors, ruff, regex, python-multipart, pygments, pydantic-core, Pillow, orjson, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufile-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, networkx, mdurl, markupsafe, h11, groovy, ffmpy, exceptiongroup, annotated-types, aiofiles, uvicorn, pydantic, nvidia-cusparse-cu12, nvidia-cufft-cu12, nvidia-cudnn-cu12, markdown-it-py, jinja2, importlib-metadata, httpcore, anyio, tokenizers, starlette, rich, nvidia-cusolver-cu12, httpx, diffusers, typer, transformers, torch, safehttpx, gradio-client, fastapi, gradio
Attempting uninstall: pydantic
Found existing installation: pydantic 1.10.22
Uninstalling pydantic-1.10.22:
Successfully uninstalled pydantic-1.10.22
Successfully installed Pillow-11.2.1 aiofiles-24.1.0 annotated-types-0.7.0 anyio-4.9.0 diffusers-0.33.1 exceptiongroup-1.3.0 fastapi-0.115.13 ffmpy-0.6.0 gradio-5.34.2 gradio-client-1.10.3 groovy-0.1.2 h11-0.16.0 httpcore-1.0.9 httpx-0.28.1 importlib-metadata-8.7.0 jinja2-3.1.6 markdown-it-py-3.0.0 markupsafe-3.0.2 mdurl-0.1.2 mpmath-1.3.0 networkx-3.4.2 nvidia-cublas-cu12-12.6.4.1 nvidia-cuda-cupti-cu12-12.6.80 nvidia-cuda-nvrtc-cu12-12.6.77 nvidia-cuda-runtime-cu12-12.6.77 nvidia-cudnn-cu12-9.5.1.17 nvidia-cufft-cu12-11.3.0.4 nvidia-cufile-cu12-1.11.1.6 nvidia-curand-cu12-10.3.7.77 nvidia-cusolver-cu12-11.7.1.2 nvidia-cusparse-cu12-12.5.4.2 nvidia-cusparselt-cu12-0.6.3 nvidia-nccl-cu12-2.26.2 nvidia-nvjitlink-cu12-12.6.85 nvidia-nvtx-cu12-12.6.77 orjson-3.10.18 pydantic-2.11.7 pydantic-core-2.33.2 pydub-0.25.1 pygments-2.19.2 python-multipart-0.0.20 regex-2024.11.6 rich-14.0.0 ruff-0.12.0 safehttpx-0.1.6 safetensors-0.5.3 semantic-version-2.10.0 shellingham-1.5.4 sniffio-1.3.1 starlette-0.46.2 sympy-1.14.0 tokenizers-0.21.1 tomlkit-0.13.3 torch-2.7.1 transformers-4.52.4 triton-3.3.1 typer-0.16.0 typing-inspection-0.4.1 uvicorn-0.34.3 websockets-15.0.1 zipp-3.23.0
DONE 73.3s
--> RUN pip install --no-cache-dir gradio[oauth]==4.25.0 "uvicorn>=0.14.0" spaces "fastapi<0.113.0"
Collecting gradio==4.25.0 (from gradio[oauth]==4.25.0)
Downloading gradio-4.25.0-py3-none-any.whl.metadata (15 kB)
Requirement already satisfied: uvicorn>=0.14.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (0.34.3)
Collecting spaces
Downloading spaces-0.37.1-py3-none-any.whl.metadata (1.0 kB)
Collecting fastapi<0.113.0
Downloading fastapi-0.112.4-py3-none-any.whl.metadata (27 kB)
Collecting aiofiles<24.0,>=22.0 (from gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)
Collecting altair<6.0,>=4.2.0 (from gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading altair-5.5.0-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: ffmpy in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (0.6.0)
Collecting gradio-client==0.15.0 (from gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading gradio_client-0.15.0-py3-none-any.whl.metadata (7.1 kB)
Requirement already satisfied: httpx>=0.24.1 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (0.28.1)
Requirement already satisfied: huggingface-hub>=0.19.3 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (0.33.0)
Collecting importlib-resources<7.0,>=1.3 (from gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading importlib_resources-6.5.2-py3-none-any.whl.metadata (3.9 kB)
Requirement already satisfied: jinja2<4.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (3.1.6)
Collecting markupsafe~=2.0 (from gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting matplotlib~=3.0 (from gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading matplotlib-3.10.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Collecting numpy~=1.0 (from gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
Requirement already satisfied: orjson~=3.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (3.10.18)
Requirement already satisfied: packaging in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (25.0)
Requirement already satisfied: pandas<3.0,>=1.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (2.3.0)
Collecting pillow<11.0,>=8.0 (from gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading pillow-10.4.0-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (9.2 kB)
Requirement already satisfied: pydantic>=2.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (2.11.7)
Requirement already satisfied: pydub in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (0.25.1)
Requirement already satisfied: python-multipart>=0.0.9 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (0.0.20)
Requirement already satisfied: pyyaml<7.0,>=5.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (6.0.2)
Requirement already satisfied: ruff>=0.2.2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (0.12.0)
Requirement already satisfied: semantic-version~=2.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (2.10.0)
Collecting tomlkit==0.12.0 (from gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading tomlkit-0.12.0-py3-none-any.whl.metadata (2.7 kB)
Requirement already satisfied: typer<1.0,>=0.9 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from typer[all]<1.0,>=0.9; sys_platform != "emscripten"->gradio==4.25.0->gradio[oauth]==4.25.0) (0.16.0)
Requirement already satisfied: typing-extensions~=4.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio==4.25.0->gradio[oauth]==4.25.0) (4.14.0)
Requirement already satisfied: fsspec in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from gradio-client==0.15.0->gradio==4.25.0->gradio[oauth]==4.25.0) (2025.3.0)
Collecting websockets<12.0,>=10.0 (from gradio-client==0.15.0->gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading websockets-11.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB)
Collecting authlib (from gradio[oauth]==4.25.0)
Downloading authlib-1.6.0-py2.py3-none-any.whl.metadata (4.1 kB)
Collecting itsdangerous (from gradio[oauth]==4.25.0)
Downloading itsdangerous-2.2.0-py3-none-any.whl.metadata (1.9 kB)
Collecting starlette<0.39.0,>=0.37.2 (from fastapi<0.113.0)
Downloading starlette-0.38.6-py3-none-any.whl.metadata (6.0 kB)
Collecting jsonschema>=3.0 (from altair<6.0,>=4.2.0->gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading jsonschema-4.24.0-py3-none-any.whl.metadata (7.8 kB)
Collecting narwhals>=1.14.2 (from altair<6.0,>=4.2.0->gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading narwhals-1.44.0-py3-none-any.whl.metadata (11 kB)
Collecting contourpy>=1.0.1 (from matplotlib~=3.0->gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading contourpy-1.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.5 kB)
Collecting cycler>=0.10 (from matplotlib~=3.0->gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib~=3.0->gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading fonttools-4.58.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (106 kB)
Collecting kiwisolver>=1.3.1 (from matplotlib~=3.0->gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading kiwisolver-1.4.8-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (6.2 kB)
Collecting pyparsing>=2.3.1 (from matplotlib~=3.0->gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading pyparsing-3.2.3-py3-none-any.whl.metadata (5.0 kB)
Requirement already satisfied: python-dateutil>=2.7 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from matplotlib~=3.0->gradio==4.25.0->gradio[oauth]==4.25.0) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from pandas<3.0,>=1.0->gradio==4.25.0->gradio[oauth]==4.25.0) (2025.2)
Requirement already satisfied: tzdata>=2022.7 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from pandas<3.0,>=1.0->gradio==4.25.0->gradio[oauth]==4.25.0) (2025.2)
Requirement already satisfied: annotated-types>=0.6.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from pydantic>=2.0->gradio==4.25.0->gradio[oauth]==4.25.0) (0.7.0)
Requirement already satisfied: pydantic-core==2.33.2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from pydantic>=2.0->gradio==4.25.0->gradio[oauth]==4.25.0) (2.33.2)
Requirement already satisfied: typing-inspection>=0.4.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from pydantic>=2.0->gradio==4.25.0->gradio[oauth]==4.25.0) (0.4.1)
Requirement already satisfied: anyio<5,>=3.4.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from starlette<0.39.0,>=0.37.2->fastapi<0.113.0) (4.9.0)
Requirement already satisfied: exceptiongroup>=1.0.2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette<0.39.0,>=0.37.2->fastapi<0.113.0) (1.3.0)
Requirement already satisfied: idna>=2.8 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette<0.39.0,>=0.37.2->fastapi<0.113.0) (3.10)
Requirement already satisfied: sniffio>=1.1 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette<0.39.0,>=0.37.2->fastapi<0.113.0) (1.3.1)
Requirement already satisfied: click>=8.0.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from typer<1.0,>=0.9->typer[all]<1.0,>=0.9; sys_platform != "emscripten"->gradio==4.25.0->gradio[oauth]==4.25.0) (8.0.4)
Requirement already satisfied: shellingham>=1.3.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from typer<1.0,>=0.9->typer[all]<1.0,>=0.9; sys_platform != "emscripten"->gradio==4.25.0->gradio[oauth]==4.25.0) (1.5.4)
Requirement already satisfied: rich>=10.11.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from typer<1.0,>=0.9->typer[all]<1.0,>=0.9; sys_platform != "emscripten"->gradio==4.25.0->gradio[oauth]==4.25.0) (14.0.0)
WARNING: typer 0.16.0 does not provide the extra 'all'
Requirement already satisfied: h11>=0.8 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from uvicorn>=0.14.0) (0.16.0)
Collecting psutil<6,>=2 (from spaces)
Downloading psutil-5.9.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (21 kB)
Requirement already satisfied: requests<3.0,>=2.19 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from spaces) (2.32.4)
Requirement already satisfied: charset_normalizer<4,>=2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests<3.0,>=2.19->spaces) (3.4.2)
Requirement already satisfied: urllib3<3,>=1.21.1 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests<3.0,>=2.19->spaces) (2.5.0)
Requirement already satisfied: certifi>=2017.4.17 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from requests<3.0,>=2.19->spaces) (2025.6.15)
Requirement already satisfied: httpcore==1.* in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from httpx>=0.24.1->gradio==4.25.0->gradio[oauth]==4.25.0) (1.0.9)
Requirement already satisfied: filelock in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from huggingface-hub>=0.19.3->gradio==4.25.0->gradio[oauth]==4.25.0) (3.18.0)
Requirement already satisfied: tqdm>=4.42.1 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from huggingface-hub>=0.19.3->gradio==4.25.0->gradio[oauth]==4.25.0) (4.67.1)
Requirement already satisfied: hf-xet<2.0.0,>=1.1.2 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from huggingface-hub>=0.19.3->gradio==4.25.0->gradio[oauth]==4.25.0) (1.1.5)
Requirement already satisfied: attrs>=22.2.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.25.0->gradio[oauth]==4.25.0) (25.3.0)
Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading jsonschema_specifications-2025.4.1-py3-none-any.whl.metadata (2.9 kB)
Collecting referencing>=0.28.4 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading referencing-0.36.2-py3-none-any.whl.metadata (2.8 kB)
Collecting rpds-py>=0.7.1 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.25.0->gradio[oauth]==4.25.0)
Downloading rpds_py-0.25.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB)
Requirement already satisfied: six>=1.5 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib~=3.0->gradio==4.25.0->gradio[oauth]==4.25.0) (1.17.0)
Requirement already satisfied: markdown-it-py>=2.2.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from rich>=10.11.0->typer<1.0,>=0.9->typer[all]<1.0,>=0.9; sys_platform != "emscripten"->gradio==4.25.0->gradio[oauth]==4.25.0) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from rich>=10.11.0->typer<1.0,>=0.9->typer[all]<1.0,>=0.9; sys_platform != "emscripten"->gradio==4.25.0->gradio[oauth]==4.25.0) (2.19.2)
Requirement already satisfied: mdurl~=0.1 in /home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0,>=0.9->typer[all]<1.0,>=0.9; sys_platform != "emscripten"->gradio==4.25.0->gradio[oauth]==4.25.0) (0.1.2)
Collecting cryptography (from authlib->gradio[oauth]==4.25.0)
Downloading cryptography-45.0.4-cp37-abi3-manylinux_2_34_x86_64.whl.metadata (5.7 kB)
Collecting cffi>=1.14 (from cryptography->authlib->gradio[oauth]==4.25.0)
Downloading cffi-1.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.14->cryptography->authlib->gradio[oauth]==4.25.0)
Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading gradio-4.25.0-py3-none-any.whl (17.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 183.0 MB/s eta 0:00:00
Downloading gradio_client-0.15.0-py3-none-any.whl (313 kB)
Downloading tomlkit-0.12.0-py3-none-any.whl (37 kB)
Downloading fastapi-0.112.4-py3-none-any.whl (93 kB)
Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)
Downloading altair-5.5.0-py3-none-any.whl (731 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 731.2/731.2 kB 893.4 MB/s eta 0:00:00
Downloading importlib_resources-6.5.2-py3-none-any.whl (37 kB)
Downloading MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Downloading matplotlib-3.10.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.6/8.6 MB 376.1 MB/s eta 0:00:00
Downloading numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 519.5 MB/s eta 0:00:00
Downloading pillow-10.4.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 109.1 MB/s eta 0:00:00
Downloading starlette-0.38.6-py3-none-any.whl (71 kB)
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)
Downloading spaces-0.37.1-py3-none-any.whl (31 kB)
Downloading psutil-5.9.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (288 kB)
Downloading contourpy-1.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (325 kB)
Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)
Downloading fonttools-4.58.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 501.0 MB/s eta 0:00:00
Downloading jsonschema-4.24.0-py3-none-any.whl (88 kB)
Downloading jsonschema_specifications-2025.4.1-py3-none-any.whl (18 kB)
Downloading kiwisolver-1.4.8-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 639.3 MB/s eta 0:00:00
Downloading narwhals-1.44.0-py3-none-any.whl (365 kB)
Downloading pyparsing-3.2.3-py3-none-any.whl (111 kB)
Downloading referencing-0.36.2-py3-none-any.whl (26 kB)
Downloading rpds_py-0.25.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (386 kB)
Downloading authlib-1.6.0-py2.py3-none-any.whl (239 kB)
Downloading cryptography-45.0.4-cp37-abi3-manylinux_2_34_x86_64.whl (4.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 519.7 MB/s eta 0:00:00
Downloading cffi-1.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (446 kB)
Downloading itsdangerous-2.2.0-py3-none-any.whl (16 kB)
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
Installing collected packages: websockets, tomlkit, rpds-py, pyparsing, pycparser, psutil, pillow, numpy, narwhals, markupsafe, kiwisolver, itsdangerous, importlib-resources, fonttools, cycler, aiofiles, referencing, contourpy, cffi, starlette, matplotlib, jsonschema-specifications, cryptography, jsonschema, gradio-client, fastapi, authlib, altair, gradio, spaces
Attempting uninstall: websockets
Found existing installation: websockets 15.0.1
Uninstalling websockets-15.0.1:
Successfully uninstalled websockets-15.0.1
Attempting uninstall: tomlkit
Found existing installation: tomlkit 0.13.3
Uninstalling tomlkit-0.13.3:
Successfully uninstalled tomlkit-0.13.3
Attempting uninstall: pillow
Found existing installation: pillow 11.2.1
Uninstalling pillow-11.2.1:
Successfully uninstalled pillow-11.2.1
Attempting uninstall: numpy
Found existing installation: numpy 2.2.6
Uninstalling numpy-2.2.6:
Successfully uninstalled numpy-2.2.6
Attempting uninstall: markupsafe
Found existing installation: MarkupSafe 3.0.2
Uninstalling MarkupSafe-3.0.2:
Successfully uninstalled MarkupSafe-3.0.2
Attempting uninstall: aiofiles
Found existing installation: aiofiles 24.1.0
Uninstalling aiofiles-24.1.0:
Successfully uninstalled aiofiles-24.1.0
Attempting uninstall: starlette
Found existing installation: starlette 0.46.2
Uninstalling starlette-0.46.2:
Successfully uninstalled starlette-0.46.2
Attempting uninstall: gradio-client
Found existing installation: gradio_client 1.10.3
Uninstalling gradio_client-1.10.3:
Successfully uninstalled gradio_client-1.10.3
Attempting uninstall: fastapi
Found existing installation: fastapi 0.115.13
Uninstalling fastapi-0.115.13:
Successfully uninstalled fastapi-0.115.13
Attempting uninstall: gradio
Found existing installation: gradio 5.34.2
Uninstalling gradio-5.34.2:
Successfully uninstalled gradio-5.34.2
Successfully installed aiofiles-23.2.1 altair-5.5.0 authlib-1.6.0 cffi-1.17.1 contourpy-1.3.2 cryptography-45.0.4 cycler-0.12.1 fastapi-0.112.4 fonttools-4.58.4 gradio-4.25.0 gradio-client-0.15.0 importlib-resources-6.5.2 itsdangerous-2.2.0 jsonschema-4.24.0 jsonschema-specifications-2025.4.1 kiwisolver-1.4.8 markupsafe-2.1.5 matplotlib-3.10.3 narwhals-1.44.0 numpy-1.26.4 pillow-10.4.0 psutil-5.9.8 pycparser-2.22 pyparsing-3.2.3 referencing-0.36.2 rpds-py-0.25.1 spaces-0.37.1 starlette-0.38.6 tomlkit-0.12.0 websockets-11.0.3
DONE 12.7s
--> COPY --link --chown=1000 ./ /home/user/app
DONE 0.0s
--> RUN pip freeze > /tmp/freeze.txt
DONE 0.5s
--> COPY --from=pipfreeze --link --chown=1000 /tmp/freeze.txt /tmp/freeze.txt
DONE 0.0s
--> Pushing image
DONE 25.4s
--> Exporting cache
DONE 3.8s
System Info
OS: Ubuntu 22.04 (Docker base)
CUDA: 12.3.2
Python: 3.10.18 (via pyenv)
torch==2.1.0
diffusers==0.24.0
transformers==4.36.2
Running inside Hugging Face Space (Docker mode)
Who can help?
No response