Skip to content

Commit

Permalink
Update versions (AbdBarho#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdBarho committed Jan 22, 2023
1 parent 042d5c5 commit 510f9fa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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=
Expand Down
4 changes: 2 additions & 2 deletions services/AUTOMATIC1111/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions services/invoke/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"


Expand Down
2 changes: 1 addition & 1 deletion services/sygil/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 510f9fa

Please sign in to comment.