ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Why does Upscale Latent use more memory?

Open m8rr opened this issue 1 year ago • 2 comments

Custom Node Testing

Your question

Let's try using WAN 2.2.

Starting with an empty 720p latent > sampling. Success.

Starting with empty 480p latent > decoding > upscaling image to 720p > encoding > resampling. Success.

Starting with empty 480p latent > upscaling to 720p with Upscale Latent > resampling. OOM or It becomes incredibly slow as it starts using shared GPU memory.

Ultimately, it all ends up being the same 720p latent. Why is there a difference?

Logs


Other

No response

m8rr avatar Aug 12 '25 09:08 m8rr

When I used wan2.2-fp8 to generate images, the high model used around 15GB of VRAM, but the low model exceeded 16GB, which is much more than the previous two days. When it started using shared GPU memory, it became very slow.

2259819800 avatar Aug 13 '25 07:08 2259819800

For some reason, fine now, I must have done something wrong. Never mind.

m8rr avatar Aug 14 '25 05:08 m8rr