camenduru commited on
Commit
6d1d9f6
1 Parent(s): d102b55

Update Dockerfile.Private.Nightly.T4

Browse files
Files changed (1) hide show
  1. Dockerfile.Private.Nightly.T4 +4 -1
Dockerfile.Private.Nightly.T4 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 && cd stable-diffusion-webui && sed -i -e 's/ start()/ #start()/g' launch.py && python launch.py --skip-torch-cuda-test
 
 
 
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