From 5698c49653dcda6d02b23d4c049971c24318bf64 Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Sun, 9 Oct 2022 11:39:31 +0200 Subject: [PATCH] Update versions (#121) - auto: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/050a6a798cec90ae2f881c2ddd3f0221e69907dc - Now uses python 3.10 - requires a complete re-install - Image is now smaller (5.7GB vs 9.8GB) - hlky: https://github.com/sd-webui/stable-diffusion-webui/commit/fe6e72fde79214aa848d47afe74487d9855b8643 - lstein: https://github.com/lstein/stable-diffusion/commit/31869885d9d3ee1e62c1109fb141e828e9a0e833 - img2img now works --- .github/pull_request_template.md | 2 +- services/AUTOMATIC1111/Dockerfile | 14 +++++++------- services/hlky/Dockerfile | 9 ++------- services/lstein/Dockerfile | 6 +----- 4 files changed, 11 insertions(+), 20 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 01b8ce5..619b7c6 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -2,4 +2,4 @@ - auto: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/ - hlky: https://github.com/sd-webui/stable-diffusion-webui/commit/ -- lstein: https://github.com/lstein/stable-diffusion/commit/ +- lstein: https://github.com/invoke-ai/InvokeAI/commit/ diff --git a/services/AUTOMATIC1111/Dockerfile b/services/AUTOMATIC1111/Dockerfile index 6e5dad4..e354dc2 100644 --- a/services/AUTOMATIC1111/Dockerfile +++ b/services/AUTOMATIC1111/Dockerfile @@ -20,23 +20,22 @@ EOF RUN git clone https://github.com/crowsonkb/k-diffusion.git repositories/k-diffusion && cd repositories/k-diffusion && git reset --hard f4e99857772fc3a126ba886aadf795a332774878 -FROM continuumio/miniconda3:4.12.0 +FROM python:3.10-slim SHELL ["/bin/bash", "-ceuxo", "pipefail"] -ENV DEBIAN_FRONTEND=noninteractive +ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1 PIP_NO_CACHE_DIR=1 -RUN conda install python=3.8.5 && conda clean -a -y -RUN conda install pytorch==1.11.0 torchvision==0.12.0 cudatoolkit=11.3 -c pytorch && conda clean -a -y +RUN pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113 -RUN apt-get update && apt install fonts-dejavu-core rsync -y && apt-get clean +RUN apt-get update && apt install fonts-dejavu-core rsync git -y && apt-get clean RUN <