Comfy-Org / Comfy-Org/ComfyUI

Cuda memory error even when I have memory left

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

Description

I am trying to use the default workflow in comfyUI using sdxl refiner model.
However, I immediately get an error

> Allocation on device 0 would exceed allowed memory. (out of memory) Currently allocated : 1.62 GiB Requested : 25.00 MiB Device limit : 6.00 GiB Free (according to CUDA): 3.45 GiB comfy ui

According to this I still have memory left in my cuda device but I still get the error.
What is the problem here?
Is there any way to solve it?
I am not running anything else on my computer, just comfyUI.

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.