- README: rewritten for this fork — build with docker compose, clone ComfyUI yourself as the mount, gfx1201 (RX 9700) confirmed working - docker-compose.yml: add build: context, local image tag, ./ComfyUI volume, restore shm_size/render group/ipc, remove external proxy-network - docker-run.sh: build locally, matching image tag and container name - add .gitignore for the ComfyUI mount
24 lines
562 B
Bash
Executable File
24 lines
562 B
Bash
Executable File
#!/bin/bash
|
|
# Alternative to docker compose: build and run manually.
|
|
# Clone ComfyUI into ./ComfyUI first:
|
|
# git clone https://github.com/comfyanonymous/ComfyUI
|
|
|
|
set -e
|
|
|
|
docker build -t comfyui-gfx1151:v0.8 .
|
|
|
|
docker run -it --rm \
|
|
--cap-add=SYS_PTRACE \
|
|
--security-opt seccomp=unconfined \
|
|
--device=/dev/kfd \
|
|
--device=/dev/dri \
|
|
--group-add video \
|
|
--group-add render \
|
|
--ipc=host \
|
|
-e TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1 \
|
|
-p 8188:8188 \
|
|
-v $(pwd)/ComfyUI:/opt/ComfyUI \
|
|
--shm-size 8G \
|
|
--name comfyui \
|
|
comfyui-gfx1151:v0.8
|