Free | No tracking | Every fact with a source|German and English

Error / Memory

Warning: Ran out of memory when regular VAE decoding, retrying with tiled VAE decoding (VAE decoding falls back to tiles)

At the final step — converting the latent into an image or video — there isn’t enough graphics memory. ComfyUI automatically tries again in tiles; that usually works, but takes much longer. This is especially common with video models like Wan, LTX, and HunyuanVideo.

The message

Warning: Ran out of memory when regular VAE decoding, retrying with tiled VAE decoding.

Affects: ComfyUI

Why is this happening?

The “VAE Decode” node tries to decode the whole image or all frames at once. At high resolution or with many frames, that needs more VRAM than is available. ComfyUI catches the memory error and switches to tile decoding. If the NVIDIA driver moves data to normal RAM during this process (Sysmem Fallback), it becomes even slower.

How to fix it

  1. At first, this is only a warning: if an image or video comes out afterward, nothing is broken.
  2. Replace “VAE Decode” directly with the “VAE Decode (Tiled)” node, and ComfyUI saves the first failed attempt. Default values: tile_size 512, overlap 64, and for video VAEs temporal_size 64 and temporal_overlap 8.
  3. If there still isn’t enough memory, reduce tile_size or, for videos, temporal_size (the number of frames decoded at once).
  4. In the NVIDIA Control Panel, set “CUDA - Sysmem Fallback Policy” to “Prefer No Sysmem Fallback”. According to the ComfyUI developers, this gives you a clear memory error instead of an extremely slow run, and automatic tiling works better.
  5. If you start ComfyUI with --bf16-vae, try it without this switch — that was a suggestion from the ComfyUI team for LTX-Video.
  6. Keep ComfyUI up to date, because memory problems during VAE decoding have been fixed several times with updates.

Better not: Don’t stop the generation as soon as the warning appears — ComfyUI keeps calculating in tiles and usually still delivers the result.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 28, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.