Comfy-Org / Comfy-Org/ComfyUI

[Bug Report] Z-Image-Turbo ,HIP error: illegal memory access on AMD ROCm 7.1 (gfx1201) RX9070

Open
#10,997 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Describe the bug
I am encountering a `HIP error: an illegal memory access was encountered` crash when attempting to run a generation using the [Z-Image-Turbo].

I am running on bleeding-edge AMD hardware (gfx1201 / RX9070) with ROCm 7.1 and PyTorch Nightly.

### System Info
- **OS**: Linux (Ubuntu 24.04 LTS)
- **GPU**: AMD Radeon RX9070 (gfx1201)
- **ROCm Version**: 7.1 (native)
- **PyTorch Version**: 2.10.0.dev20251123+rocm7.1
- **Python**: 3.12.3
- **ComfyUI Version**: 0.3.75

### Console Logs
```text
Total VRAM 16304 MB, total RAM 31692 MB
pytorch version: 2.10.0.dev20251123+rocm7.1
Set: torch.backends.cudnn.enabled = False for better AMD performance.
AMD arch: gfx1201
ROCm version: (7, 1)
...
Requested to load Lumina2
loaded completely; 13034.80 MB usable, 11739.55 MB loaded, full load: True
0%| | 0/4 [00:00

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.