Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +16 -4
requirements.txt
CHANGED
|
@@ -1,10 +1,22 @@
|
|
| 1 |
-
|
| 2 |
-
|
|
|
|
|
|
|
| 3 |
torch>=2.0.0
|
| 4 |
-
|
| 5 |
-
|
| 6 |
bitsandbytes==0.41.3
|
| 7 |
triton==2.1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
einops>=0.8.0
|
| 9 |
sentencepiece>=0.1.99
|
| 10 |
protobuf>=4.25.0
|
|
|
|
| 1 |
+
# CRITICAL: Pin NumPy to 1.x to avoid compatibility issues with PyTorch
|
| 2 |
+
numpy<2
|
| 3 |
+
|
| 4 |
+
# Core ML libraries
|
| 5 |
torch>=2.0.0
|
| 6 |
+
transformers==4.40.0
|
| 7 |
+
accelerate==0.29.3
|
| 8 |
bitsandbytes==0.41.3
|
| 9 |
triton==2.1.0
|
| 10 |
+
|
| 11 |
+
# CRITICAL: Add missing PEFT package
|
| 12 |
+
peft==0.11.1
|
| 13 |
+
trl==0.8.6
|
| 14 |
+
|
| 15 |
+
# Gradio for the Space UI
|
| 16 |
+
gradio>=4.0.0
|
| 17 |
+
|
| 18 |
+
# Additional dependencies
|
| 19 |
+
pandas>=1.3.0
|
| 20 |
einops>=0.8.0
|
| 21 |
sentencepiece>=0.1.99
|
| 22 |
protobuf>=4.25.0
|