Report: Not working

Job failed with exit code: 1. Reason: cache miss: [base 6/8] RUN --mount=target=/tmp/requirements.txt,source=requirements.txt pip install --no-cache-dir -r /tmp/requirements.txt cache miss: [run 2/2] COPY --from=pipfreeze --link /pipfreeze/ /pipfreeze/ cache miss: [run 2/2] LINK COPY --from=pipfreeze --link /pipfreeze/ /pipfreeze/ cache miss: [run 1/2] LINK COPY --link ./ /app cache miss: [run 1/2] COPY --link ./ /app cache miss: [base 8/8] RUN mkdir -p /home/user && ( [ -e /home/user/app ] || ln -s /app/ /home/user/app ) || true cache miss: [base 7/8] RUN pip install --no-cache-dir gradio[oauth,mcp]==6.0.2 “uvicorn>=0.14.0” spaces cache miss: [pipfreeze 1/2] RUN mkdir -p /pipfreeze cache miss: [pipfreeze 2/2] RUN pip freeze > /pipfreeze/freeze.txt {“total”:26,“completed”:19,“user_total”:15,“user_cached”:5,“user_completed”:8,“user_cacheable”:14,“from”:1,“miss”:9,“client_duration_ms”:14379}

Build logs:

===== Build Queued at 2025-12-17 23:26:48 / Commit SHA: 60a662a =====

--> FROM docker.io/library/python:3.10@sha256:ad84630de0e8b6f2ee92b4e2996b08c269efa96be13558d0233ed08a0e190606
DONE 0.0s

--> COPY --from=root / /
CACHED

--> WORKDIR /app
CACHED

--> RUN pip install --no-cache-dir pip -U && 	pip install --no-cache-dir 	datasets 	"huggingface-hub>=0.30" "hf-transfer>=0.1.4" "protobuf<4" "click<8.1" "pydantic~=1.0"
CACHED

