new-stable-diffusion-automatic (sha256:f7a89f47c4142a1d2adb5fd0db769eda4012d6f2fdd5872387e97540104e2bf7)

Published 2024-06-05 12:15:56 -04:00 by simcop2387 in simcop2387/new-stable-diffusion

Installation

docker pull gitea.simcop2387.info/simcop2387/new-stable-diffusion-automatic@sha256:f7a89f47c4142a1d2adb5fd0db769eda4012d6f2fdd5872387e97540104e2bf7
sha256:f7a89f47c4142a1d2adb5fd0db769eda4012d6f2fdd5872387e97540104e2bf7

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:3bd10da0673e2e72cb06a1f64a9df49a36341df39b0f762e3d1b38ee4de296fa in /
CMD ["/bin/bash"]
ARG PYTORCH_VERSION
ARG TRITON_VERSION
ARG TARGETPLATFORM
ARG CUDA_VERSION
LABEL com.nvidia.volumes.needed=nvidia_driver
RUN |4 PYTORCH_VERSION=2.3.0 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=12.1.1 /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates libjpeg-dev libpng-dev && rm -rf /var/lib/apt/lists/* # buildkit
COPY /opt/conda /opt/conda # buildkit
RUN |4 PYTORCH_VERSION=2.3.0 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=12.1.1 /bin/sh -c if test -n "${TRITON_VERSION}" -a "${TARGETPLATFORM}" != "linux/arm64"; then DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends gcc; rm -rf /var/lib/apt/lists/*; fi # buildkit
ENV PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV NVIDIA_VISIBLE_DEVICES=all
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV PYTORCH_VERSION=2.3.0
WORKDIR /workspace
ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1
RUN /bin/sh -c apt-get update && apt-get install -y fonts-dejavu-core rsync git jq moreutils aria2 ffmpeg libglfw3-dev libgles2-mesa-dev pkg-config libcairo2 libcairo2-dev build-essential # buildkit
WORKDIR /
RUN /bin/sh -c git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git && cd stable-diffusion-webui && git reset --hard v1.9.3 && pip install -r requirements_versions.txt # buildkit
ENV ROOT=/stable-diffusion-webui
COPY /repositories/ /stable-diffusion-webui/repositories/ # buildkit
RUN /bin/sh -c mkdir ${ROOT}/interrogate && cp ${ROOT}/repositories/clip-interrogator/clip_interrogator/data/* ${ROOT}/interrogate # buildkit
RUN /bin/sh -c pip install pyngrok xformers==0.0.26.post1 git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 git+https://github.com/mlfoundations/open_clip.git@v2.20.0 # buildkit
RUN /bin/sh -c apt-get -y install libgoogle-perftools-dev && apt-get clean # buildkit
ENV LD_PRELOAD=libtcmalloc.so
COPY . /docker # buildkit
RUN /bin/sh -c sed -i 's/in_app_dir = .*/in_app_dir = True/g' /opt/conda/lib/python3.10/site-packages/gradio/routes.py && git config --global --add safe.directory '*' # buildkit
WORKDIR /stable-diffusion-webui
ENV NVIDIA_VISIBLE_DEVICES=all
ENV CLI_ARGS=
EXPOSE map[7860/tcp:{}]
ENTRYPOINT ["/docker/entrypoint.sh"]
CMD ["/bin/sh" "-c" "python -u webui.py --listen --port 7860 ${CLI_ARGS}"]

Labels

Key Value
com.nvidia.volumes.needed nvidia_driver
org.opencontainers.image.created 2024-06-05T15:59:37Z
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision 7379b47d3590dba38ef1804d9e6caa8191fa2832
org.opencontainers.image.source https://gitea.simcop2387.info/simcop2387/new-stable-diffusion.git
org.opencontainers.image.url https://gitea.simcop2387.info/simcop2387/new-stable-diffusion
org.opencontainers.image.version 22.04
Details
Container
2024-06-05 12:15:56 -04:00
2
OCI / Docker
linux/amd64
4.4 GiB
Versions (8) View all
latest 2024-06-23
build-32 2024-06-23
build-21 2024-06-14
build-14 2024-06-07
build-11 2024-06-06