mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-15 07:12:58 +03:00
dff2d6e60f
# Description AMD support can be built by prefixing your compose commands with `docker compose -f docker-compose.yml -f docker-compose.amd.yml ...` or, by setting ``` export COMPOSE_FILE=docker-compose.yml:docker-compose.amd.yml ``` in your `.profile` or through a tool like `direnv` Closes: Discord #installation-packing:AMD, at least for Linux hosts # Checklist: - [x] I have changed the base branch to `dev` - [x] I have performed a self-review of my own code - [x] I have commented my code in hard-to-understand areas - [x] I have made corresponding changes to the documentation
9 lines
179 B
YAML
9 lines
179 B
YAML
services:
|
|
stable-diffusion:
|
|
build:
|
|
args:
|
|
PYTORCH_IMAGE: rocm/pytorch:rocm5.2.3_ubuntu20.04_py3.7_pytorch_1.12.1
|
|
devices:
|
|
- /dev/dri
|
|
- /dev/kfd
|