Skip to content

Commit 9b1ea3c

Browse files
authored
[MAJOR] Update auto to torch 1.13.1 (#290)
AUTOMATIC1111/stable-diffusion-webui@82725f0 torch==1.13.1+cu117 This might break your extensions!
1 parent b5cdf29 commit 9b1ea3c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ services:
2727
<<: *base_service
2828
profiles: ["auto"]
2929
build: ./services/AUTOMATIC1111
30-
image: sd-auto:31
30+
image: sd-auto:32
3131
environment:
3232
- CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api
3333

services/AUTOMATIC1111/Dockerfile

+7-7
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,25 @@ RUN . /clone.sh k-diffusion https://github.com/crowsonkb/k-diffusion.git 5b3af03
2424
RUN . /clone.sh clip-interrogator https://github.com/pharmapsychotic/clip-interrogator 2486589f24165c8e3b303f84e9dbbea318df83e8
2525

2626

27-
FROM alpine:3 as xformers
28-
RUN apk add aria2
29-
RUN aria2c -x 5 --dir / --out wheel.whl 'https://github.com/AbdBarho/stable-diffusion-webui-docker/releases/download/4.0.0/xformers-0.0.16rc393-cp310-cp310-manylinux2014_x86_64.whl'
27+
FROM alpine:3.17 as xformers
28+
RUN apk add --no-cache aria2
29+
RUN aria2c -x 5 --dir / --out wheel.whl 'https://github.com/AbdBarho/stable-diffusion-webui-docker/releases/download/4.1.0/xformers-0.0.16.dev421-cp310-cp310-manylinux2014_x86_64.whl'
3030

31-
FROM python:3.10-slim
31+
FROM python:3.10.9-slim
3232

3333
SHELL ["/bin/bash", "-ceuxo", "pipefail"]
3434

3535
ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1
3636

37-
RUN PIP_NO_CACHE_DIR=1 pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116
37+
RUN PIP_NO_CACHE_DIR=1 pip install torch==1.13.1+cu117 torchvision --extra-index-url https://download.pytorch.org/whl/cu117
3838

3939
RUN apt-get update && apt install fonts-dejavu-core rsync git jq moreutils -y && apt-get clean
4040

4141

4242
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
4343
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
4444
cd stable-diffusion-webui
45-
git reset --hard 4af3ca5393151d61363c30eef4965e694eeac15e
45+
git reset --hard d7aec59c4eb02f723b3d55c6f927a42e97acd679
4646
pip install -r requirements_versions.txt
4747
EOF
4848

@@ -68,7 +68,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
6868
# Note: don't update the sha of previous versions because the install will take forever
6969
# instead, update the repo state in a later step
7070

71-
ARG SHA=2b94ec78869db7d2beaad23bdff47340416edf85
71+
ARG SHA=82725f0ac439f7e3b67858d55900e95330bbd326
7272
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
7373
cd stable-diffusion-webui
7474
git fetch

0 commit comments

Comments
 (0)