mooki0 commited on
Commit
4cdf2c8
·
verified ·
1 Parent(s): 0581c45

Fix requirements.txt build order

Browse files
Files changed (1) hide show
  1. requirements.txt +6 -5
requirements.txt CHANGED
@@ -1,9 +1,10 @@
1
- --extra-index-url https://download.pytorch.org/whl/cu121
2
- torch==2.2.2
3
- torchaudio==2.2.2
4
- torchvision==0.17.2
 
5
 
6
- # From conda environment
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