501- Unauthorized Error

Hi there, there’s some kind of internal error happening on huggingface spaces, i cant really say much more than that , the build is fine , but doesnt push the image , then returns a 500 or 501 error , it’s quite unclear .

--> Pushing image

--> ERROR: failed to push spaces-registry.huggingface.tech/spaces/68009ec83650d2448d20a8fc:cpu-f4ae83d-3cq2vmq5: unexpected status from HEAD request to https://spaces-registry.huggingface.tech/v2/spaces/68009ec83650d2448d20a8fc/manifests/cpu-f4ae83d-3cq2vmq5: 401 Unauthorized

source : Native 1-bit LLM - a Hugging Face Space by Tonic

it’s on a free spaces , normally it should render , actually an identical version of this in a private space renders , so i’m quite sure it could be a server side issue .

hope this helps !

It’s not just you. I’m getting the same issue and so are the people here: My Space suddenly went offline. The CPU cannot restart - #12 by nolanzandi

hysts seems to have contacted the HF team, so I think it will probably be okay, but we’ve never seen this error before…

Here is a more complete log in case it can help :


===== Build Queued at 2025-04-19 05:56:14 / Commit SHA: f4ae83d =====

--> FROM docker.io/library/python:3.10@sha256:e2c7fb05741c735679b26eda7dd34575151079f8c615875fbefe401972b14d85
....
--> 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
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [512 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [255 kB]
Fetched 9303 kB in 1s (10.3 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (7.88.1-10+deb12u12).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
2025-04-19 07:57:06 - Installing pre-requisites
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
ca-certificates is already the newest version (20230311).
curl is already the newest version (7.88.1-10+deb12u12).
gnupg is already the newest version (2.2.40-1.1).
The following NEW packages will be installed:
  apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 25.2 kB of archives.
After this operation, 35.8 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 apt-transport-https all 2.6.1 [25.2 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 25.2 kB in 0s (1720 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29634 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.6.1_all.deb ...
Unpacking apt-transport-https (2.6.1) ...
Setting up apt-transport-https (2.6.1) ...
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [10.9 kB]
Fetched 23.0 kB in 0s (102 kB/s)
Reading package lists...
2025-04-19 07:57:08 - Repository configured successfully.
2025-04-19 07:57:08 - To install Node.js, run: apt-get install nodejs -y
2025-04-19 07:57:08 - You can use N|solid Runtime as a node.js alternative
2025-04-19 07:57:08 - To install N|solid Runtime, run: apt-get install nsolid -y 

Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  nodejs
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 32.0 MB of archives.
After this operation, 199 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_20.x nodistro/main amd64 nodejs amd64 20.19.0-1nodesource1 [32.0 MB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 32.0 MB in 0s (119 MB/s)
Selecting previously unselected package nodejs.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29638 files and directories currently installed.)
Preparing to unpack .../nodejs_20.19.0-1nodesource1_amd64.deb ...
Unpacking nodejs (20.19.0-1nodesource1) ...
Setting up nodejs (20.19.0-1nodesource1) ...
DONE 7.0s

--> RUN --mount=target=/tmp/requirements.txt,source=requirements.txt     pip install --no-cache-dir -r /tmp/requirements.txt
Collecting git+https://github.com/shumingma/transformers.git (from -r /tmp/requirements.txt (line 2))
  Cloning https://github.com/shumingma/transformers.git to /tmp/pip-req-build-usvx77zt
  Running command git clone --filter=blob:none --quiet https://github.com/shumingma/transformers.git /tmp/pip-req-build-usvx77zt
  Resolved https://github.com/shumingma/transformers.git to commit 4a01efe84d0120dc2545ff2de445082400d87407
  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 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting torch (from -r /tmp/requirements.txt (line 1))
  Downloading torch-2.6.0-cp310-cp310-manylinux1_x86_64.whl.metadata (28 kB)
Collecting accelerate (from -r /tmp/requirements.txt (line 3))
  Downloading accelerate-1.6.0-py3-none-any.whl.metadata (19 kB)
Requirement already satisfied: filelock in /usr/local/lib/python3.10/site-packages (from torch->-r /tmp/requirements.txt (line 1)) (3.18.0)
Requirement already satisfied: typing-extensions>=4.10.0 in /usr/local/lib/python3.10/site-packages (from torch->-r /tmp/requirements.txt (line 1)) (4.13.2)
Collecting networkx (from torch->-r /tmp/requirements.txt (line 1))
  Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
Collecting jinja2 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
Requirement already satisfied: fsspec in /usr/local/lib/python3.10/site-packages (from torch->-r /tmp/requirements.txt (line 1)) (2024.12.0)
Collecting nvidia-cuda-nvrtc-cu12==12.4.127 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading nvidia_cuda_nvrtc_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cuda-runtime-cu12==12.4.127 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading nvidia_cuda_runtime_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cuda-cupti-cu12==12.4.127 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading nvidia_cuda_cupti_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cudnn-cu12==9.1.0.70 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cublas-cu12==12.4.5.8 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading nvidia_cublas_cu12-12.4.5.8-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cufft-cu12==11.2.1.3 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading nvidia_cufft_cu12-11.2.1.3-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-curand-cu12==10.3.5.147 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading nvidia_curand_cu12-10.3.5.147-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting nvidia-cusolver-cu12==11.6.1.9 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading nvidia_cusolver_cu12-11.6.1.9-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cusparse-cu12==12.3.1.170 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading nvidia_cusparse_cu12-12.3.1.170-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB)
Collecting nvidia-cusparselt-cu12==0.6.2 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading nvidia_cusparselt_cu12-0.6.2-py3-none-manylinux2014_x86_64.whl.metadata (6.8 kB)
Collecting nvidia-nccl-cu12==2.21.5 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading nvidia_nccl_cu12-2.21.5-py3-none-manylinux2014_x86_64.whl.metadata (1.8 kB)
Collecting nvidia-nvtx-cu12==12.4.127 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading nvidia_nvtx_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.7 kB)
Collecting nvidia-nvjitlink-cu12==12.4.127 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading nvidia_nvjitlink_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting triton==3.2.0 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading triton-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.4 kB)
Collecting sympy==1.13.1 (from torch->-r /tmp/requirements.txt (line 1))
  Downloading sympy-1.13.1-py3-none-any.whl.metadata (12 kB)
Collecting mpmath<1.4,>=1.1.0 (from sympy==1.13.1->torch->-r /tmp/requirements.txt (line 1))
  Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Requirement already satisfied: huggingface-hub<1.0,>=0.30.0 in /usr/local/lib/python3.10/site-packages (from transformers==4.52.0.dev0->-r /tmp/requirements.txt (line 2)) (0.30.2)
Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/site-packages (from transformers==4.52.0.dev0->-r /tmp/requirements.txt (line 2)) (2.2.4)
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/site-packages (from transformers==4.52.0.dev0->-r /tmp/requirements.txt (line 2)) (24.2)
Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/site-packages (from transformers==4.52.0.dev0->-r /tmp/requirements.txt (line 2)) (6.0.2)
Collecting regex!=2019.12.17 (from transformers==4.52.0.dev0->-r /tmp/requirements.txt (line 2))
  Downloading regex-2024.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (40 kB)
Requirement already satisfied: requests in /usr/local/lib/python3.10/site-packages (from transformers==4.52.0.dev0->-r /tmp/requirements.txt (line 2)) (2.32.3)
Collecting tokenizers<0.22,>=0.21 (from transformers==4.52.0.dev0->-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)
Collecting safetensors>=0.4.3 (from transformers==4.52.0.dev0->-r /tmp/requirements.txt (line 2))
  Downloading safetensors-0.5.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.8 kB)
