forked from pyrater/docker-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sd-webui.xml
50 lines (50 loc) · 3.72 KB
/
sd-webui.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0"?>
<Container version="2">
<Name>Sygil-webui</Name>
<Repository>hlky/sd-webui:latest</Repository>
<Registry>https://hub.docker.com/r/hlky/sd-webui</Registry>
<Network>bridge</Network>
<MyIP/>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support>https://github.com/Sygil-Dev/sygil-webui/discussions</Support>
<Project>https://github.com/Sygil-Dev/sygil-webui/</Project>
<Overview>/**/ THIS DOCKER TAKES A LONG TIME TO BOOT THE FIRST TIME SEE LOG FOR OUTPUT /**/

Streamlit ui for Stable Diffusion: https://github.com/sd-webui/stable-diffusion-webui/
This now includes all models:

SD v1-4 (ckpt)
Waifu Diffusion (ckpt)
TrinArt (ckpt)
ViT-L-14 (pytorch.bin, used by inference models, is usually ~1.8gb autodownload to ~/.cache/huggingface/transformers)
SD v1-4 (diffusers, used by txt2vid and textual inversion training)
BLIP
CLIP models: ViT-L-14, ViT-H-14, ViT-g-14, used by img2txt
sd-concepts-library: (nearly) 600 pre-trained concepts to use in prompts, autoloaded when the placeholder is used in the prompt.
GFPGAN v1.4 (and other weights that would normally be autodownloaded, detection_Resnet50_Final.pth and parsing_parsenet.pth, ~185MB)
RealESRGAN: RealESRGAN_x4plus and RealESRGAN_x4plus_anime_6B
Latent Diffusion Super Resolution (LDSR)
Notes:

There is also hlky/sd-webui:runpod (vs :latest under the Repository tag) which includes a lot of models already
Most models will unload when you use something else, atm there is a config option for img2txt.keep_all_models_loaded: False if you set this to True img2txt models (the CLIP ones, BLIP stays loaded unless you have optimized mode available) will all stay loaded, by default if a model that is loaded is no longer selected it will be unloaded
volume path now mirrors the repo so is /sd/outputs instead of /sd/user_data/outputs</Overview>
<Category>Status:Beta</Category>
<WebUI>http://[IP]:[PORT:8501]/</WebUI>
<TemplateURL/>
<Icon>https://github.com/pyrater/docker-templates/raw/master/hlky.png</Icon>
<ExtraParams>--runtime=nvidia</ExtraParams>
<PostArgs/>
<CPUset/>
<DateInstalled>1668207923</DateInstalled>
<DonateText/>
<DonateLink/>
<Requires/>
<Config Name="/sd/outputs" Target="/sd/outputs" Default="/mnt/user/appdata/sygil-webui/sd/outputs" Mode="rw" Description="Location to output images" Type="Path" Display="always" Required="ture" Mask="false">/mnt/user/appdata/sygil-webui/sd/outputs</Config>
<Config Name="/sd/user_data" Target="/sd/user_data" Default="/mnt/user/appdata/sygil-webui/sd/user_data" Mode="rw" Description="Location of user data" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/sygil-webui/sd/user_data</Config>
<Config Name="NVIDIA_VISIBLE_DEVICES" Target="NVIDIA_VISIBLE_DEVICES" Default="all" Mode="" Description="" Type="Variable" Display="always" Required="true" Mask="false">all</Config>
<Config Name="/sd/models" Target="/sd/models" Default="/mnt/user/appdata/sygil-webui/sd/models" Mode="rw" Description="Location of diffusion models" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/sygil-webui/sd/models</Config>
<Config Name="/sd/configs/webui/userconfig_streamlit.yaml" Target="/sd/configs/webui/usercofnig_streamlit.yaml" Default="/mnt/user/appdata/sygil-webui/sd/configs/userconfig_streamlit.yaml" Mode="rw" Description="Location of persistent Configuration file" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/sygil-webui/sd/configs/userconfig_streamlit.yaml</Config>
<Config Name="WebUI Port" Target="8501" Default="8501" Mode="tcp" Description="Streamlit WebUI" Type="Port" Display="always" Required="true" Mask="false">8501</Config>
</Container>