Faisal commited on
Commit
008f93e
Β·
1 Parent(s): 35e328b

Fix PyTorch and NumPy compatibility issues for Hugging Face deployment

Browse files
Files changed (1) hide show
  1. requirements.txt +5 -5
requirements.txt CHANGED
@@ -1,15 +1,15 @@
1
  gradio==5.42.0
2
- transformers>=4.40.0
3
  --find-links https://download.pytorch.org/whl/torch_stable.html
4
- torch==2.0.0+cpu
5
- torchvision==0.15.0+cpu
6
- torchaudio==2.0.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>=1.24.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