From d20b8732b3d3b50d3d9fb4964c3223230d2a5539 Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Fri, 25 Nov 2022 13:25:10 +0100 Subject: [PATCH] Update xformers (#241) https://github.com/facebookresearch/xformers/commit/8910bb5a6536e01b49f4b85e01868970bfea7850 --- docker-compose.yml | 2 +- services/AUTOMATIC1111/Dockerfile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e0f16ff..5cf0c20 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,7 +27,7 @@ services: <<: *base_service profiles: ["auto"] build: ./services/AUTOMATIC1111 - image: sd-auto:17 + image: sd-auto:18 environment: - CLI_ARGS=--allow-code --medvram --xformers diff --git a/services/AUTOMATIC1111/Dockerfile b/services/AUTOMATIC1111/Dockerfile index c9fd119..3dce5c6 100644 --- a/services/AUTOMATIC1111/Dockerfile +++ b/services/AUTOMATIC1111/Dockerfile @@ -26,7 +26,7 @@ RUN . /clone.sh clip-interrogator https://github.com/pharmapsychotic/clip-interr 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' +RUN aria2c -x 10 --dir / --out wheel.whl 'https://github.com/AbdBarho/stable-diffusion-webui-docker/releases/download/3.1.0/xformers-0.0.15.dev0+4e3631d.d20221125-cp310-cp310-linux_x86_64.whl' FROM python:3.10-slim @@ -47,8 +47,8 @@ pip install -r requirements_versions.txt EOF -COPY --from=xformers /wheel.whl xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl -RUN pip install xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl && rm xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl +COPY --from=xformers /wheel.whl xformers-0.0.15-cp310-cp310-linux_x86_64.whl +RUN pip install xformers-0.0.15-cp310-cp310-linux_x86_64.whl && rm xformers-0.0.15-cp310-cp310-linux_x86_64.whl ENV ROOT=/stable-diffusion-webui