michsethowusu commited on
Commit
eb7b129
·
verified ·
1 Parent(s): 43bc652

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +6 -3
requirements.txt CHANGED
@@ -1,6 +1,9 @@
1
- # Core ML
2
- torch>=2.1.0
3
- torchaudio>=2.1.0
 
 
 
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