View on GitHub

docker-rocm-xtra

ROCm docker images with fixes/support for extra architectures, such as gfx803/gfx1010.

Intro

AUTOMATIC1111’s Stable Diffusion Web UI Docker Image for ROCm (supporting extra architectures).

Usage

Automatic way

Clone this repo and execute the docker-run.sh script inside this folder.

Manual way

Create drun alias (if it doesn’t exist yet)

alias drun='sudo docker run -it --network=host --device=/dev/kfd --device=/dev/dri --ipc=host --shm-size 16G --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $HOME/dockerx:/dockerx -v $(pwd):/current'

Create folders (if they doesn’t exist yet)

mkdir cache data outputs

Run container with --medvram

drun --pull=always --rm \
    -v $(pwd)/cache:/root/.cache \
    -v $(pwd)/data:/stable-diffusion-webui/data \
    -v $(pwd)/outputs:/stable-diffusion-webui/outputs \
    ulyssesrr/rocm-xtra-stable-diffusion-webui:latest \
    --medvram