Requirement already satisfied: tqdm>=4.27 in /usr/local/lib/python3.10/site-packages (from transformers==4.52.0.dev0->-r /tmp/requirements.txt (line 2)) (4.67.1)
Collecting psutil (from accelerate->-r /tmp/requirements.txt (line 3))
  Downloading psutil-7.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (22 kB)
Collecting MarkupSafe>=2.0 (from jinja2->torch->-r /tmp/requirements.txt (line 1))
  Downloading MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/site-packages (from requests->transformers==4.52.0.dev0->-r /tmp/requirements.txt (line 2)) (3.4.1)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/site-packages (from requests->transformers==4.52.0.dev0->-r /tmp/requirements.txt (line 2)) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/site-packages (from requests->transformers==4.52.0.dev0->-r /tmp/requirements.txt (line 2)) (2.4.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/site-packages (from requests->transformers==4.52.0.dev0->-r /tmp/requirements.txt (line 2)) (2025.1.31)
Downloading torch-2.6.0-cp310-cp310-manylinux1_x86_64.whl (766.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 766.7/766.7 MB 372.5 MB/s eta 0:00:00
Downloading nvidia_cublas_cu12-12.4.5.8-py3-none-manylinux2014_x86_64.whl (363.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 363.4/363.4 MB 377.5 MB/s eta 0:00:00
Downloading nvidia_cuda_cupti_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (13.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.8/13.8 MB 441.2 MB/s eta 0:00:00
Downloading nvidia_cuda_nvrtc_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (24.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.6/24.6 MB 424.7 MB/s eta 0:00:00
Downloading nvidia_cuda_runtime_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (883 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 883.7/883.7 kB 978.3 MB/s eta 0:00:00
Downloading nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl (664.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 664.8/664.8 MB 450.0 MB/s eta 0:00:00
Downloading nvidia_cufft_cu12-11.2.1.3-py3-none-manylinux2014_x86_64.whl (211.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 211.5/211.5 MB 465.9 MB/s eta 0:00:00
Downloading nvidia_curand_cu12-10.3.5.147-py3-none-manylinux2014_x86_64.whl (56.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 MB 511.0 MB/s eta 0:00:00
Downloading nvidia_cusolver_cu12-11.6.1.9-py3-none-manylinux2014_x86_64.whl (127.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 127.9/127.9 MB 514.7 MB/s eta 0:00:00
Downloading nvidia_cusparse_cu12-12.3.1.170-py3-none-manylinux2014_x86_64.whl (207.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.5/207.5 MB 521.0 MB/s eta 0:00:00
Downloading nvidia_cusparselt_cu12-0.6.2-py3-none-manylinux2014_x86_64.whl (150.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 150.1/150.1 MB 489.6 MB/s eta 0:00:00
Downloading nvidia_nccl_cu12-2.21.5-py3-none-manylinux2014_x86_64.whl (188.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 188.7/188.7 MB 529.8 MB/s eta 0:00:00
Downloading nvidia_nvjitlink_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (21.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.1/21.1 MB 532.1 MB/s eta 0:00:00
Downloading nvidia_nvtx_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl (99 kB)
Downloading sympy-1.13.1-py3-none-any.whl (6.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.2/6.2 MB 582.6 MB/s eta 0:00:00
Downloading triton-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (253.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.1/253.1 MB 350.4 MB/s eta 0:00:00
Downloading accelerate-1.6.0-py3-none-any.whl (354 kB)
Downloading regex-2024.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (781 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 781.7/781.7 kB 1.0 GB/s eta 0:00:00
Downloading safetensors-0.5.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (471 kB)
Downloading tokenizers-0.21.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 434.9 MB/s eta 0:00:00
Downloading jinja2-3.1.6-py3-none-any.whl (134 kB)
Downloading networkx-3.4.2-py3-none-any.whl (1.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 452.9 MB/s eta 0:00:00
Downloading psutil-7.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (277 kB)
Downloading MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20 kB)
Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 834.7 MB/s eta 0:00:00
Building wheels for collected packages: transformers
  Building wheel for transformers (pyproject.toml): started
  Building wheel for transformers (pyproject.toml): finished with status 'done'
  Created wheel for transformers: filename=transformers-4.52.0.dev0-py3-none-any.whl size=11413940 sha256=b490529b02c1f9ece21ae8532a1768dbefbac71ef8c0f06e26e038288edd78a7
  Stored in directory: /tmp/pip-ephem-wheel-cache-mx93xnvj/wheels/89/35/bb/fc7e028ddbbdfa31d65bcf55ed0f86a723597c0eccfa46e6c8
Successfully built transformers
Installing collected packages: triton, nvidia-cusparselt-cu12, mpmath, sympy, safetensors, regex, psutil, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, networkx, MarkupSafe, nvidia-cusparse-cu12, nvidia-cudnn-cu12, jinja2, tokenizers, nvidia-cusolver-cu12, transformers, torch, accelerate
Successfully installed MarkupSafe-3.0.2 accelerate-1.6.0 jinja2-3.1.6 mpmath-1.3.0 networkx-3.4.2 nvidia-cublas-cu12-12.4.5.8 nvidia-cuda-cupti-cu12-12.4.127 nvidia-cuda-nvrtc-cu12-12.4.127 nvidia-cuda-runtime-cu12-12.4.127 nvidia-cudnn-cu12-9.1.0.70 nvidia-cufft-cu12-11.2.1.3 nvidia-curand-cu12-10.3.5.147 nvidia-cusolver-cu12-11.6.1.9 nvidia-cusparse-cu12-12.3.1.170 nvidia-cusparselt-cu12-0.6.2 nvidia-nccl-cu12-2.21.5 nvidia-nvjitlink-cu12-12.4.127 nvidia-nvtx-cu12-12.4.127 psutil-7.0.0 regex-2024.11.6 safetensors-0.5.3 sympy-1.13.1 tokenizers-0.21.1 torch-2.6.0 transformers-4.52.0.dev0 triton-3.2.0
DONE 69.1s

--> RUN pip install --no-cache-dir 	gradio[oauth]==5.25.2 	"uvicorn>=0.14.0" 	spaces
Collecting gradio==5.25.2 (from gradio[oauth]==5.25.2)
  Downloading gradio-5.25.2-py3-none-any.whl.metadata (16 kB)
Collecting uvicorn>=0.14.0
  Downloading uvicorn-0.34.1-py3-none-any.whl.metadata (6.5 kB)
Collecting spaces
  Downloading spaces-0.35.0-py3-none-any.whl.metadata (1.0 kB)
Collecting aiofiles<25.0,>=22.0 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading aiofiles-24.1.0-py3-none-any.whl.metadata (10 kB)
Collecting anyio<5.0,>=3.0 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading anyio-4.9.0-py3-none-any.whl.metadata (4.7 kB)
Collecting fastapi<1.0,>=0.115.2 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading fastapi-0.115.12-py3-none-any.whl.metadata (27 kB)
Collecting ffmpy (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading ffmpy-0.5.0-py3-none-any.whl.metadata (3.0 kB)
Collecting gradio-client==1.8.0 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading gradio_client-1.8.0-py3-none-any.whl.metadata (7.1 kB)
Collecting groovy~=0.1 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading groovy-0.1.2-py3-none-any.whl.metadata (6.1 kB)
Collecting httpx>=0.24.1 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading httpx-0.28.1-py3-none-any.whl.metadata (7.1 kB)
Requirement already satisfied: huggingface-hub>=0.28.1 in /usr/local/lib/python3.10/site-packages (from gradio==5.25.2->gradio[oauth]==5.25.2) (0.30.2)
Requirement already satisfied: jinja2<4.0 in /usr/local/lib/python3.10/site-packages (from gradio==5.25.2->gradio[oauth]==5.25.2) (3.1.6)
Requirement already satisfied: markupsafe<4.0,>=2.0 in /usr/local/lib/python3.10/site-packages (from gradio==5.25.2->gradio[oauth]==5.25.2) (3.0.2)
Requirement already satisfied: numpy<3.0,>=1.0 in /usr/local/lib/python3.10/site-packages (from gradio==5.25.2->gradio[oauth]==5.25.2) (2.2.4)
Collecting orjson~=3.0 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading orjson-3.10.16-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (41 kB)
Requirement already satisfied: packaging in /usr/local/lib/python3.10/site-packages (from gradio==5.25.2->gradio[oauth]==5.25.2) (24.2)
Requirement already satisfied: pandas<3.0,>=1.0 in /usr/local/lib/python3.10/site-packages (from gradio==5.25.2->gradio[oauth]==5.25.2) (2.2.3)
Collecting pillow<12.0,>=8.0 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading pillow-11.2.1-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (8.9 kB)
Collecting pydantic<2.12,>=2.0 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading pydantic-2.11.3-py3-none-any.whl.metadata (65 kB)
Collecting pydub (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting python-multipart>=0.0.18 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading python_multipart-0.0.20-py3-none-any.whl.metadata (1.8 kB)
Requirement already satisfied: pyyaml<7.0,>=5.0 in /usr/local/lib/python3.10/site-packages (from gradio==5.25.2->gradio[oauth]==5.25.2) (6.0.2)
Collecting ruff>=0.9.3 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading ruff-0.11.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (25 kB)
Collecting safehttpx<0.2.0,>=0.1.6 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading safehttpx-0.1.6-py3-none-any.whl.metadata (4.2 kB)
Collecting semantic-version~=2.0 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)
Collecting starlette<1.0,>=0.40.0 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading starlette-0.46.2-py3-none-any.whl.metadata (6.2 kB)
Collecting tomlkit<0.14.0,>=0.12.0 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading tomlkit-0.13.2-py3-none-any.whl.metadata (2.7 kB)
Collecting typer<1.0,>=0.12 (from gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading typer-0.15.2-py3-none-any.whl.metadata (15 kB)
Requirement already satisfied: typing-extensions~=4.0 in /usr/local/lib/python3.10/site-packages (from gradio==5.25.2->gradio[oauth]==5.25.2) (4.13.2)
Collecting authlib (from gradio[oauth]==5.25.2)
  Downloading authlib-1.5.2-py2.py3-none-any.whl.metadata (3.9 kB)
Collecting itsdangerous (from gradio[oauth]==5.25.2)
  Downloading itsdangerous-2.2.0-py3-none-any.whl.metadata (1.9 kB)
Requirement already satisfied: fsspec in /usr/local/lib/python3.10/site-packages (from gradio-client==1.8.0->gradio==5.25.2->gradio[oauth]==5.25.2) (2024.12.0)
Collecting websockets<16.0,>=10.0 (from gradio-client==1.8.0->gradio==5.25.2->gradio[oauth]==5.25.2)
  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)
Requirement already satisfied: click>=7.0 in /usr/local/lib/python3.10/site-packages (from uvicorn>=0.14.0) (8.0.4)
Collecting h11>=0.8 (from uvicorn>=0.14.0)
  Downloading h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
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 /usr/local/lib/python3.10/site-packages (from spaces) (2.32.3)
Collecting exceptiongroup>=1.0.2 (from anyio<5.0,>=3.0->gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading exceptiongroup-1.2.2-py3-none-any.whl.metadata (6.6 kB)
Requirement already satisfied: idna>=2.8 in /usr/local/lib/python3.10/site-packages (from anyio<5.0,>=3.0->gradio==5.25.2->gradio[oauth]==5.25.2) (3.10)
Collecting sniffio>=1.1 (from anyio<5.0,>=3.0->gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Requirement already satisfied: certifi in /usr/local/lib/python3.10/site-packages (from httpx>=0.24.1->gradio==5.25.2->gradio[oauth]==5.25.2) (2025.1.31)
Collecting httpcore==1.* (from httpx>=0.24.1->gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading httpcore-1.0.8-py3-none-any.whl.metadata (21 kB)
Requirement already satisfied: filelock in /usr/local/lib/python3.10/site-packages (from huggingface-hub>=0.28.1->gradio==5.25.2->gradio[oauth]==5.25.2) (3.18.0)
Requirement already satisfied: tqdm>=4.42.1 in /usr/local/lib/python3.10/site-packages (from huggingface-hub>=0.28.1->gradio==5.25.2->gradio[oauth]==5.25.2) (4.67.1)
Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/lib/python3.10/site-packages (from pandas<3.0,>=1.0->gradio==5.25.2->gradio[oauth]==5.25.2) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/site-packages (from pandas<3.0,>=1.0->gradio==5.25.2->gradio[oauth]==5.25.2) (2025.2)
Requirement already satisfied: tzdata>=2022.7 in /usr/local/lib/python3.10/site-packages (from pandas<3.0,>=1.0->gradio==5.25.2->gradio[oauth]==5.25.2) (2025.2)
Collecting annotated-types>=0.6.0 (from pydantic<2.12,>=2.0->gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
Collecting pydantic-core==2.33.1 (from pydantic<2.12,>=2.0->gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading pydantic_core-2.33.1-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==5.25.2->gradio[oauth]==5.25.2)
  Downloading typing_inspection-0.4.0-py3-none-any.whl.metadata (2.6 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/site-packages (from requests<3.0,>=2.19->spaces) (3.4.1)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/site-packages (from requests<3.0,>=2.19->spaces) (2.4.0)
Collecting shellingham>=1.3.0 (from typer<1.0,>=0.12->gradio==5.25.2->gradio[oauth]==5.25.2)
  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==5.25.2->gradio[oauth]==5.25.2)
  Downloading rich-14.0.0-py3-none-any.whl.metadata (18 kB)
Collecting cryptography (from authlib->gradio[oauth]==5.25.2)
  Downloading cryptography-44.0.2-cp39-abi3-manylinux_2_34_x86_64.whl.metadata (5.7 kB)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/site-packages (from python-dateutil>=2.8.2->pandas<3.0,>=1.0->gradio==5.25.2->gradio[oauth]==5.25.2) (1.17.0)
Collecting markdown-it-py>=2.2.0 (from rich>=10.11.0->typer<1.0,>=0.12->gradio==5.25.2->gradio[oauth]==5.25.2)
  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==5.25.2->gradio[oauth]==5.25.2)
  Downloading pygments-2.19.1-py3-none-any.whl.metadata (2.5 kB)
Collecting cffi>=1.12 (from cryptography->authlib->gradio[oauth]==5.25.2)
  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.12->cryptography->authlib->gradio[oauth]==5.25.2)
  Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0,>=0.12->gradio==5.25.2->gradio[oauth]==5.25.2)
  Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Downloading gradio-5.25.2-py3-none-any.whl (46.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.9/46.9 MB 274.8 MB/s eta 0:00:00
Downloading gradio_client-1.8.0-py3-none-any.whl (322 kB)
Downloading uvicorn-0.34.1-py3-none-any.whl (62 kB)
Downloading spaces-0.35.0-py3-none-any.whl (30 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.12-py3-none-any.whl (95 kB)
Downloading groovy-0.1.2-py3-none-any.whl (14 kB)
Downloading h11-0.14.0-py3-none-any.whl (58 kB)
Downloading httpx-0.28.1-py3-none-any.whl (73 kB)
Downloading httpcore-1.0.8-py3-none-any.whl (78 kB)
Downloading orjson-3.10.16-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 440.7 MB/s eta 0:00:00
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 pydantic-2.11.3-py3-none-any.whl (443 kB)
Downloading pydantic_core-2.33.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 710.7 MB/s eta 0:00:00
Downloading python_multipart-0.0.20-py3-none-any.whl (24 kB)
Downloading ruff-0.11.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.5/11.5 MB 374.6 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.2-py3-none-any.whl (37 kB)
Downloading typer-0.15.2-py3-none-any.whl (45 kB)
Downloading authlib-1.5.2-py2.py3-none-any.whl (232 kB)
Downloading ffmpy-0.5.0-py3-none-any.whl (6.0 kB)
Downloading itsdangerous-2.2.0-py3-none-any.whl (16 kB)
Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Downloading annotated_types-0.7.0-py3-none-any.whl (13 kB)
Downloading exceptiongroup-1.2.2-py3-none-any.whl (16 kB)
Downloading rich-14.0.0-py3-none-any.whl (243 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 typing_inspection-0.4.0-py3-none-any.whl (14 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 cryptography-44.0.2-cp39-abi3-manylinux_2_34_x86_64.whl (4.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 700.8 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 markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Downloading pygments-2.19.1-py3-none-any.whl (1.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 935.4 MB/s eta 0:00:00
Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
Installing collected packages: pydub, websockets, typing-inspection, tomlkit, sniffio, shellingham, semantic-version, ruff, python-multipart, pygments, pydantic-core, pycparser, psutil, pillow, orjson, mdurl, itsdangerous, h11, groovy, ffmpy, exceptiongroup, annotated-types, aiofiles, uvicorn, pydantic, markdown-it-py, httpcore, cffi, anyio, starlette, rich, httpx, cryptography, typer, safehttpx, gradio-client, fastapi, authlib, gradio, spaces
  Attempting uninstall: psutil
    Found existing installation: psutil 7.0.0
    Uninstalling psutil-7.0.0:
      Successfully uninstalled psutil-7.0.0
  Attempting uninstall: pydantic
    Found existing installation: pydantic 1.10.21
    Uninstalling pydantic-1.10.21:
      Successfully uninstalled pydantic-1.10.21
Successfully installed aiofiles-24.1.0 annotated-types-0.7.0 anyio-4.9.0 authlib-1.5.2 cffi-1.17.1 cryptography-44.0.2 exceptiongroup-1.2.2 fastapi-0.115.12 ffmpy-0.5.0 gradio-5.25.2 gradio-client-1.8.0 groovy-0.1.2 h11-0.14.0 httpcore-1.0.8 httpx-0.28.1 itsdangerous-2.2.0 markdown-it-py-3.0.0 mdurl-0.1.2 orjson-3.10.16 pillow-11.2.1 psutil-5.9.8 pycparser-2.22 pydantic-2.11.3 pydantic-core-2.33.1 pydub-0.25.1 pygments-2.19.1 python-multipart-0.0.20 rich-14.0.0 ruff-0.11.6 safehttpx-0.1.6 semantic-version-2.10.0 shellingham-1.5.4 sniffio-1.3.1 spaces-0.35.0 starlette-0.46.2 tomlkit-0.13.2 typer-0.15.2 typing-inspection-0.4.0 uvicorn-0.34.1 websockets-15.0.1
DONE 8.2s

--> COPY --link --chown=1000 ./ /home/user/app
DONE 0.0s

--> RUN pip freeze > /tmp/freeze.txt
DONE 0.4s

--> COPY --from=pipfreeze --link --chown=1000 /tmp/freeze.txt /tmp/freeze.txt
DONE 0.0s

--> Pushing image

--> ERROR: failed to push spaces-registry.huggingface.tech/spaces/68009ec83650d2448d20a8fc:cpu-f4ae83d-3cq2vmq5: unexpected status from HEAD request to https://spaces-registry.huggingface.tech/v2/spaces/68009ec83650d2448d20a8fc/manifests/cpu-f4ae83d-3cq2vmq5: 401 Unauthorized

I also have the same error, everyhing went well and then this build error

Maybe same there…

Facing same issue, but the error code in my case is 401 instead. The error seems be caused from HF side, as I can build and run the docker locally with no errors.

This solution worked for me: My Space suddenly went offline. The CPU cannot restart - #19 by dkondic

There have been reports that it may have been fixed.

Yep, mine as well!