fffiloni commited on
Commit
fec3d24
·
1 Parent(s): a285ee6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -11
Dockerfile CHANGED
@@ -23,17 +23,8 @@ RUN pip install -q einops pytorch_lightning gradio omegaconf xformers==0.0.20 tr
23
  # Install open_clip from GitHub
24
  RUN pip install -q git+https://github.com/mlfoundations/open_clip@v2.20.0
25
 
26
- # Install aria2 directly using wget
27
- RUN apt-get update && apt-get install -y wget && \
28
- wget https://github.com/aria2/aria2/releases/download/release-1.36.0/aria2-1.36.0.tar.gz && \
29
- tar -xzvf aria2-1.36.0.tar.gz && \
30
- cd aria2-1.36.0 && \
31
- ./configure && \
32
- make && \
33
- make install && \
34
- cd .. && \
35
- rm -rf aria2-1.36.0 && \
36
- rm aria2-1.36.0.tar.gz
37
 
38
  # Download checkpoint files using aria2
39
  RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lxq007/DiffBIR/resolve/main/general_full_v1.ckpt -d $HOME/app/models -o general_full_v1.ckpt
 
23
  # Install open_clip from GitHub
24
  RUN pip install -q git+https://github.com/mlfoundations/open_clip@v2.20.0
25
 
26
+ # Install aria2
27
+ RUN apt-get update && apt-get install -y aria2
 
 
 
 
 
 
 
 
 
28
 
29
  # Download checkpoint files using aria2
30
  RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lxq007/DiffBIR/resolve/main/general_full_v1.ckpt -d $HOME/app/models -o general_full_v1.ckpt