Files
comfyui-gfx1151/docker-run.sh
T
hermes 6cf465cb5c Update to ROCm 10.1.0 / PyTorch 2.13 base image
- FROM rocm/pytorch:rocm10.1.0_ubuntu24.04_py3.12_pytorch_release_2.13.0
- Install git via apt (no longer bundled in ROCm 10.x images)
- Add LD_LIBRARY_PATH/LIBRARY_PATH for the _rocm_sdk_* wheel layout
  (fixes aiter JIT 'ld: cannot find -lamdhip64' with flash-attention)
- compose: persist aiter + Triton JIT kernel caches in ./cache/
- check-comfyui.sh: mkdir -p /opt/ComfyUI before copying pre-cloned
- Bump image tag v0.8 -> v1.0, README versions
2026-10-26 22:11:18 +00:00

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:v1.0 .
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:v1.0