Spaces:
Sleeping
Sleeping
ffreemt
commited on
Commit
·
9469c22
1
Parent(s):
5a69b50
Fix: --find-links https://download.pytorch.org/whl/lts/1.8/cpu\ntorch==1.8.2, sentence-transformers in reuqirements.txt
Browse files- requirements.txt +8 -3
requirements.txt
CHANGED
@@ -1,11 +1,16 @@
|
|
1 |
# pip install torch==1.8.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
2 |
# --find-links https://download.pytorch.org/whl/torch_stable.html
|
3 |
# torch==1.8.0+cpu
|
|
|
4 |
# pip3 install torch torchvision torchaudio --find-links https://download.pytorch.org/whl/cpu
|
5 |
-
torch
|
6 |
|
7 |
-
#
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
about-time==3.1.1
|
11 |
alive-progress==2.4.1; python_version >= "3.7" and python_version < "4" and python_full_version >= "3.8.3" and python_full_version < "4.0.0"
|
|
|
1 |
# pip install torch==1.8.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
2 |
# --find-links https://download.pytorch.org/whl/torch_stable.html
|
3 |
# torch==1.8.0+cpu
|
4 |
+
|
5 |
# pip3 install torch torchvision torchaudio --find-links https://download.pytorch.org/whl/cpu
|
|
|
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 |
+
torch==1.8.2
|
11 |
+
|
12 |
+
# fix attempt: ImportError: cannot import name 'is_nltk_available' from 'transformers.utils.import_utils' ==2.2.0
|
13 |
+
sentence-transformers
|
14 |
|
15 |
about-time==3.1.1
|
16 |
alive-progress==2.4.1; python_version >= "3.7" and python_version < "4" and python_full_version >= "3.8.3" and python_full_version < "4.0.0"
|