Comfy-Org / Comfy-Org/ComfyUI

Memory access fault by GPU node-1

Open
#11,781 38 comments 4 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

OS: Arch Linux
CPU: Ryzen 7 5700x
Kernel: 6.18.3 and 6.12.63-lts (same result)
GPU: AMD RX 6800 XT (gfx1030, 16 GB VRAM)
RAM: 32 GB
Python: 3.12, 3.13 (same result)
ComfyUI: 0.8.2
Frontend: 1.36.13
PyTorch: 2.11.0.dev + ROCm 7.1
ROCm tested: 6.2, 6.4, 7.1

Model:
Model: sdxl_turbo_fp16
Resolutions: 512×512, 768×768, 1024x1024x

Reproduction:
```
python3 -m venv comfy-env
source comfy-env/bin/activate
pip install comfy-cli
pip install torch torchvision torchaudio \
--index-url https://download.pytorch.org/whl/rocm6.4
comfy --workspace=/home/user/repos/ComfyUI/comfy install
```

PyTorch and Python Versions i tried:
```
❯ python --version
Python 3.13.11
❯ python -c "import torch; print('PyTorch:', torch.__version__); print('ROCm:', torch.version.hip)"
PyTorch: 2.11.0.dev20260108+rocm7.1
ROCm: 7.1.52802

❯ python --version
Python 3.12.12
❯ python -c "import torch; print('PyTorch:', torch.__version__); print('ROCm:', torch.version.hip)"
PyTorch: 2.5.1+rocm6.2
ROCm: 6.2.41133-dd7f95766
```

Error:
Memory access fault by GPU node-1 (Agent handle: 0x577d0d3344f0) on address 0x730e41a5f000. Reason: Page not present or supervisor privilege.

ComfyUI runs fast, but reliably crashes the GPU with a memory access fault after repeated generations, especially when switching resolutions.
After this, GPU execution is broken until ComfyUI is restarted.
I also tried the manual Installation and Installtion with comfy-cli.

How can i solve this problem?

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.