Spaces:
Sleeping
Sleeping
Update CERNenv Space
Browse files- space/training/requirements.txt +11 -18
space/training/requirements.txt
CHANGED
|
@@ -1,21 +1,14 @@
|
|
| 1 |
-
--extra-index-url https://download.pytorch.org/whl/
|
| 2 |
-
#
|
| 3 |
-
#
|
| 4 |
-
#
|
| 5 |
-
#
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
trl==0.15.2
|
| 13 |
-
peft==0.14.0
|
| 14 |
-
accelerate==1.3.0
|
| 15 |
-
datasets==3.2.0
|
| 16 |
-
bitsandbytes==0.45.0
|
| 17 |
-
unsloth==2025.2.4
|
| 18 |
-
unsloth_zoo==2025.2.3
|
| 19 |
matplotlib>=3.8.0
|
| 20 |
numpy>=1.24.0
|
| 21 |
scipy>=1.10.0
|
|
|
|
| 1 |
+
--extra-index-url https://download.pytorch.org/whl/cu124
|
| 2 |
+
# Strategy: pin only torch (so we get the right CUDA wheel) and unsloth (which
|
| 3 |
+
# locks the rest of the matrix — trl, transformers, peft, etc — transitively
|
| 4 |
+
# via its package metadata). We avoid hand-pinning the surrounding libraries
|
| 5 |
+
# because hand-pins kept producing import-time syntax errors from skew.
|
| 6 |
+
torch==2.6.0
|
| 7 |
+
torchvision==0.21.0
|
| 8 |
+
torchaudio==2.6.0
|
| 9 |
+
unsloth==2026.4.8
|
| 10 |
+
trl>=0.18.2,<=0.24.0,!=0.19.0
|
| 11 |
+
xformers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
matplotlib>=3.8.0
|
| 13 |
numpy>=1.24.0
|
| 14 |
scipy>=1.10.0
|