https://github.com/selcarpa/ComfyUI-ROCm
3.0K
Run ComfyUI on AMD GPUs using ROCm — Pre-built Docker image for AMD Radeon RX 6000/7000/9000 series.
services:
comfyui-rocm:
image: selcarpa/comfyui-rocm:latest
container_name: comfyui-rocm
devices:
- /dev/kfd:/dev/kfd
- /dev/dri:/dev/dri
group_add:
- video
ports:
- "8188:8188"
volumes:
- ./data/models:/workspace/ComfyUI/models
- ./data/output:/workspace/ComfyUI/output
- ./data/input:/workspace/ComfyUI/input
- ./data/custom_nodes:/workspace/ComfyUI/custom_nodes
- ./data/user:/workspace/ComfyUI/user
- ./data/temp:/workspace/ComfyUI/temp
environment:
- HIP_VISIBLE_DEVICES=0
restart: unless-stopped
sudo usermod -a -G render,video $USER
# Log out and log back in for changes to take effect
docker compose up -d
Access ComfyUI at: http://localhost:8188
Place model files in ./data/models/:
data/models/
├── checkpoints/ # Stable Diffusion models
├── vae/ # VAE models
├── loras/ # LoRA files
└── ...
| Variable | Default | Description |
|---|---|---|
HIP_VISIBLE_DEVICES | 0 | GPU device index |
COMFYUI_MANAGER_DISABLED | false | Disable auto-restore of ComfyUI-Manager |
| GPU Series | Architecture | Examples |
|---|---|---|
| RX 9000 | RDNA 4 | RX 9070 XT, RX 9070 |
| RX 7000 | RDNA 3 | RX 7900 XTX, RX 7800 XT |
| RX 6000 | RDNA 2 | RX 6950 XT, RX 6800 |
Tested on: AMD Radeon RX 7800 XT (16GB VRAM, RDNA 3)
For detailed documentation, troubleshooting, and build instructions, visit:
⭐ If this image is useful, please star the repo!
GPL-3.0 | ComfyUI: GPL-3.0 | PyTorch: BSD 3-Clause | AMD ROCm: Open Source
本镜像用于在 AMD GPU 上运行 ComfyUI,支持 RX 6000/7000/9000 系列显卡。
services:
comfyui-rocm:
image: selcarpa/comfyui-rocm:latest
container_name: comfyui-rocm
devices:
- /dev/kfd:/dev/kfd
- /dev/dri:/dev/dri
group_add:
- video
ports:
- "8188:8188"
volumes:
- ./data/models:/workspace/ComfyUI/models
- ./data/output:/workspace/ComfyUI/output
- ./data/input:/workspace/ComfyUI/input
- ./data/custom_nodes:/workspace/ComfyUI/custom_nodes
- ./data/user:/workspace/ComfyUI/user
- ./data/temp:/workspace/ComfyUI/temp
environment:
- HIP_VISIBLE_DEVICES=0
restart: unless-stopped
sudo usermod -a -G render,video $USER
# 注销并重新登录
docker compose up -d
访问 ComfyUI:http://localhost:8188
将模型文件放入 ./data/models/ 目录。
详细文档、故障排除和构建说明请访问:
⭐ 如果觉得有用,请给仓库点个 Star!
GPL-3.0 许可
Content type
Image
Digest
sha256:36e925088…
Size
18.8 GB
Last updated
29 days ago
docker pull selcarpa/comfyui-rocm