Commit c005b57a authored by nanahira's avatar nanahira

add more extensions and add deepdanbooru

parent 04f75652
FROM nvidia/cuda:11.7.1-devel-ubuntu22.04
FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04
RUN apt update \
&& apt-key adv --fetch-keys \
......@@ -38,31 +38,49 @@ RUN mkdir repositories && \
git clone https://github.com/Hafiidz/latent-diffusion repositories/latent-diffusion && \
pip install -r repositories/latent-diffusion/requirements.txt --prefer-binary && \
# install requirements of Stable Diffusion
pip install transformers==4.19.2 diffusers invisible-watermark --prefer-binary && \
# update numpy to latest version
pip install -U numpy --prefer-binary && \
# install k-diffusion
pip install git+https://github.com/crowsonkb/k-diffusion.git --prefer-binary && \
pip install \
# (optional) install GFPGAN (face restoration)
pip install git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 --prefer-binary && \
# install requirements of Stable Diffusion
transformers==4.19.2 diffusers invisible-watermark \
# (optional) install requirements for CodeFormer (face restoration)
pip install -r repositories/CodeFormer/requirements.txt --prefer-binary && \
# install k-diffusion
git+https://github.com/crowsonkb/k-diffusion.git \
# update numpy to latest version
pip install -U numpy --prefer-binary && \
# (optional) install GFPGAN (face restoration)
git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 \
# install CLIP
git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 \
pip install git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 --prefer-binary && \
# install xformers
pip install git+https://github.com/facebookresearch/xformers.git@v0.0.13#egg=xformers
# install xformers
git+https://github.com/facebookresearch/xformers.git@v0.0.13#egg=xformers \
# install deepdanbooru
git+https://github.com/KichangKim/DeepDanbooru.git@d91a2963bf87c6a770d74894667e9ffa9f6de7ff#egg=deepdanbooru[tensorflow] tensorflow==2.10.0 tensorflow-io==0.27.0 \
# end install requirements
--prefer-binary && \
# (optional) install requirements for CodeFormer (face restoration)
pip install -r repositories/CodeFormer/requirements.txt --prefer-binary && \
COPY --chown=sd ./requirements.txt ./requirements.txt
RUN pip install -r requirements.txt --prefer-binary
COPY --chown=sd . ./
# Plugins
RUN git clone --depth=1 https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients extensions/aesthetic-gradients && \
git clone --depth=1 https://github.com/yfszzx/stable-diffusion-webui-images-browser extensions/images-browser
git clone --depth=1 https://github.com/yfszzx/stable-diffusion-webui-images-browser extensions/images-browser && \
git clone --depth=1 https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards extensions/wildcards && \
git clone --depth=1 https://github.com/adieyal/sd-dynamic-prompts extensions/dynamic-prompts && \
git clone --depth=1 https://github.com/yfszzx/stable-diffusion-webui-inspiration extensions/inspiration && \
git clone --depth=1 https://github.com/deforum-art/deforum-for-automatic1111-webui extensions/deforum && \
git clone --depth=1 https://github.com/camenduru/stable-diffusion-webui-artists-to-study extensions/artists-to-study && \
git clone --depth=1 https://github.com/tsngo/stable-diffusion-webui-aesthetic-image-scorer extensions/aesthetic-image-scorer && \
git clone --depth=1 https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor extensions/dataset-tag-editor
ENTRYPOINT ["python3", "webui.py"]
CMD ["--listen", "--port", "8080"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment