Update xformers (#241)

8910bb5a65
This commit is contained in:
AbdBarho
2022-11-25 13:25:10 +01:00
committed by GitHub
parent 23757d2356
commit d20b8732b3
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ services:
<<: *base_service <<: *base_service
profiles: ["auto"] profiles: ["auto"]
build: ./services/AUTOMATIC1111 build: ./services/AUTOMATIC1111
image: sd-auto:17 image: sd-auto:18
environment: environment:
- CLI_ARGS=--allow-code --medvram --xformers - CLI_ARGS=--allow-code --medvram --xformers

View File

@ -26,7 +26,7 @@ RUN . /clone.sh clip-interrogator https://github.com/pharmapsychotic/clip-interr
FROM alpine:3 as xformers FROM alpine:3 as xformers
RUN apk add aria2 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 FROM python:3.10-slim
@ -47,8 +47,8 @@ pip install -r requirements_versions.txt
EOF EOF
COPY --from=xformers /wheel.whl 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.14.dev0-cp310-cp310-linux_x86_64.whl && rm xformers-0.0.14.dev0-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 ENV ROOT=/stable-diffusion-webui