ComfyUI docs: reflect the running GPU (gfx1151) container
Rewrite ComfyUI.md to match reality: comfyui-rocm:gfx1151 built from Containerfile.comfyui on AMD's gfx1151 base, device passthrough, video group only (render is unmappable in rootless), data under /home/dank/comfyui-data, boot-persistent via a user systemd unit. Mark research 'way 1' as applied and update the repo-consequence section (the CPU config is no longer the default).
This commit is contained in:
1 parent
bb188becb0
commit
a6b3d4a522
2 files changed
+39
-32
No files matched your search
@@ -72,9 +72,9 @@ Key facts:
|
||||
|
||||
ComfyUI is a PyTorch app. If you give it a PyTorch wheel with gfx1151 kernels — the AMD `/opt/python` build used by the working vLLM image, or a custom build with `PYTORCH_ROCM_ARCH=gfx1151` — ComfyUI **will** use the GPU via ROCm. The blocker is not ComfyUI; it is shipping it in a container that contains a gfx1151-enabled torch.
|
||||
|
||||
Three ways forward (future work, none applied yet):
|
||||
Three ways forward (way 1 applied 2026-08-19):
|
||||
|
||||
1. **Base a ComfyUI image on the AMD gfx1151 torch build.** Take `rocm/vllm:...gfx1151...pytorch_2.9.1...` (or AMD's PyTorch wheel index) and install ComfyUI on top. This is the direct path to GPU ComfyUI.
|
||||
1. **Base a ComfyUI image on the AMD gfx1151 torch build.** Take `rocm/vllm:...gfx1151...pytorch_2.9.1...` (or AMD's PyTorch wheel index) and install ComfyUI on top. This is the direct path to GPU ComfyUI. **Applied:** the running `comfyui-rocm:gfx1151` image does exactly this (see `dankclaw/Containerfile.comfyui`).
|
||||
2. **Build PyTorch for gfx1151** (`export PYTORCH_ROCM_ARCH=gfx1151` before build). Slow build, but a self-contained wheel afterwards.
|
||||
3. **Use a ggml-family runtime instead** — stable-diffusion.cpp / Lemonade's `sd.cpp` backend ship their own gfx1151 HIP kernels and work today (see [[Lemonade and sd.cpp]]).
|
||||
|
||||
@@ -87,7 +87,7 @@ Three ways forward (future work, none applied yet):
|
||||
|
||||
## Consequence for this repo
|
||||
|
||||
The current `dankclaw/compose.yaml` runs ComfyUI with `--cpu`. That remains correct **until a gfx1151-enabled torch image is built**. When GPU priority arrives, swap the image for one based on the AMD Strix-savvy build and drop `--cpu`.
|
||||
**Applied 2026-08-19.** `dankclaw/compose.yaml` now builds `comfyui-rocm:gfx1151` from `dankclaw/Containerfile.comfyui` (based on the AMD gfx1151 base), passes `/dev/kfd` + `/dev/dri`, adds the `video` group, and drops `--cpu`. The container runs on the Radeon 8060S (gfx1151) and is boot-persistent via a user systemd unit. See [[ComfyUI]] for the running config.
|
||||
|
||||
## Cleanup note
|
||||
|
||||
|
||||
Reference in new issue
Block a user