anugrah55 commited on
Commit
fd802e5
·
verified ·
1 Parent(s): 027e888

Update CERNenv Space

Browse files
Files changed (1) hide show
  1. space/training/requirements.txt +11 -18
space/training/requirements.txt CHANGED
@@ -1,21 +1,14 @@
1
- --extra-index-url https://download.pytorch.org/whl/cu121
2
- # Pinned set known to work with Unsloth + GRPO on CUDA 12.1.
3
- # Critical constraints:
4
- # * torch < 2.6 (torch.int1 lives in 2.6+; older torchao breaks otherwise)
5
- # * trl >= 0.14 (GRPOConfig / GRPOTrainer were added in 0.14)
6
- # * transformers compatible with both unsloth and trl 0.15
7
- torch==2.5.1
8
- torchvision==0.20.1
9
- torchaudio==2.5.1
10
- torchao==0.7.0
11
- transformers==4.48.3
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