kfoughali commited on
Commit
f585242
·
verified ·
1 Parent(s): 2e13afa

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +8 -14
requirements.txt CHANGED
@@ -1,15 +1,15 @@
1
  # =========================
2
- # Core dependencies
3
  # =========================
4
- torch==2.5.1 # Pinned to ensure FA2 wheel availability (cu121)
5
- transformers>=4.45.0 # Recent enough for latest attention API
6
  accelerate>=0.30.0
7
  sentencepiece>=0.1.99
8
  protobuf>=3.20.0
9
  huggingface_hub>=0.16.0
10
 
11
  # =========================
12
- # Dataset and evaluation
13
  # =========================
14
  datasets>=2.14.0
15
  pandas>=1.5.0
@@ -18,7 +18,7 @@ scikit-learn>=1.0.0
18
  scipy>=1.8.0
19
 
20
  # =========================
21
- # Memory & GPU monitoring
22
  # =========================
23
  psutil>=5.9.0
24
  pynvml>=11.5.0
@@ -30,17 +30,11 @@ matplotlib>=3.5.0
30
  seaborn>=0.11.0
31
 
32
  # =========================
33
- # Compression / Quantization
34
  # =========================
35
- bitsandbytes>=0.41.0 # For INT8 / 4-bit quantization
36
 
37
  # =========================
38
- # UI (Gradio)
39
  # =========================
40
  gradio>=4.0.0
41
-
42
- # =========================
43
- # FlashAttention 2
44
- # =========================
45
- # Installed last so torch is already present (avoids build metadata error)
46
- flash-attn>=2.5.6
 
1
  # =========================
2
+ # Core
3
  # =========================
4
+ torch==2.5.1 # stable + manylinux/cu12 wheels available
5
+ transformers>=4.45.0
6
  accelerate>=0.30.0
7
  sentencepiece>=0.1.99
8
  protobuf>=3.20.0
9
  huggingface_hub>=0.16.0
10
 
11
  # =========================
12
+ # Dataset & evaluation
13
  # =========================
14
  datasets>=2.14.0
15
  pandas>=1.5.0
 
18
  scipy>=1.8.0
19
 
20
  # =========================
21
+ # Monitoring
22
  # =========================
23
  psutil>=5.9.0
24
  pynvml>=11.5.0
 
30
  seaborn>=0.11.0
31
 
32
  # =========================
33
+ # Quantization (optional)
34
  # =========================
35
+ bitsandbytes>=0.41.0
36
 
37
  # =========================
38
+ # UI (optional)
39
  # =========================
40
  gradio>=4.0.0