Spaces:
Build error
Build error
Fix requirements.txt build order
Browse files- requirements.txt +6 -5
requirements.txt
CHANGED
|
@@ -1,9 +1,10 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
|
|
|
| 5 |
|
| 6 |
-
#
|
| 7 |
absl-py==2.2.2
|
| 8 |
accelerate==1.6.0
|
| 9 |
addict==2.4.0
|
|
|
|
| 1 |
+
# Step 1: Install PyTorch and its ecosystem first
|
| 2 |
+
--find-links https://download.pytorch.org/whl/torch_stable.html
|
| 3 |
+
torch==2.2.2+cu121
|
| 4 |
+
torchaudio==2.2.2+cu121
|
| 5 |
+
torchvision==0.17.2+cu121
|
| 6 |
|
| 7 |
+
# Step 2: Install other dependencies
|
| 8 |
absl-py==2.2.2
|
| 9 |
accelerate==1.6.0
|
| 10 |
addict==2.4.0
|