Update requirements.txt
Browse files- requirements.txt +6 -3
requirements.txt
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
-
#
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
| 4 |
transformers==4.56.2
|
| 5 |
accelerate>=0.27.0
|
| 6 |
bitsandbytes>=0.43.0
|
|
|
|
| 1 |
+
# Force pip to use the CUDA 12.1 package index to match the Hugging Face Space environment
|
| 2 |
+
--extra-index-url https://download.pytorch.org/whl/cu121
|
| 3 |
+
|
| 4 |
+
# Core ML (Pinning versions is highly recommended for Unsloth compatibility)
|
| 5 |
+
torch==2.4.0+cu121
|
| 6 |
+
torchaudio==2.4.0+cu121
|
| 7 |
transformers==4.56.2
|
| 8 |
accelerate>=0.27.0
|
| 9 |
bitsandbytes>=0.43.0
|