Просмотр исходного кода

Pin xformers (for now) (#651)

Closes #648
Closes #649
AbdBarho 2 лет назад
Родитель
Сommit
015c2ec829
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      docker-compose.yml
  2. 2 2
      services/AUTOMATIC1111/Dockerfile

+ 1 - 1
docker-compose.yml

@@ -29,7 +29,7 @@ services:
     <<: *base_service
     <<: *base_service
     profiles: ["auto"]
     profiles: ["auto"]
     build: ./services/AUTOMATIC1111
     build: ./services/AUTOMATIC1111
-    image: sd-auto:71
+    image: sd-auto:72
     environment:
     environment:
       - CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api
       - CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api
 
 

+ 2 - 2
services/AUTOMATIC1111/Dockerfile

@@ -43,12 +43,12 @@ RUN --mount=type=cache,target=/root/.cache/pip \
   pip install -r ${ROOT}/repositories/CodeFormer/requirements.txt
   pip install -r ${ROOT}/repositories/CodeFormer/requirements.txt
 
 
 RUN --mount=type=cache,target=/root/.cache/pip \
 RUN --mount=type=cache,target=/root/.cache/pip \
-  pip install pyngrok xformers \
+  pip install pyngrok xformers==0.0.23.post1 \
   git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 \
   git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 \
   git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 \
   git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 \
   git+https://github.com/mlfoundations/open_clip.git@v2.20.0
   git+https://github.com/mlfoundations/open_clip.git@v2.20.0
 
 
-# there seems to be a memory leak (or maybe just memory not being freed fast eno8ugh) that is fixed by this version of malloc
+# there seems to be a memory leak (or maybe just memory not being freed fast enough) that is fixed by this version of malloc
 # maybe move this up to the dependencies list.
 # maybe move this up to the dependencies list.
 RUN apt-get -y install libgoogle-perftools-dev && apt-get clean
 RUN apt-get -y install libgoogle-perftools-dev && apt-get clean
 ENV LD_PRELOAD=libtcmalloc.so
 ENV LD_PRELOAD=libtcmalloc.so