Skip to content

lslowmotion/stable-diffusion-webui-podman

 
 

Repository files navigation

Stable Diffusion WebUI Podman

Run Stable Diffusion web browser accessible UI on your CUDA/ROCm machine without any hassle!

NOTE:

  • Supports AUTOMATIC1111 and ComfyUI
  • Supports CUDA and ROCm
  • Supports SD 1.5 and SDXL for AUTOMATIC1111 and ComfyUI
  • Supports SD 3 for ComfyUI
  • Requires podman-compose 1.1.0 or newer

Quick Setup

Download necessary models

podman-compose --profile download build
podman-compose --profile download up -d

Run AUTOMATIC1111 Stable Diffusion Web UI with CUDA support

podman-compose --profile auto-cuda build
podman-compose --profile auto-cuda up -d

You can change --profile auto-cuda to different profile:

Profile Description
auto-cuda AUTOMATIC1111 with CUDA support
auto-rocm AUTOMATIC1111 with ROCm support
comfyui-cuda ComfyUI with CUDA support
comfyui-rocm ComfyUI with ROCm support

Set the container as systemd service to allow running on user login

Create AUTOMATIC1111 Stable Diffusion Web UI Podman service

Find the name of the running container

podman ps

Set the container as systemd service. E.g. for container named webui-podman_auto_1:

podman generate systemd --new webui-podman_auto_1 > ~/.config/systemd/user/automatic1111.service

Enable and run AUTOMATIC1111 Stable Diffusion Web UI Podman service

systemctl --user enable --now automatic1111.service

Stable Diffusion 3

Download models here: Stable Diffusion 3 on HuggingFace

Put SD3 models here:

/data/models/Stable-diffusion

Put SD3 text encoders here:

/data/models/CLIPEncoder

Features

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, Screenshot:

Workflow

Contributing

Contributions are welcome! Create a discussion first of what the problem is and what you want to contribute (before you implement anything)

Disclaimer

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.

Thanks

Special thanks to everyone behind these awesome projects, without them, none of this would have been possible:

About

Easy Podman setup for Stable Diffusion with user-friendly UI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 46.1%
  • Dockerfile 37.4%
  • Python 16.5%