Run Stable Diffusion on your machine with a nice UI without any hassle!
sudo dnf install -y nvidia-container-toolkit
sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml
sudo sed -i 's/^#no-cgroups = false/no-cgroups = true/;' /etc/nvidia-container-runtime/config.toml
sudo mkdir -p /usr/share/containers/oci/hooks.d/
cat << '_EOL_' | sudo tee /usr/share/containers/oci/hooks.d/oci-nvidia-hook.json > /dev/null
{
"version": "1.0.0",
"hook": {
"path": "/usr/bin/nvidia-container-runtime-hook",
"args": ["nvidia-container-runtime-hook", "prestart"],
"env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
]
},
"when": {
"always": true,
"commands": [".*"]
},
"stages": ["prestart"]
}
_EOL_
cd /opt
git clone https://github.com/h-mineta/stable-diffusion-webuis-podman.git
cd stable-diffusion-webuis-podman
# check NVIDIA GPU(nvidia-smi)
podman play kube --replace check-nvidia-smi.yaml
podman pod logs check-nvidia
podman pod rm check-nvidia
chmod +x start.sh
./start.sh
Visit the wiki for Setup and Usage instructions, checkout the FAQ page if you face any problems, or create a new issue!
This repository provides multiple UIs for you to play around with stable diffusion:
Full feature list here, Screenshots:
Text to image | Image to image | Extras |
---|---|---|
Full feature list here, Screenshots:
Text to image | Image to image | Extras |
---|---|---|
Full feature list here, Screenshot:
Workflow |
---|
Contributions are welcome! Create a discussion first of what the problem is and what you want to contribute (before you implement anything)
The authors of this project are not responsible for any content generated using this interface.
This license of this software forbids you from sharing any content that violates any laws, produce any harm to a person, disseminate any personal information that would be meant for harm, spread misinformation and target vulnerable groups. For the full list of restrictions please read the license.
Special thanks to everyone behind these awesome projects, without them, none of this would have been possible:
- AUTOMATIC1111/stable-diffusion-webui
- InvokeAI
- ComfyUI
- CompVis/stable-diffusion
- Sygil-webui
- and many many more.