--> RUN apt-get update && apt-get install -y 	git 	git-lfs 	ffmpeg 	libsm6 	libxext6 	cmake 	rsync 	libgl1 	&& rm -rf /var/lib/apt/lists/* 	&& git lfs install
CACHED

--> RUN 	apt-get update && 	apt-get install -y curl && 	curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && 	apt-get install -y nodejs && 	rm -rf /var/lib/apt/lists/* && apt-get clean
CACHED

--> Restoring cache
DONE 10.5s

--> RUN --mount=target=/tmp/requirements.txt,source=requirements.txt     pip install --no-cache-dir -r /tmp/requirements.txt
Requirement already satisfied: numpy in /usr/local/lib/python3.10/site-packages (from -r /tmp/requirements.txt (line 1)) (2.2.6)
Collecting torch (from -r /tmp/requirements.txt (line 2))
  Downloading torch-2.9.1-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (30 kB)
Collecting torchvision (from -r /tmp/requirements.txt (line 3))
  Downloading torchvision-0.24.1-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (5.9 kB)
Collecting torchaudio (from -r /tmp/requirements.txt (line 4))
  Downloading torchaudio-2.9.1-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (6.9 kB)
Collecting Pillow (from -r /tmp/requirements.txt (line 5))
  Downloading pillow-12.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (8.8 kB)
Collecting rudalle (from -r /tmp/requirements.txt (line 6))
  Downloading rudalle-1.1.3-py3-none-any.whl.metadata (7.1 kB)
Collecting gradio>=6.0 (from -r /tmp/requirements.txt (line 7))
  Downloading gradio-6.1.0-py3-none-any.whl.metadata (16 kB)
Requirement already satisfied: requests in /usr/local/lib/python3.10/site-packages (from -r /tmp/requirements.txt (line 8)) (2.32.5)
Collecting transformers (from -r /tmp/requirements.txt (line 9))
  Downloading transformers-4.57.3-py3-none-any.whl.metadata (43 kB)
Collecting diffusers (from -r /tmp/requirements.txt (line 10))
  Downloading diffusers-0.36.0-py3-none-any.whl.metadata (20 kB)
Collecting sentencepiece (from -r /tmp/requirements.txt (line 11))
  Downloading sentencepiece-0.2.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (10 kB)
Collecting accelerate (from -r /tmp/requirements.txt (line 12))
  Downloading accelerate-1.12.0-py3-none-any.whl.metadata (19 kB)
Collecting tokenizers (from -r /tmp/requirements.txt (line 13))
  Downloading tokenizers-0.22.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
Requirement already satisfied: tqdm in /usr/local/lib/python3.10/site-packages (from -r /tmp/requirements.txt (line 14)) (4.67.1)
Collecting matplotlib (from -r /tmp/requirements.txt (line 15))
  Downloading matplotlib-3.10.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (52 kB)
Collecting opencv-python (from -r /tmp/requirements.txt (line 16))
  Downloading opencv_python-4.12.0.88-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (19 kB)
Collecting scipy (from -r /tmp/requirements.txt (line 17))
  Downloading scipy-1.15.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
Requirement already satisfied: filelock in /usr/local/lib/python3.10/site-packages (from torch->-r /tmp/requirements.txt (line 2)) (3.20.1)
Requirement already satisfied: typing-extensions>=4.10.0 in /usr/local/lib/python3.10/site-packages (from torch->-r /tmp/requirements.txt (line 2)) (4.15.0)
Collecting sympy>=1.13.3 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading sympy-1.14.0-py3-none-any.whl.metadata (12 kB)
Collecting networkx>=2.5.1 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
Collecting jinja2 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
Requirement already satisfied: fsspec>=0.8.5 in /usr/local/lib/python3.10/site-packages (from torch->-r /tmp/requirements.txt (line 2)) (2025.10.0)
Collecting nvidia-cuda-nvrtc-cu12==12.8.93 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_cuda_nvrtc_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl.metadata (1.7 kB)
Collecting nvidia-cuda-runtime-cu12==12.8.90 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_cuda_runtime_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.7 kB)
Collecting nvidia-cuda-cupti-cu12==12.8.90 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_cuda_cupti_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.7 kB)
Collecting nvidia-cudnn-cu12==9.10.2.21 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_cudnn_cu12-9.10.2.21-py3-none-manylinux_2_27_x86_64.whl.metadata (1.8 kB)
Collecting nvidia-cublas-cu12==12.8.4.1 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_cublas_cu12-12.8.4.1-py3-none-manylinux_2_27_x86_64.whl.metadata (1.7 kB)
Collecting nvidia-cufft-cu12==11.3.3.83 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.7 kB)
Collecting nvidia-curand-cu12==10.3.9.90 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_curand_cu12-10.3.9.90-py3-none-manylinux_2_27_x86_64.whl.metadata (1.7 kB)
Collecting nvidia-cusolver-cu12==11.7.3.90 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_x86_64.whl.metadata (1.8 kB)
Collecting nvidia-cusparse-cu12==12.5.8.93 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.8 kB)
Collecting nvidia-cusparselt-cu12==0.7.1 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_cusparselt_cu12-0.7.1-py3-none-manylinux2014_x86_64.whl.metadata (7.0 kB)
Collecting nvidia-nccl-cu12==2.27.5 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_nccl_cu12-2.27.5-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.0 kB)
Collecting nvidia-nvshmem-cu12==3.3.20 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_nvshmem_cu12-3.3.20-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.1 kB)
Collecting nvidia-nvtx-cu12==12.8.90 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_nvtx_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.8 kB)
Collecting nvidia-nvjitlink-cu12==12.8.93 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_nvjitlink_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl.metadata (1.7 kB)
Collecting nvidia-cufile-cu12==1.13.1.3 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading nvidia_cufile_cu12-1.13.1.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.7 kB)
Collecting triton==3.5.1 (from torch->-r /tmp/requirements.txt (line 2))
  Downloading triton-3.5.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (1.7 kB)
Collecting taming-transformers==0.0.1 (from rudalle->-r /tmp/requirements.txt (line 6))
  Downloading taming_transformers-0.0.1-py3-none-any.whl.metadata (499 bytes)
Collecting more-itertools~=8.12.0 (from rudalle->-r /tmp/requirements.txt (line 6))
  Downloading more_itertools-8.12.0-py3-none-any.whl.metadata (39 kB)
Collecting transformers (from -r /tmp/requirements.txt (line 9))
  Downloading transformers-4.10.3-py3-none-any.whl.metadata (51 kB)
Collecting youtokentome~=1.0.6 (from rudalle->-r /tmp/requirements.txt (line 6))
  Downloading youtokentome-1.0.6.tar.gz (86 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  Ă— Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
        File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
        File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-rij583gz/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
        File "/tmp/pip-build-env-rij583gz/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-rij583gz/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 512, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-rij583gz/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
        File "<string>", line 5, in <module>
      ModuleNotFoundError: No module named 'Cython'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'youtokentome' when getting requirements to build wheel

--> ERROR: process "/bin/sh -c pip install --no-cache-dir -r /tmp/requirements.txt" did not complete successfully: exit code: 1

@John6666

Anycoder D38c0c3f - a Hugging Face Space by Gertie01

1 Like

Looking at the logs, the build for the rudalle dependency failed. This library is so outdated that I think it’s nearly impossible to get it working with the current Gradio Spaces. It’s difficult to make it coexist with newer libraries.

A Docker space might make it work, but I’m not familiar with that…

Also, even if the program runs, the free CPU space won’t have enough performance for image generation. Generating a single image could take tens of minutes… This is the more serious issue.

I suspect that even if this Spaces is programmatically completed for now, it won’t be what you’re hoping for.