comfyui

ValueError: Buffer too small: needs 56623104 bytes, but only has 35389440.

#5
by benkhaled - opened

hello i manage to load the models easily then when i get to the sampling step i got this error i have rtx 3060 6gb and 16gb of ram

ValueError: Buffer too small: needs 56623104 bytes, but only has 35389440.

Comfy Org org

I believe this error is from mismatch between ComfyUI and comfy-aimdo versions.

got this too.comfy wf tempalte

image

image

I have the same issue. Tried forcing an update to aimdo but it didn't work. It only works if I use --disable-dynamic-vram.
It says it has 0 instead of the '35389440' number you have.

i tried to remove the aimdo and still did not work

i finally solve it just try to reduce the cfg to 1 to unload the unconditional model the main problem was that, or you can try to use the nf4 unconditional model with cfg equal to 2.

Doing it that way breaks the generated picture.

Ideogram_00010_

got this too.
Any fixes?

Is there an actual solution to this (aside from turning the CFG to 1 which ruins the generation)?

It looks like it might be fixed soon: https://github.com/Comfy-Org/ComfyUI/pull/14372

here the fix just go to comfyui root folder then on the search bar type cmd after just copy and paste this
git fetch origin pull/14372/head:pr14372
git checkout pr14372
it did the job for me now it works with 6gb

Sign up or log in to comment