-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsd-webUI.xml
More file actions
54 lines (54 loc) · 3.88 KB
/
sd-webUI.xml
File metadata and controls
54 lines (54 loc) · 3.88 KB
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
51
52
53
54
<?xml version="1.0"?>
<Container version="2">
<Name>sd-webUI</Name>
<Repository>hlky/sd-webui:runpod</Repository>
<Registry>https://hub.docker.com/r/hlky/sd-webui</Registry>
<Network>Bridge</Network>
<MyIP/>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support>https://CREATE_THREAD_IN_FORUM</Support>
<Project>https://github.com/sd-webui/stable-diffusion-webui</Project>
<Overview>Please note that the container images is large at over 4GB 
To use it requires the Nvidia driver installation on your Unraid server for support of Docker. 
This installation needs to support the version of CUDA installed to use with this container.
If you have multiple GPUs in your system with some allocated to VMs, make sure to replace --gpus all with --runtime=nvidia and set the NVIDIA_DRIVER_CAPABILITIES and NVIDIA_VISIBLE_DEVICES variables to only give the container access to selected GPUs.

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:

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>Productivity: MediaApp:Photos</Category>
<WebUI>http://[IP]:[PORT:8501]</WebUI>
<TemplateURL/>
<Icon>https://raw.githubusercontent.com/yourjelly/unraid_xml/main/SDiconpack/SDICO2.ico</Icon>
<ExtraParams>--gpus all</ExtraParams>
<PostArgs>/bin/bash mv -rf /sd /appdata &amp;&amp; ln -s /sd /appdata</PostArgs>
<CPUset/>
<DateInstalled>1665156089</DateInstalled>
<DonateText/>
<DonateLink/>
<Requires/>
<Config Name="Appdata" Target="/appdata" Default="/mnt/user/appdata/sd-webui" Mode="rw" Description="" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/sd-webUI</Config>
<Config Name="Models Path" Target="/sd/models" Default="" Mode="rw" Description="Large diffusion models will be downloaded here &lt;27GB" Type="Path" Display="always" Required="true" Mask="false"></Config>
<Config Name="Output Path" Target="/sd/outputs" Default="" Mode="rw" Description="" Type="Path" Display="always" Required="true" Mask="false"></Config>
<Config Name="WebUI Streamlit" Target="8501" Default="8501" Mode="tcp" Description="" Type="Port" Display="always" Required="true" Mask="false">8501</Config>
<Config Name="Streamlit" Target="STREAMLIT_SERVER_HEADLESS" Default="true" Mode="" Description="" Type="Variable" Display="advanced" Required="true" Mask="false">true</Config>
<Config Name="Streamlit Script" Target="WEBUI_SCRIPT" Default="" Mode="" Description="" Type="Variable" Display="advanced" Required="true" Mask="false">"webui_streamlit.py"</Config>
<Config Name="Validate Diffusion Models" Target="VALIDATE_MODELS" Default="false" Mode="" Description="" Type="Variable" Display="advanced" Required="true" Mask="false">false</Config>
</Container>