Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -3,6 +3,9 @@ FROM nvidia/cuda:11.3.1-cudnn8-devel-ubuntu18.04
|
|
3 |
|
4 |
ENV DEBIAN_FRONTEND=noninteractive
|
5 |
|
|
|
|
|
|
|
6 |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y sudo && apt-get install -y python3-pip && pip3 install --upgrade pip
|
7 |
RUN apt-get install -y curl gnupg wget htop sudo git git-lfs software-properties-common build-essential libgl1 zip unzip
|
8 |
|
@@ -25,7 +28,7 @@ RUN git clone -b dev https://github.com/camenduru/DiffBIR $HOME/app
|
|
25 |
#RUN pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html
|
26 |
|
27 |
# Install Python dependencies
|
28 |
-
RUN pip3 install -q einops pytorch_lightning gradio omegaconf xformers==0.0.
|
29 |
|
30 |
# Install open_clip from GitHub
|
31 |
RUN pip3 install -q git+https://github.com/mlfoundations/open_clip@v2.20.0
|
|
|
3 |
|
4 |
ENV DEBIAN_FRONTEND=noninteractive
|
5 |
|
6 |
+
# Install Python 3.8 (or any other version you need)
|
7 |
+
RUN apt-get install -y python3.8
|
8 |
+
|
9 |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y sudo && apt-get install -y python3-pip && pip3 install --upgrade pip
|
10 |
RUN apt-get install -y curl gnupg wget htop sudo git git-lfs software-properties-common build-essential libgl1 zip unzip
|
11 |
|
|
|
28 |
#RUN pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html
|
29 |
|
30 |
# Install Python dependencies
|
31 |
+
RUN pip3 install -q einops pytorch_lightning gradio omegaconf xformers==0.0.20 transformers lpips opencv-python
|
32 |
|
33 |
# Install open_clip from GitHub
|
34 |
RUN pip3 install -q git+https://github.com/mlfoundations/open_clip@v2.20.0
|