Spaces:
Sleeping
Sleeping
ffreemt
commited on
Commit
•
096b00a
1
Parent(s):
b9d6157
Change requirements.txt --find-links https://download.pytorch.org/whl/cpu/torch/ \ntorch==1.8.1+cpu
Browse files- requirements.txt +3 -2
requirements.txt
CHANGED
@@ -6,8 +6,9 @@
|
|
6 |
|
7 |
# CPU Only
|
8 |
# pip3 install torch==1.8.2 torchvision==0.9.2 torchaudio==0.8.2 --extra-index-url https://download.pytorch.org/whl/lts/1.8/cpu
|
9 |
-
|
10 |
-
|
|
|
11 |
|
12 |
# fix attempt: ImportError: cannot import name 'is_nltk_available' from 'transformers.utils.import_utils' ==2.2.0
|
13 |
transformers==4.18.0
|
|
|
6 |
|
7 |
# CPU Only
|
8 |
# pip3 install torch==1.8.2 torchvision==0.9.2 torchaudio==0.8.2 --extra-index-url https://download.pytorch.org/whl/lts/1.8/cpu
|
9 |
+
#--find-links https://download.pytorch.org/whl/lts/1.8/cpu
|
10 |
+
--find-links https://download.pytorch.org/whl/cpu/torch/
|
11 |
+
torch==1.8.1+cpu
|
12 |
|
13 |
# fix attempt: ImportError: cannot import name 'is_nltk_available' from 'transformers.utils.import_utils' ==2.2.0
|
14 |
transformers==4.18.0
|