Dellboy commited on
Commit
4a2fdf2
·
verified ·
1 Parent(s): 7bc509e

requirements: resolve on the Space's Python, not the build machine

Browse files
Files changed (1) hide show
  1. requirements.txt +14 -7
requirements.txt CHANGED
@@ -1,7 +1,14 @@
1
- # ZeroGPU provides torch; everything else is pinned here.
2
- transformers==5.16.1
3
- peft==0.20.0
4
- accelerate==1.14.0
5
- gradio==5.49.1
6
- sentence-transformers==5.6.0
7
- numpy==2.5.3
 
 
 
 
 
 
 
 
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