From 083aed3e12218f77d7aca0f721d97efe6dbd1747 Mon Sep 17 00:00:00 2001 From: Jan Grewe <jan@faked.org> Date: Mon, 19 Feb 2024 23:27:32 +0100 Subject: [PATCH] v1.7.0 --- Dockerfile | 5 ++--- README.md | 6 ++++++ requirements_add.txt | 12 ++++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fde1425..90e22e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM nvidia/cuda:12.3.0-runtime-ubuntu22.04 -ENV VERSION=v1.6.1 +ENV VERSION=v1.7.0 ARG VERSION ENV DEBIAN_FRONTEND=noninteractive @@ -26,5 +26,4 @@ RUN pip install --extra-index-url https://pypi.nvidia.com -r /tmp/requirements_a EXPOSE 7860 -ENTRYPOINT ["python", "launch.py", "--listen", "--data-dir", "/app/data", "--disable-console-progressbars", "--enable-insecure-extension-access"] -CMD ["--api", "--opt-sdp-no-mem-attention", "--opt-channelslast", "--no-half-vae"] +ENTRYPOINT ["python", "launch.py", "--listen", "--data-dir", "/app/data", "--disable-console-progressbars", "--enable-insecure-extension-access", "--api"] diff --git a/README.md b/README.md index 2f839ce..3d20920 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,11 @@ docker push ${IMAGE_NAME}:${VERSION} docker push ${IMAGE_NAME}:latest ``` +### Building an OCI image +``` +nerdctl build --progress=plain --build-arg="VERSION=${VERSION}" --output="type=oci,name=${IMAGE_NAME}:${VERSION},push=true" -t ${IMAGE_NAME}:${VERSION} . +``` + ## Run the container Run the image without retaining any data or outputs on exit: @@ -39,3 +44,4 @@ docker run --tty --gpus all --rm --name stable-diffusion-webui -p 7860:7860 \ # Troubleshooting * There is no output to the console when starting the image until you generate an image. This can be fixed by adding the `--tty` argument after `docker run` + diff --git a/requirements_add.txt b/requirements_add.txt index 589e61b..9dc8e29 100644 --- a/requirements_add.txt +++ b/requirements_add.txt @@ -1,3 +1,4 @@ +# Stable-Diffusion-WebUI-TensorRT nvidia-cudnn-cu11==8.9.4.25 tensorrt==9.0.1.post11.dev4 tensorrt-libs==9.0.1.post11.dev4 @@ -7,3 +8,14 @@ polygraphy==0.49.0 onnx-graphsurgeon==0.3.25 onnxruntime==1.16.3 colored==2.2.3 + +# sd-webui-controlnet +mediapipe==0.10.8 +svglib==1.5.1 +fvcore==0.1.5.post20221221 + +# sd-civitai-browser-plus +ZipUnicode==1.1.1 +Send2Trash==1.8.2 +beautifulsoup4==4.12.2 +fake-useragent==1.4.0 -- GitLab