Update versions (#302)

Closes #301 

- auto:
c98cb0f8ec
- invoke:
89791d91e8
This commit is contained in:
AbdBarho 2023-01-22 20:32:03 +01:00 committed by GitHub
parent 042d5c561c
commit 510f9fab2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -27,7 +27,7 @@ services:
<<: *base_service
profiles: ["auto"]
build: ./services/AUTOMATIC1111
image: sd-auto:35
image: sd-auto:36
environment:
- CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api
@ -42,7 +42,7 @@ services:
<<: *base_service
profiles: ["invoke"]
build: ./services/invoke/
image: sd-invoke:18
image: sd-invoke:19
environment:
- PRELOAD=true
- CLI_ARGS=

View File

@ -67,7 +67,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
# 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=6faae2323963f9b0e0086a85b9d0472a24fbaa73
ARG SHA=c98cb0f8ecc904666f47684e238dd022039ca16f
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
cd stable-diffusion-webui
git fetch
@ -76,7 +76,7 @@ pip install -r requirements_versions.txt
EOF
RUN --mount=type=cache,target=/root/.cache/pip \
pip install -U opencv-python-headless transformers>=4.24
pip install -U opencv-python-headless 'transformers>=4.24'
COPY . /docker

View File

@ -46,7 +46,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
pip install triton /xformers-0.0.15-cp310-cp310-linux_x86_64.whl
ARG BRANCH=main SHA=f232068ab89bd80e4f5f3133dcdb62ea78f1d0f7
ARG BRANCH=main SHA=89791d91e84abfc127ffecca21db68920781709f
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
git fetch
git reset --hard
@ -58,7 +58,7 @@ rm req.txt
EOF
RUN --mount=type=cache,target=/root/.cache/pip \
pip install -U --force-reinstall opencv-python-headless huggingface_hub transformers>=4.24 && \
pip install -U --force-reinstall opencv-python-headless huggingface_hub 'transformers>=4.24' && \
python3 -c "from patchmatch import patch_match"

View File

@ -28,7 +28,7 @@ git reset --hard ${SHA}
pip install -r requirements.txt
EOF
RUN --mount=type=cache,target=/root/.cache/pip pip install transformers==4.24.0
RUN --mount=type=cache,target=/root/.cache/pip pip install -U 'transformers>=4.24'
# add info
COPY . /docker/