Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -21,8 +21,11 @@ WORKDIR $HOME/app
|
|
21 |
# Clone your repository or add your code to the container
|
22 |
RUN git clone -b dev https://github.com/camenduru/DiffBIR $HOME/app
|
23 |
|
|
|
|
|
|
|
24 |
# Install Python dependencies
|
25 |
-
RUN pip install -q xformers==0.0.16
|
26 |
|
27 |
# Install open_clip from GitHub
|
28 |
RUN pip install -q git+https://github.com/mlfoundations/open_clip@v2.20.0
|
|
|
21 |
# Clone your repository or add your code to the container
|
22 |
RUN git clone -b dev https://github.com/camenduru/DiffBIR $HOME/app
|
23 |
|
24 |
+
# Install specific versions of PyTorch, TorchText, and PyTorch Lightning
|
25 |
+
RUN pip install torch==1.12.1 torchvision==0.13.1 torchtext==0.10.0 pytorch-lightning==1.4.2
|
26 |
+
|
27 |
# Install Python dependencies
|
28 |
+
RUN pip install -q xformers==0.0.16 einops open-clip-torch omegaconf torchmetrics==0.6.0 triton opencv-python-headless scipy matplotlib lpips gradio chardet transformers facexlib
|
29 |
|
30 |
# Install open_clip from GitHub
|
31 |
RUN pip install -q git+https://github.com/mlfoundations/open_clip@v2.20.0
|