Spaces:
Running on Zero
Running on Zero
Pin huggingface_hub/tqdm/transformers: unpinned deps broke startup on rebuild
Browse files- requirements.txt +10 -4
requirements.txt
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
torch
|
| 2 |
torchvision
|
| 3 |
numpy
|
|
@@ -9,10 +15,10 @@ scikit-image
|
|
| 9 |
trimesh
|
| 10 |
roma
|
| 11 |
pyyaml
|
| 12 |
-
tqdm
|
| 13 |
-
huggingface_hub
|
| 14 |
-
transformers
|
| 15 |
imageio
|
| 16 |
imageio-ffmpeg
|
| 17 |
pygltflib
|
| 18 |
-
spaces
|
|
|
|
| 1 |
+
# Pinned 2026-09-04. The Space had no version pins, so every rebuild re-resolved to
|
| 2 |
+
# the latest releases. A rebuild on 2026-09-04 picked up a huggingface_hub / tqdm pair
|
| 3 |
+
# that crashes snapshot_download at startup:
|
| 4 |
+
# ValueError: min() arg is an empty sequence (tqdm.contrib.concurrent._min_map_len)
|
| 5 |
+
# Keep these pinned. transformers must stay on 5.x: the Space runs gradio 6.20, which
|
| 6 |
+
# requires huggingface-hub>=1.2, while transformers 4.x requires huggingface-hub<1.0.
|
| 7 |
torch
|
| 8 |
torchvision
|
| 9 |
numpy
|
|
|
|
| 15 |
trimesh
|
| 16 |
roma
|
| 17 |
pyyaml
|
| 18 |
+
tqdm==4.67.3
|
| 19 |
+
huggingface_hub==1.18.0
|
| 20 |
+
transformers==5.16.1
|
| 21 |
imageio
|
| 22 |
imageio-ffmpeg
|
| 23 |
pygltflib
|
| 24 |
+
spaces==0.51.3
|