{"id":31540042,"url":"https://github.com/trinitronx/docker-rocm-stable-diffusion-webui","last_synced_at":"2026-02-15T15:46:59.978Z","repository":{"id":304059953,"uuid":"1017368435","full_name":"trinitronx/docker-rocm-stable-diffusion-webui","owner":"trinitronx","description":"ROCm stable-diffusion-webui in Docker","archived":false,"fork":false,"pushed_at":"2025-08-19T18:35:18.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-04T09:52:53.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trinitronx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["trinitronx","LyraPhase"],"patreon":"phasik","ko_fi":"trinitronx","liberapay":"trinitronx","polar":"lyraphase","buy_me_a_coffee":"TrinitronX","custom":["https://paypal.me/JamesCuzella"]}},"created_at":"2025-07-10T12:31:39.000Z","updated_at":"2025-08-20T16:20:47.000Z","dependencies_parsed_at":"2025-07-11T04:09:51.846Z","dependency_job_id":"8caf061b-c348-4b21-989f-1bbade4111ce","html_url":"https://github.com/trinitronx/docker-rocm-stable-diffusion-webui","commit_stats":null,"previous_names":["trinitronx/docker-rocm-stable-diffusion-webui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trinitronx/docker-rocm-stable-diffusion-webui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-rocm-stable-diffusion-webui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-rocm-stable-diffusion-webui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-rocm-stable-diffusion-webui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-rocm-stable-diffusion-webui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trinitronx","download_url":"https://codeload.github.com/trinitronx/docker-rocm-stable-diffusion-webui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-rocm-stable-diffusion-webui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29482803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T15:33:17.885Z","status":"ssl_error","status_checked_at":"2026-02-15T15:32:53.698Z","response_time":118,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-04T09:51:10.695Z","updated_at":"2026-02-15T15:46:59.964Z","avatar_url":"https://github.com/trinitronx.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/trinitronx","https://github.com/sponsors/LyraPhase","https://patreon.com/phasik","https://ko-fi.com/trinitronx","https://liberapay.com/trinitronx","https://polar.sh/lyraphase","https://buymeacoffee.com/TrinitronX","https://paypal.me/JamesCuzella","https://liberapay.com/trinitronx/donate","https://www.buymeacoffee.com/TrinitronX","https://img.shields.io/badge/dynamic/json?logo=patreon\u0026style=for-the-badge\u0026color=ffac00\u0026label=Patreon\u0026query=data.attributes.patron_count\u0026suffix=%20patrons\u0026url=https%3A%2F%2Fwww.patreon.com%2Fapi%2Fcampaigns%2F2379189","https://www.patreon.com/bePatron?u=16585899"],"categories":[],"sub_categories":[],"readme":"# ROCm-enabled Stable Diffusion WebUI in Docker\n\nA Dockerized implementation of [AUTOMATIC1111's Stable Diffusion WebUI][1] with AMD\nROCm 6.4.1 and PyTorch 2.7.1 support.\n\n## Prerequisites\n\n- AMD GPU with ROCm 6.4.1 [supported hardware][2]\n  - This project built \u0026 tested with AMD Radeon RX 7900 XTX\n    - `Navi 31`\n    - RDNA3\n    - `vendor:device` ID: `1002:744c`\n    - LLVM target: `gfx1100`\n  - See [compatibility matrix][3] for specific ROCm version \u0026 LLVM target\n    support\n- Docker installed\n- [`amdgpu` Kernel drivers for ROCm][4]\n  - GPU firmware `linux-firmware-amdgpu`\n- GNU Make 4.0+\n- 100GiB free disk space for Docker image\n- 10GiB+ extra disk space for models\n\n## Quick Start\n\nDuring build \u0026 run steps, the `AUTOMATIC1111/stable-diffusion-webui` project\nwill need to download some large files \u0026 models from HuggingFace on the first\nrun.  It's recommended to generate a HuggingFace token to avoid rate limits.\n\nBefore running either of the commands below, set the `HF_TOKEN` variable to use\nyour token.\n\n```shell\nexport HF_TOKEN='hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' # \u003c- your token here\n```\n\n### Build the Docker Image\n\n```shell\nmake build\n```\n\n### Run the Container\n\n```shell\nmake run\n```\n\nThe WebUI will be available at: [http://localhost:7860](http://localhost:7860)\n\n## Sponsor\n\nIf you find this project useful and appreciate my work,\nwould you be willing to click one of the buttons below to Sponsor this project\nand help me continue?\n\n\u003c!-- markdownlint-disable MD033  --\u003e\n| Method       | Button                                                                                                                               |\n| :----------- | :----------------------------------------------------------------------------------------------------------------------------------: |\n| GitHub       | [![💖 Sponsor](https://trinitronx.github.io/assets/img/gh-button-medium.svg)](https://github.com/sponsors/trinitronx)                                                                                 |\n| Liberapay    | [![Support with Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/trinitronx/donate)                |\n| PayPal       | [![Support with PayPal](https://trinitronx.github.io/assets/img/paypal-button-medium-blue.svg)](https://paypal.me/JamesCuzella)              |\n| Ko-Fi        | [![Support with Ko-Fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/trinitronx)                                     |\n| BuyMeACoffee | [![Buy Me a Coffee](https://trinitronx.github.io/assets/img/bmc-button-medium.svg)](https://www.buymeacoffee.com/TrinitronX) |\n| Polar        | [![Support with Polar](https://trinitronx.github.io/assets/img/polar-button-medium-dark.svg)](https://polar.sh/lyraphase)                   |\n| Patreon \u003csup\u003e(_my artist page_)\u003c/sup\u003e | [![Support with Patreon](https://img.shields.io/badge/dynamic/json?logo=patreon\u0026style=for-the-badge\u0026color=ffac00\u0026label=Patreon\u0026query=data.attributes.patron_count\u0026suffix=%20patrons\u0026url=https%3A%2F%2Fwww.patreon.com%2Fapi%2Fcampaigns%2F2379189)](https://www.patreon.com/bePatron?u=16585899)                                     |\n\u003c!-- markdownlint-enable MD033  --\u003e\n\nEvery little bit is appreciated! Thank you! 🙏\n\n## Project Structure\n\nKey directories:\n\n- `data/`: Persistent storage for:\n  - Models (`models/Stable-diffusion`)\n  - Extensions (`extensions/`)\n  - Configuration files (`config.json`, `ui-config.json`)\n  - Logs (`log/`)\n  - Output image files (`outputs/`)\n  - Last used prompt \u0026 parameters (`params.txt`)\n  - Localization \u0026 translation files (`localizations`)\n  - Cache files (`cache`)\n  - Temporary files (`tmp`)\n- `bin/`: Contains build/run scripts\n- `patches/`: Custom patches applied during build\n\n## Data Persistence\n\nYour models and configurations persist in:\n\n```shell\n./data/\n  ├── models/      # Put models here (.ckpt, .safetensors)\n  ├── extensions/  # WebUI extensions (drag-and-drop folders)\n  └── config.json  # WebUI config (generated on first run)\n```\n\n## Customization\n\n### Modify settings in Web UI\n\n1. Run the container once\n    - A default config is generated under `data/config.json`\n2. Open Web UI in a browser \u0026 navigate to Settings\n3. Change any desired settings\n4. Settings are saved to `data/config.json`\n\n### Modify settings manually\n\n1. Run the container once to generate default config\n2. Edit `data/config.json`\n3. Restart container with `make run`\n\n**Port customization:** Edit the port for the `make run` command:\n\n```bash\n# Change first number to host port\ndocker run -it -p 8080:7860/tcp --cap-add=SYS_PTRACE --security-opt seccomp=unconfined \\\n# ... SNIP ...\n```\n\n## Troubleshooting\n\n### Common issues\n\n- **Port conflict**: Change host port in `make run` script\n- **Permission issues**: Add your user to groups and/or fix permissions\n  - Ensure your user has access to `/dev/kfd` \u0026 `/dev/dri/*` devices (e.g. `video`, `render` groups + `udev` `TAG+=\"uaccess\"` rules)\n  - Ensure your user has write access to `data/` directory\n  - Ensure your user has access to capability `SYS_PTRACE` \u0026 to run `seccomp=unconfined` containers.\n- **GPU detection**: Verify ROCm installation with `rocminfo`\n- **Missing models**:\n  - Place base models in `data/models/Stable-diffusion/`\n  - Place LoRA models in `data/models/Lora/`\n  - Place VAE models in `data/models/VAE/`\n  - Place ESRGAN models in `data/models/ESRGAN/`\n  - Place GFPGAN models in `data/models/GFPGAN/`\n  - Place CodeFormer models in `data/models/Codeformer/`\n  - Place ControlNet models in `data/models/ControlNet/`\n  - Place DeepDanbooru tagging classifier in `data/models/deepbooru/`\n  - Place fine-tuning hypernetworks in `data/models/hypernetworks/`\n  - Place karlo base models in `data/models/karlo/`\n- **Installing Extensions**:\n  - Place extensions as sub-directories in `data/extensions/`\n  - For example: `data/extensions/sd-webui-controlnet`\n\n**View container logs:**\n\nFind the name or ID of the running container with `docker ps`, then run:\n\n```shell\ndocker logs -f $CONTAINER_ID_OR_NAME\n```\n\n## License\n\nAGPLv3 License - See [LICENSE](LICENSE) file\n\n[1]: https://github.com/AUTOMATIC1111/stable-diffusion-webui\n     \"AUTOMATIC1111/stable-diffusion-webui\"\n[2]: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/system-requirements.html#supported-gpus\n     \"AMD ROCm: Supported Hardware\"\n[3]: https://rocm.docs.amd.com/en/latest/compatibility/compatibility-matrix.html#compatibility-matrix\n     \"AMD ROCm: Compatibility matrix\"\n[4]: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/docker.html#running-rocm-docker-containers\n     \"AMD ROCm: Running ROCm Docker containers\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Fdocker-rocm-stable-diffusion-webui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrinitronx%2Fdocker-rocm-stable-diffusion-webui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Fdocker-rocm-stable-diffusion-webui/lists"}