Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
c005b57a
Commit
c005b57a
authored
Nov 04, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add more extensions and add deepdanbooru
parent
04f75652
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
15 deletions
+33
-15
Dockerfile
Dockerfile
+33
-15
No files found.
Dockerfile
View file @
c005b57a
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 Diffu
sion
pip install
transformers==4.19.2 diffusers invisible-watermark
--prefer-binary && \
# update numpy to latest ver
sion
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"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment