A stable diffusion webui configuration for AMD ROCm. This only developed to run on Linux because ROCm is only officially supported on Linux.
This docker container deploys an AMD ROCm 5.4.2 container based on ubuntu 22.04 with pyTorch 2.0. I has the custom version of AUTOMATIC1111 deployed to it so it is optimized for AMD GPUs.
There is currently no dockerhub entry for this yet, so you have to build the docker image for yourself.
docker build . -t 'stable-diffusion-webui-rocm'
docker-compose up
ENV Parameter | Default Value | Possible Values | Notes |
---|---|---|---|
COMMANDLINE_ARGS | (empty) | (string) | |
PORT | 7860 | VALID TCP PORT NUMBER |
Default Volume Name | Container Path | Notes |
---|---|---|
configs | /sd/configs | This does not include web-user.sh or web-ui.json. See Issue #3. |
models | /sd/models | This directory can use lots of space. Plan accordingly |
outputs | /sd/outputs | Location of saved generations goes |
extensions | /sd/extensions | Installed custom extensions |
plugins | /sd/plugins | Installed plugins |