bithal26 commited on
Commit
5bfeb87
Β·
verified Β·
1 Parent(s): 74a0042

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +20 -9
requirements.txt CHANGED
@@ -1,9 +1,20 @@
1
- # Deep-learning stack (floor-only β€” let HF pick the compatible wheel)
2
- torch>=2.1.0
3
- torchvision>=0.16.0
4
-
5
- # Model architecture
6
- timm>=0.9.16
7
-
8
- # Numerical
9
- numpy>=1.24,<3.0
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ──────────────────────────────────────────────────────────────────────────────
2
+ # VERIDEX β€” Worker Space requirements.txt
3
+ #
4
+ # HF Spaces runs Python 3.13. Rules:
5
+ # 1. Never pin gradio β€” HF force-installs gradio==6.x in [base 6/7].
6
+ # 2. Use floor-only constraints so pip picks available cp313 wheels.
7
+ # 3. numpy β‰₯ 2.0 β€” first release with a cp313 wheel (1.26.x source-builds
8
+ # and fails on Python 3.13).
9
+ # ──────────────────────────────────────────────────────────────────────────────
10
+
11
+ # ── Python 3.13 WHEEL-SAFE floors (verified on PyPI cp313-cp313-manylinux) ───
12
+ # torch 2.6.0 = first release with a cp313-cp313-manylinux_2_28 wheel
13
+ # torchvision 0.21.0 = paired release for torch 2.6
14
+ # numpy 2.0 = first cp313 wheel
15
+ torch>=2.6.0
16
+ torchvision>=0.21.0
17
+ numpy>=2.0
18
+
19
+ # Model architecture (pure-Python wheel, any version installs fine on Py3.13)
20
+ timm>=1.0.0