Spaces:
Running on Zero
Running on Zero
requirements: resolve on the Space's Python, not the build machine
Browse files- requirements.txt +14 -7
requirements.txt
CHANGED
|
@@ -1,7 +1,14 @@
|
|
| 1 |
-
#
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Minimal constraints. Let pip resolve against the SPACE's Python (3.10), not
|
| 2 |
+
# the machine that built the index (3.14). Pinning exact local versions failed
|
| 3 |
+
# the build: numpy==2.5.3 requires Python 3.11+.
|
| 4 |
+
#
|
| 5 |
+
# Deliberately absent:
|
| 6 |
+
# gradio - the Space builder installs its own pinned gradio[oauth,mcp]
|
| 7 |
+
# torch - ZeroGPU appends "torch<=2.13.0"
|
| 8 |
+
#
|
| 9 |
+
# transformers has a real floor: Qwen3 support landed in 4.51.
|
| 10 |
+
transformers>=4.51
|
| 11 |
+
accelerate
|
| 12 |
+
sentence-transformers
|
| 13 |
+
numpy<3
|
| 14 |
+
peft
|