jbilcke-hf HF Staff commited on
Commit
46f9564
·
verified ·
1 Parent(s): 73bf829

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -26,11 +26,12 @@ WORKDIR $HOME/app
26
 
27
  # Clone your repository or add your code to the container
28
  RUN git clone -b main https://github.com/fffiloni/PASD $HOME/app
29
- #RUN pip install torchaudio
30
- RUN pip install torch --upgrade
31
- #RUN pip install torchaudio --upgrade
32
- RUN pip install torchvision
33
- RUN pip install -q spaces gradio==3.39.0 diffusers==0.21.4 accelerate basicsr ultralytics salesforce-lavis webdataset pytorch_lightning
 
34
  RUN pip install -q https://download.pytorch.org/whl/cu121/xformers-0.0.22.post7-cp310-cp310-manylinux2014_x86_64.whl
35
 
36
  RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/akhaliq/RetinaFace-R50/resolve/main/RetinaFace-R50.pth -d $HOME/app/annotator/ckpts -o RetinaFace-R50.pth
 
26
 
27
  # Clone your repository or add your code to the container
28
  RUN git clone -b main https://github.com/fffiloni/PASD $HOME/app
29
+ # RUN pip install torchaudio
30
+ # RUN pip install torch --upgrade
31
+ # RUN pip install torchaudio --upgrade
32
+ # RUN pip install torchvision
33
+ RUN pip install -U torch torchaudio torchvision --no-cache-dir
34
+ RUN pip install -q spaces gradio==3.39.0 diffusers==0.21.4 accelerate basicsr ultralytics salesforce-lavis webdataset pytorch_lightning=2.1.14
35
  RUN pip install -q https://download.pytorch.org/whl/cu121/xformers-0.0.22.post7-cp310-cp310-manylinux2014_x86_64.whl
36
 
37
  RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/akhaliq/RetinaFace-R50/resolve/main/RetinaFace-R50.pth -d $HOME/app/annotator/ckpts -o RetinaFace-R50.pth