Comfy-Org / Comfy-Org/ComfyUI

Use system RAM for tiled VAE decode

Open
#9,054 1 comment 0 reactions 0 assignees View on GitHub
bug-cop:answered 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

Running on Windows using ZLUDA it uses system RAM when all VRAM is used. This is a different behavior than on ROCm on Linux. This is due to how WDDM is used on Windows.

I would like to have the same behavior on Linux.

### Actual Behavior

On Linux I get OOM errors.

### Steps to Reproduce

See this thread for more details
https://github.com/ROCm/ROCm/issues/3681#issuecomment-3114488302

### Debug Logs

```powershell
See the linked issue
```

### Other

_No response_

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.