Skip to content

hartmark/sd-rocm

Repository files navigation

Docker Compose for Stable Diffusion for ROCm

Simple docker compose for getting ComfyUI and sd-webui (Forge) up and running with minimal modification on the main system.

Requirements

  • docker-compose
  • AMD GPU (PRs for other cards are welcome)
  • ROCm components
    • I'm on Arch linux and used opencl-amd package
  • checkpoints are saved into data/checkpoints other model files in their respective subfolder, for example data/comfyui/models or data/sd-webui/models

Instructions

  1. clone this repo
  2. open repo directory in terminal
  3. start up the docker container by typing:
    1. docker-compose up
    2. It will take a while to download all python libraries
    3. wait a while until you see the text: To see the GUI go to: http://0.0.0.0:80
    4. After getting that message start ComfyUI by open browser with the following link: http://localhost
    5. or WebUI by going to http://localhost:81

You could also try run the script run-local.sh which will run ComfyUI without any container.

The script creates a marker file that will skip downloading of python libraries to speedup the startup.

Notes

Big thanks for all Open Source gang that have made this possible.

Links

About

Docker Compose for Stable Diffusion ROCm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages