Spaces:
Runtime error
Runtime error
fikird
commited on
Commit
·
ad4c231
1
Parent(s):
edf17ea
Simplify dependencies and use pre-built wheels
Browse files- apt.txt +0 -6
- packages.txt +0 -6
- requirements.txt +3 -2
apt.txt
CHANGED
|
@@ -5,10 +5,4 @@ gcc
|
|
| 5 |
g++
|
| 6 |
git
|
| 7 |
cmake
|
| 8 |
-
pkg-config
|
| 9 |
-
libopenblas0
|
| 10 |
-
libopenblas-dev
|
| 11 |
-
libomp-dev
|
| 12 |
libgomp1
|
| 13 |
-
python3-venv
|
| 14 |
-
python-is-python3
|
|
|
|
| 5 |
g++
|
| 6 |
git
|
| 7 |
cmake
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
libgomp1
|
|
|
|
|
|
packages.txt
CHANGED
|
@@ -5,10 +5,6 @@ gcc
|
|
| 5 |
g++
|
| 6 |
git
|
| 7 |
cmake
|
| 8 |
-
pkg-config
|
| 9 |
-
libopenblas0
|
| 10 |
-
libopenblas-dev
|
| 11 |
-
libomp-dev
|
| 12 |
libgomp1
|
| 13 |
libglib2.0-0
|
| 14 |
libnss3
|
|
@@ -27,5 +23,3 @@ libgbm1
|
|
| 27 |
libpango-1.0-0
|
| 28 |
libcairo2
|
| 29 |
libasound2
|
| 30 |
-
python3-venv
|
| 31 |
-
python-is-python3
|
|
|
|
| 5 |
g++
|
| 6 |
git
|
| 7 |
cmake
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
libgomp1
|
| 9 |
libglib2.0-0
|
| 10 |
libnss3
|
|
|
|
| 23 |
libpango-1.0-0
|
| 24 |
libcairo2
|
| 25 |
libasound2
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -7,8 +7,8 @@ tqdm>=4.65.0
|
|
| 7 |
Pillow==10.0.0
|
| 8 |
requests==2.31.0
|
| 9 |
|
| 10 |
-
# PyTorch CPU
|
| 11 |
-
--
|
| 12 |
torch==2.0.1+cpu
|
| 13 |
torchvision==0.15.2+cpu
|
| 14 |
torchaudio==2.0.2+cpu
|
|
@@ -16,6 +16,7 @@ torchaudio==2.0.2+cpu
|
|
| 16 |
# Transformers and embeddings
|
| 17 |
transformers==4.31.0
|
| 18 |
tokenizers==0.13.3
|
|
|
|
| 19 |
sentence-transformers==2.2.2
|
| 20 |
huggingface-hub>=0.16.4
|
| 21 |
|
|
|
|
| 7 |
Pillow==10.0.0
|
| 8 |
requests==2.31.0
|
| 9 |
|
| 10 |
+
# PyTorch CPU (pre-built wheels)
|
| 11 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 12 |
torch==2.0.1+cpu
|
| 13 |
torchvision==0.15.2+cpu
|
| 14 |
torchaudio==2.0.2+cpu
|
|
|
|
| 16 |
# Transformers and embeddings
|
| 17 |
transformers==4.31.0
|
| 18 |
tokenizers==0.13.3
|
| 19 |
+
--extra-index-url https://huggingface.github.io/pytorch-transformers/whl/cpu/
|
| 20 |
sentence-transformers==2.2.2
|
| 21 |
huggingface-hub>=0.16.4
|
| 22 |
|