Update Dockerfile.Private.Nightly.A10G
Browse files
Dockerfile.Private.Nightly.A10G
CHANGED
@@ -11,7 +11,10 @@ RUN pip install https://github.com/camenduru/stable-diffusion-webui-colab/releas
|
|
11 |
RUN pip install --pre triton
|
12 |
RUN pip install numexpr
|
13 |
|
14 |
-
RUN git clone https://github.com/camenduru/stable-diffusion-webui
|
|
|
|
|
|
|
15 |
|
16 |
# ----------------------------Delete this block if you don't want to see the extra header----------------------------
|
17 |
ADD https://github.com/camenduru/webui-docker/raw/main/env_patch.py /content/env_patch.py
|
|
|
11 |
RUN pip install --pre triton
|
12 |
RUN pip install numexpr
|
13 |
|
14 |
+
RUN git clone https://github.com/camenduru/stable-diffusion-webui
|
15 |
+
RUN sed -i -e '''/prepare_environment()/a\ os.system\(f\"""sed -i -e ''\"s/dict()))/dict())).cuda()/g\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py""")''' /content/stable-diffusion-webui/launch.py
|
16 |
+
RUN sed -i -e 's/ start()/ #start()/g' /content/stable-diffusion-webui/launch.py
|
17 |
+
RUN cd stable-diffusion-webui && python launch.py --skip-torch-cuda-test
|
18 |
|
19 |
# ----------------------------Delete this block if you don't want to see the extra header----------------------------
|
20 |
ADD https://github.com/camenduru/webui-docker/raw/main/env_patch.py /content/env_patch.py
|