jbilcke-hf HF staff commited on
Commit
29e674d
1 Parent(s): 3e92eb2

Used a fixed version of pytorch_lightning and its dependencies (pytorch etc)

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -26,11 +26,8 @@ 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 gradio_imageslider 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 -U torch==2.1.2 torchaudio==2.1.2 torchvision==0.16.2 --no-cache-dir
30
+ RUN pip install -q spaces gradio==3.39.0 diffusers==0.21.4 accelerate basicsr ultralytics salesforce-lavis webdataset pytorch_lightning==2.1.4
 
 
 
31
  RUN pip install -q https://download.pytorch.org/whl/cu121/xformers-0.0.22.post7-cp310-cp310-manylinux2014_x86_64.whl
32
 
33
  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