u0feff commited on
Commit
6643684
·
1 Parent(s): bf61c2c

Fix dependencies

Browse files
Files changed (3) hide show
  1. .gitignore +8 -0
  2. install.sh +4 -7
  3. requirements.txt +4 -6
.gitignore ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ models/dwpose/
2
+ models/musetalk/
3
+ models/musetalkV15/
4
+ models/sd-vae/
5
+ models/syncnet/
6
+ models/whisper/
7
+
8
+ __pycache__/
install.sh CHANGED
@@ -19,15 +19,12 @@ ln -s ~/.cache/huggingface/hub/models--ByteDance--LatentSync/snapshots/*/* ~/app
19
  mkdir ~/app/models/whisper
20
  ln -s ~/.cache/huggingface/hub/models--openai--whisper-tiny/snapshots/*/* ~/app/models/whisper/
21
 
22
- # Hugging face only allows to install torch atleast version 2.1.0, so we reinstalling it at runtime
23
- #pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118
24
-
25
  pip install --no-cache-dir -U openmim
26
 
27
  # Mim uses ~/.cache/mim by default for cache, but hugging face only allows to use /home/user/app, so we use little hack
28
  export HOME=/home/user/app
29
 
30
- #mim install mmengine
31
- #mim install "mmcv==2.1.0"
32
- #mim install "mmdet==3.1.0"
33
- #mim install "mmpose==1.1.0"
 
19
  mkdir ~/app/models/whisper
20
  ln -s ~/.cache/huggingface/hub/models--openai--whisper-tiny/snapshots/*/* ~/app/models/whisper/
21
 
 
 
 
22
  pip install --no-cache-dir -U openmim
23
 
24
  # Mim uses ~/.cache/mim by default for cache, but hugging face only allows to use /home/user/app, so we use little hack
25
  export HOME=/home/user/app
26
 
27
+ mim install mmengine
28
+ mim install "mmcv==2.1.0"
29
+ mim install "mmdet==3.2.0"
30
+ mim install "mmpose==1.2.0"
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- --extra-index-url https://download.pytorch.org/whl/cu118
2
 
3
  diffusers==0.30.2
4
  accelerate==0.28.0
@@ -21,8 +21,6 @@ omegaconf
21
  ffmpeg-python
22
  moviepy
23
 
24
- #torch~=2.1.0
25
- #torchvision~=0.16.0
26
- #torchaudio~=2.1.0
27
-
28
- #openmim
 
1
+ --extra-index-url https://download.pytorch.org/whl/cu121
2
 
3
  diffusers==0.30.2
4
  accelerate==0.28.0
 
21
  ffmpeg-python
22
  moviepy
23
 
24
+ torch==2.1.0
25
+ torchvision==0.16.0
26
+ torchaudio==2.1.0