u0feff commited on
Commit
0ea0295
·
1 Parent(s): 162982b
Files changed (1) hide show
  1. install.sh +3 -3
install.sh CHANGED
@@ -22,11 +22,11 @@ ln -s ~/.cache/huggingface/hub/models--openai--whisper-tiny/snapshots/*/* ~/app/
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
- # Mim uses ~/.cache/mim by default for cache, but hugging face only allows to use /home/user/app, so we use little hack
26
- #export HOME=/home/user/app
27
-
28
  pip install --no-cache-dir -U openmim
29
 
 
 
 
30
  mim install mmengine
31
  mim install mmcv==2.0.1
32
  mim install mmdet==3.1.0
 
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.0.1
32
  mim install mmdet==3.1.0