Spaces:
Runtime error
Runtime error
Faisal
commited on
Commit
Β·
e55901c
1
Parent(s):
a09b0b8
Fix accelerate version compatibility with PyTorch 2.1.0+cpu
Browse files- requirements.txt +28 -15
requirements.txt
CHANGED
@@ -1,15 +1,28 @@
|
|
1 |
-
gradio==5.42.0
|
2 |
-
transformers==4.
|
3 |
-
--find-links https://download.pytorch.org/whl/torch_stable.html
|
4 |
-
torch==2.1.0+cpu
|
5 |
-
torchvision==0.16.0+cpu
|
6 |
-
torchaudio==2.1.0+cpu
|
7 |
-
requests>=2.31.0
|
8 |
-
Pillow>=10.0.0
|
9 |
-
accelerate
|
10 |
-
safetensors>=0.3.0
|
11 |
-
tokenizers>=0.15.0
|
12 |
-
numpy<2.0.0
|
13 |
-
scipy>=1.10.0
|
14 |
-
qwen-vl-utils
|
15 |
-
ipython>=8.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# gradio==5.42.0
|
2 |
+
# transformers==4.36.0
|
3 |
+
# --find-links https://download.pytorch.org/whl/torch_stable.html
|
4 |
+
# torch==2.1.0+cpu
|
5 |
+
# torchvision==0.16.0+cpu
|
6 |
+
# torchaudio==2.1.0+cpu
|
7 |
+
# requests>=2.31.0
|
8 |
+
# Pillow>=10.0.0
|
9 |
+
# accelerate>=0.20.0
|
10 |
+
# safetensors>=0.3.0
|
11 |
+
# tokenizers>=0.15.0
|
12 |
+
# numpy<2.0.0
|
13 |
+
# scipy>=1.10.0
|
14 |
+
# qwen-vl-utils
|
15 |
+
# ipython>=8.0.0
|
16 |
+
# Core dependencies
|
17 |
+
torch>=2.1.0
|
18 |
+
transformers>=4.41.0
|
19 |
+
accelerate>=0.31.0
|
20 |
+
gradio>=4.29.0
|
21 |
+
requests
|
22 |
+
|
23 |
+
# Qwen VL utilities
|
24 |
+
git+https://github.com/QwenLM/Qwen-VL.git
|
25 |
+
|
26 |
+
# Optional but recommended for HF Spaces stability
|
27 |
+
sentencepiece
|
28 |
+
protobuf
|