From 3c544dd7f4bb450a6e6e78d218dff5a4c64d6581 Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Sat, 22 Oct 2022 10:44:39 +0200 Subject: [PATCH] SD 1.5 (#164) ### Update versions - auto: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/f49c08ea566385db339c6628f65c3a121033f67c - hlky: https://github.com/sd-webui/stable-diffusion-webui/commit/8d1e42b9c50c747d056b0a98f3c2eb7652fb73a7 - lstein: https://github.com/invoke-ai/InvokeAI/commit/554445a985d970200095bbcb109273a49c462682 --- LICENSE | 6 ++++++ README.md | 6 +++--- docker-compose.yml | 3 +++ services/AUTOMATIC1111/Dockerfile | 16 ++++++++-------- services/download/download.sh | 25 +++++++++++++++---------- services/download/links.txt | 8 ++++++++ services/hlky/Dockerfile | 2 +- services/hlky/run.sh | 2 +- services/hlky/userconfig_streamlit.yaml | 13 +++++++------ services/lstein/Dockerfile | 2 +- 10 files changed, 53 insertions(+), 30 deletions(-) diff --git a/LICENSE b/LICENSE index 636ad71..3599d2b 100644 --- a/LICENSE +++ b/LICENSE @@ -92,5 +92,11 @@ use). By using this software, you also agree to the following licenses: https://github.com/CompVis/stable-diffusion/blob/main/LICENSE +https://github.com/sd-webui/stable-diffusion-webui/blob/master/LICENSE +https://github.com/invoke-ai/InvokeAI/blob/main/LICENSE +https://github.com/cszn/BSRGAN/blob/main/LICENSE +https://github.com/sczhou/CodeFormer/blob/master/LICENSE https://github.com/TencentARC/GFPGAN/blob/master/LICENSE https://github.com/xinntao/Real-ESRGAN/blob/master/LICENSE +https://github.com/xinntao/ESRGAN/blob/master/LICENSE +https://github.com/cszn/SCUNet/blob/main/LICENSE diff --git a/README.md b/README.md index a905bfb..ae0f5b6 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,9 @@ This repository provides multiple UIs for you to play around with stable diffusi | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | | ![](https://user-images.githubusercontent.com/24505302/189541954-46afd772-d0c8-4005-874c-e2eca40c02f2.jpg) | ![](https://user-images.githubusercontent.com/24505302/189541956-5b528de7-1b5d-479f-a1db-d3f5a53afc59.jpg) | ![](https://user-images.githubusercontent.com/24505302/189541957-cf78b352-a071-486d-8889-f26952779a61.jpg) | -### hlky +### hlky (sd-webui) -[hlky's fork](https://github.com/hlky/stable-diffusion-webui) is one of the most popular UIs, with many features: +[hlky's fork](https://github.com/sd-webui/stable-diffusion-webui) is one of the most popular UIs, with many features: - Text to image, with many samplers - Image to image, with masking, cropping, in-painting, variations. @@ -42,7 +42,7 @@ Screenshots: -### lstein +### lstein (InvokeAI) [lstein's fork](https://github.com/invoke-ai/InvokeAI) is one of the earliest with a wonderful WebUI. - Text to image, with many samplers diff --git a/docker-compose.yml b/docker-compose.yml index ec5c4b1..d9fb314 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,6 +27,7 @@ services: <<: *base_service profiles: ["hlky"] build: ./services/hlky/ + image: sd-hlky:1 environment: - CLI_ARGS=--optimized-turbo - USE_STREAMLIT=0 @@ -35,6 +36,7 @@ services: <<: *base_service profiles: ["auto"] build: ./services/AUTOMATIC1111 + image: sd-auto:1 environment: - CLI_ARGS=--allow-code --medvram --xformers @@ -49,6 +51,7 @@ services: <<: *base_service profiles: ["lstein"] build: ./services/lstein/ + image: sd-lstein:1 environment: - PRELOAD=true - CLI_ARGS= diff --git a/services/AUTOMATIC1111/Dockerfile b/services/AUTOMATIC1111/Dockerfile index c36a90e..6181324 100644 --- a/services/AUTOMATIC1111/Dockerfile +++ b/services/AUTOMATIC1111/Dockerfile @@ -20,10 +20,10 @@ EOF RUN git clone https://github.com/crowsonkb/k-diffusion.git repositories/k-diffusion && cd repositories/k-diffusion && git reset --hard f4e99857772fc3a126ba886aadf795a332774878 -FROM python:3.10-slim as xformers -SHELL ["/bin/bash", "-ceuxo", "pipefail"] -RUN pip install gdown -RUN gdown https://drive.google.com/uc?id=1SqwicrLx1TrG_sbbEoIF_3TUHd4EYSmw -O /wheel.whl + +FROM alpine:3 as xformers +RUN apk add aria2 +RUN aria2c --dir / --out wheel.whl 'https://github.com/AbdBarho/stable-diffusion-webui-docker/releases/download/2.1.0/xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl' FROM python:3.10-slim @@ -57,15 +57,15 @@ RUN apt-get install jq moreutils -y # Note: don't update the sha of previous versions because the install will take forever # instead, update the repo state in a later step -ARG SHA=36a0ba357ab0742c3c4a28437b68fb29a235afbe +ARG SHA=f49c08ea566385db339c6628f65c3a121033f67c RUN <