darkstorm2150 commited on
Commit
55c28dc
1 Parent(s): cfa5cb8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- # Dockerfile Public A10G
2
 
3
  # https://gitlab.com/nvidia/container-images/cuda/-/blob/master/dist/11.7.1/ubuntu2204/devel/cudnn8/Dockerfile
4
  # FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04
@@ -14,8 +14,7 @@ WORKDIR /content
14
  USER user
15
 
16
  RUN pip3 install --upgrade pip
17
- RUN pip3 install torchmetrics --upgrade
18
- RUN pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230119.A10G-cp310-cp310-linux_x86_64.whl
19
  RUN pip install --pre triton
20
  RUN pip install numexpr
21
 
@@ -27,7 +26,7 @@ RUN cd stable-diffusion-webui && python launch.py --skip-torch-cuda-test
27
 
28
  ADD --chown=user https://github.com/camenduru/webui-docker/raw/main/env_patch.py /content/env_patch.py
29
  RUN sed -i -e '/import image_from_url_text/r /content/env_patch.py' /content/stable-diffusion-webui/modules/ui.py
30
- ADD --chown=user https://raw.githubusercontent.com/darkstorm2150/webui/main/OpenGen_header_patch.py /content/header_patch.py
31
  RUN sed -i -e '/demo:/r /content/header_patch.py' /content/stable-diffusion-webui/modules/ui.py
32
 
33
  RUN sed -i -e '/(modelmerger_interface, \"Checkpoint Merger\", \"modelmerger\"),/d' /content/stable-diffusion-webui/modules/ui.py
@@ -45,8 +44,9 @@ RUN rm -rfv /content/stable-diffusion-webui/scripts/
45
  ADD --chown=user https://github.com/camenduru/webui-docker/raw/main/shared-config.json /content/shared-config.json
46
  ADD --chown=user https://github.com/camenduru/webui-docker/raw/main/shared-ui-config.json /content/shared-ui-config.json
47
 
48
- ADD --chown=user https://huggingface.co/darkstorm2150/OpenGen/resolve/main/OpenGen%20v1.0.safetensors /content/stable-diffusion-webui/models/Stable-diffusion/OpenGen%20v1.0.safetensors
 
49
 
50
  EXPOSE 7860
51
 
52
- CMD cd /content/stable-diffusion-webui && python webui.py --xformers --listen --disable-console-progressbars --enable-console-prompts --no-progressbar-hiding --ui-config-file /content/shared-ui-config.json --ui-settings-file /content/shared-config.json
 
1
+ # Dockerfile Public T4
2
 
3
  # https://gitlab.com/nvidia/container-images/cuda/-/blob/master/dist/11.7.1/ubuntu2204/devel/cudnn8/Dockerfile
4
  # FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04
 
14
  USER user
15
 
16
  RUN pip3 install --upgrade pip
17
+ 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
 
18
  RUN pip install --pre triton
19
  RUN pip install numexpr
20
 
 
26
 
27
  ADD --chown=user https://github.com/camenduru/webui-docker/raw/main/env_patch.py /content/env_patch.py
28
  RUN sed -i -e '/import image_from_url_text/r /content/env_patch.py' /content/stable-diffusion-webui/modules/ui.py
29
+ ADD --chown=user https://raw.githubusercontent.com/darkstorm2150/webui/main/header_patch.py /content/header_patch.py
30
  RUN sed -i -e '/demo:/r /content/header_patch.py' /content/stable-diffusion-webui/modules/ui.py
31
 
32
  RUN sed -i -e '/(modelmerger_interface, \"Checkpoint Merger\", \"modelmerger\"),/d' /content/stable-diffusion-webui/modules/ui.py
 
44
  ADD --chown=user https://github.com/camenduru/webui-docker/raw/main/shared-config.json /content/shared-config.json
45
  ADD --chown=user https://github.com/camenduru/webui-docker/raw/main/shared-ui-config.json /content/shared-ui-config.json
46
 
47
+ ADD --chown=user https://huggingface.co/darkstorm2150/Protogen_x3.4_Official_Release/resolve/main/ProtoGen_X3.4.safetensors /content/stable-diffusion-webui/models/Stable-diffusion/ProtoGen_X3.4.safetensors
48
+
49
 
50
  EXPOSE 7860
51
 
52
+ CMD cd /content/stable-diffusion-webui && python webui.py --xformers --listen --disable-console-progressbars --enable-console-prompts --no-progressbar-hiding --ui-config-file /content/shared-ui-config.json --ui-settings-file /content/shared-config.json