Comfy-Org / Comfy-Org/ComfyUI

ComfyUI regression for AMD GPUs since 2026-01-31 (commit f8acd9c40)

Open
#13,182 1 comment 0 reactions 1 assignee Claimed by @rattus128 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

The command 'python main.py' should run successfully on AMD RADEON RX 7900 XTX with ROCm 7.2 without requiring NVIDIA-specific dependencies. This used to be the case.

### Actual Behavior

Running:
` python main.py `
results in a ModuleNotFoundError: 'No module named comfy_aimdo'.
The dependency comfy_aimdo (introduced in commit #f8acd9c40) only supports NVIDIA GPUs.

Attempts to remove the dependency from requirements.txt and import statements lead to many additional NameError exceptions due to missing comfy_aimdo function references.

### Steps to Reproduce

- Tested using an AMD RADEON RX 7900 XTX with ROCm 7.2 (although ROCm is irrelevant - this can be even tested/verified on NVIDIA simply by not installing comfy_aimdo requirement.
- Check out commit #f8acd9c40.
- Run `python main.py`
-Observe the ModuleNotFoundError for comfy_aimdo.

- Next, check out the earlier working commit #873de5f
- Verify `python main.py` no longer produces comfy_aimdo errors.

### Debug Logs

```powershell
Line 34 main.py
ModuleNotFoundError: 'No module named comfy_aimdo'

(Sorry, I cannot post full logs for security reasons.)
```

### Other

I haven't seen this reported already as an issue or in documentation. My apologies if it has.
My GPU is: AMD RADEON RX 7900 XTX with ROCm 7.2

The earlier working commit #873de5f _does_ raise a secondary 'ModuleNotFoundError: 'no module named torchsde' in comfy/k_diffusion/sampling.py. (I don't think torchsde is available/needed for ROCm 7.2). Hopefully that dependency issue has already been fixed since.
For now I have mitigated it by commenting out the import on line 7 and the function call to BatchedBrownianTree() on line 142 of the file. Hopefully that call is not too important :) In any case, if it hasn't already been fixedit should be a separate but similar issue._

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.