Comfy-Org / Comfy-Org/ComfyUI

Krea2 crashes ComfyUI on ROCm 7.14.0a20260624

Open
#14,658 9 comments 1 reaction 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

Krea2 should generate images.

### Actual Behavior

Step 1 in the KSampler crashes the process and leaves a trail of `amdgpu` errors in dmesg. This happens with or without `--disable-dynamic-vram` so it's not an aimdo bug.

I already have `PYTORCH_ALLOC_CONF=expandable_segments:False` because I get bizarre results with it on.

### Steps to Reproduce

Try to run Krea2 with ComfyUI + ROCm.

### Debug Logs

```powershell
The crash looks like this with `--disable-dynamic-vram`:

[INFO] Requested to load Krea2
[INFO] loaded completely; 25115.57 MB usable, 12532.86 MB loaded, full load: True
0%| | 0/8 [00:00

Contributor guide

Open the contributing guide

Research direction

Start by reproducing Krea2 in the KSampler with custom nodes disabled, comparing runs with and without --disable-dynamic-vram and collecting the PyTorch/ROCm output plus dmesg. Done means the KSampler no longer crashes the process and Krea2 generates an image on the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python, pytorch
Domain
ai, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.