Comfy-Org / Comfy-Org/ComfyUI

ROCm Memory access fault

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

Description

Using Arch Linux 6.8.1 with venv.
CPU: Ryzen 5 3600
RAM: 32GB
GPU: Radeon RX 6600 XT

venv creation:
```
python -m venv venv
source venv/bin/activate
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.0
pip install -r requirements.txt
```
(the same error using `https://download.pytorch.org/whl/rocm5.7`)

starting using:
```
HSA_OVERRIDE_GFX_VERSION=10.3.0 python main.py
```

After a few seconds of generating image comfyui crash with
```
Memory access fault by GPU node-1 (Agent handle: 0x629f9f9dae60) on address 0x7cb3770e0000. Reason: Page not present or supervisor privilege.
```

I was using comfyui before pytorch 2.0 and everything was working fine.

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.