Skip to content

Commit 78c90e5

Browse files
authored
Update auto & invoke (#277)
- auto: AUTOMATIC1111/stable-diffusion-webui@524d532 - invoke: invoke-ai/InvokeAI@524d532 Happy new Year!!!
1 parent 6a3826c commit 78c90e5

5 files changed

Lines changed: 7 additions & 23 deletions

File tree

docker-compose.yml

Lines changed: 2 additions & 2 deletions
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:25
30+
image: sd-auto:26
3131
environment:
3232
- CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api
3333

@@ -58,7 +58,7 @@ services:
5858
<<: *base_service
5959
profiles: ["invoke"]
6060
build: ./services/invoke/
61-
image: sd-invoke:14
61+
image: sd-invoke:15
6262
environment:
6363
- PRELOAD=true
6464
- CLI_ARGS=

services/AUTOMATIC1111/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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=4af3ca5393151d61363c30eef4965e694eeac15e
71+
ARG SHA=524d532b387732d4d32f237e792c7f201a934400
7272
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
7373
cd stable-diffusion-webui
7474
git fetch

services/invoke/Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ cd /usr/lib/x86_64-linux-gnu/pkgconfig/
3333
ln -sf opencv4.pc opencv.pc
3434
EOF
3535

36-
ARG BRANCH=main SHA=ffa54f4a35ed1aa5a574f911de9dab777cf01f3e
36+
ARG BRANCH=main SHA=caf7caddf7230b36f793af52c2bc97332c025a07
3737
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
3838
git fetch
3939
git reset --hard
@@ -43,14 +43,12 @@ pip install -r binary_installer/py3.10-linux-x86_64-cuda-reqs.txt
4343
EOF
4444

4545
RUN --mount=type=cache,target=/root/.cache/pip \
46-
pip install --force-reinstall opencv-python-headless && python3 -c "from patchmatch import patch_match"
46+
pip install -U --force-reinstall opencv-python-headless huggingface_hub && \
47+
python3 -c "from patchmatch import patch_match"
4748

4849

50+
RUN touch invokeai.init
4951
COPY . /docker/
50-
RUN <<EOF
51-
python3 /docker/info.py /stable-diffusion/frontend/dist/index.html
52-
touch invokeai.init
53-
EOF
5452

5553

5654
ENV ROOT=/stable-diffusion PYTHONPATH="${PYTHONPATH}:${ROOT}" PRELOAD=false CLI_ARGS=""

services/invoke/entrypoint.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ MOUNTS["${ROOT}/models/bert-base-uncased"]=/data/.cache/huggingface/transformers
1919
MOUNTS["${ROOT}/models/openai/clip-vit-large-patch14"]=/data/.cache/huggingface/transformers/
2020
MOUNTS["${ROOT}/models/CompVis/stable-diffusion-safety-checker"]=/data/.cache/huggingface/transformers/
2121

22-
2322
MOUNTS["${ROOT}/embeddings"]=/data/embeddings/
2423

2524
# hacks

services/invoke/info.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)