Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -8
Dockerfile
CHANGED
@@ -1,16 +1,10 @@
|
|
1 |
# Dockerfile Public T4
|
2 |
|
3 |
-
FROM
|
4 |
ENV DEBIAN_FRONTEND noninteractive
|
5 |
|
6 |
WORKDIR /content
|
7 |
-
|
8 |
-
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && pip3 install --upgrade pip
|
9 |
-
|
10 |
-
RUN pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchsde --extra-index-url https://download.pytorch.org/whl/cu113
|
11 |
-
RUN pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230118-cp310-cp310-linux_x86_64.whl
|
12 |
-
RUN pip install --pre triton
|
13 |
-
RUN pip install numexpr einops transformers k_diffusion safetensors gradio diffusers==0.12.1
|
14 |
|
15 |
ADD . .
|
16 |
RUN adduser --disabled-password --gecos '' user
|
|
|
1 |
# Dockerfile Public T4
|
2 |
|
3 |
+
FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel
|
4 |
ENV DEBIAN_FRONTEND noninteractive
|
5 |
|
6 |
WORKDIR /content
|
7 |
+
RUN pip install numexpr einops transformers k_diffusion safetensors gradio diffusers xformers
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
ADD . .
|
10 |
RUN adduser --disabled-password --gecos '' user
|