r3gm commited on
Commit
e65880f
·
verified ·
1 Parent(s): e3e7624

fix ctranslate2

Browse files

Hello, this will fix the build error. Additionally, you need to set the following new variables in the space settings:

| Name | Value |
|-----------------|-------|
| LD_LIBRARY_PATH | /usr/local/lib/python3.10/site-packages/nvidia/cublas/lib:/usr/local/lib/python3.10/site-packages/nvidia/cudnn/lib |
| HF_HOME | /home/user/huggingface |

Files changed (1) hide show
  1. pre-requirements.txt +4 -4
pre-requirements.txt CHANGED
@@ -1,13 +1,13 @@
1
  pip==23.1.2
2
- --extra-index-url https://download.pytorch.org/whl/cu121
3
- torch==2.2.0 # +cu121
4
  torchvision # <=0.17.0+cu121
5
  torchaudio # <=2.2.0+cu121
6
- ctranslate2<=4.4.0
7
  yt-dlp
8
  gradio==4.19.2
9
  pydub==0.25.1
10
- edge_tts==6.1.7
11
  deep_translator==1.11.4
12
  git+https://github.com/R3gm/[email protected]
13
  git+https://github.com/R3gm/whisperX.git@cuda_12_x
 
1
  pip==23.1.2
2
+ # --extra-index-url https://download.pytorch.org/whl/cu121
3
+ torch==2.5.1 # +cu121
4
  torchvision # <=0.17.0+cu121
5
  torchaudio # <=2.2.0+cu121
6
+ ctranslate2==4.6.0
7
  yt-dlp
8
  gradio==4.19.2
9
  pydub==0.25.1
10
+ edge_tts==7.2.1
11
  deep_translator==1.11.4
12
  git+https://github.com/R3gm/[email protected]
13
  git+https://github.com/R3gm/whisperX.git@cuda_12_x