From 5b547a515db7f632aa0d283d6c160327804cdc9a Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Sat, 1 Oct 2022 10:53:48 +0200 Subject: [PATCH] Restructure data + auto --- data/.gitignore | 13 +++++ docker-compose.yml | 2 +- services/AUTOMATIC1111/Dockerfile | 10 ++-- services/AUTOMATIC1111/mount.sh | 77 ++++++++++++++++++++---------- services/download/checksums.sha256 | 12 ++--- services/download/download.sh | 4 +- services/download/links.txt | 14 +++--- 7 files changed, 84 insertions(+), 48 deletions(-) create mode 100644 data/.gitignore diff --git a/data/.gitignore b/data/.gitignore new file mode 100644 index 0000000..d8caa8b --- /dev/null +++ b/data/.gitignore @@ -0,0 +1,13 @@ +# for all of the stuff downloaded by transformers, pytorch, and others +/.cache +# for all stable diffusion models (main, waifu diffusion, etc..) +/StableDiffusion +# others +/Codeformer +/GFPGAN +/ESRGAN +/BSRGAN +/RealESRGAN +/SwinIR +/LDSR +# TODO: add the embeddings folder here diff --git a/docker-compose.yml b/docker-compose.yml index e3f80b1..a5d8419 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ x-base_service: &base_service ports: - "7860:7860" volumes: - - &v1 ./cache:/cache + - &v1 ./data:/data - &v2 ./output:/output deploy: resources: diff --git a/services/AUTOMATIC1111/Dockerfile b/services/AUTOMATIC1111/Dockerfile index e11d0a5..f6a70a7 100644 --- a/services/AUTOMATIC1111/Dockerfile +++ b/services/AUTOMATIC1111/Dockerfile @@ -49,7 +49,7 @@ RUN pip install --prefer-binary --no-cache-dir -r ${ROOT}/repositories/CodeForme # 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=f80c3696f63a181f720105559d42ee53453ed0eb +ARG SHA=3f417566b0bda8eab05d247567aebf001c1d1725 RUN <