Parcourir la source

Update versions (#302)

Closes #301 

- auto:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/c98cb0f8ecc904666f47684e238dd022039ca16f
- invoke:
https://github.com/invoke-ai/InvokeAI/commit/89791d91e84abfc127ffecca21db68920781709f
AbdBarho il y a 3 ans
Parent
commit
510f9fab2b

+ 2 - 2
docker-compose.yml

@@ -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=

+ 2 - 2
services/AUTOMATIC1111/Dockerfile

@@ -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
 

+ 2 - 2
services/invoke/Dockerfile

@@ -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"
 
 

+ 1 - 1
services/sygil/Dockerfile

@@ -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/