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
- At first, this is only a warning: if an image or video comes out afterward, nothing is broken.
- Replace “VAE Decode” directly with the “VAE Decode (Tiled)” node, and ComfyUI saves the first failed attempt. Default values:
tile_size512,overlap64, and for video VAEstemporal_size64 andtemporal_overlap8. - If there still isn’t enough memory, reduce
tile_sizeor, for videos,temporal_size(the number of frames decoded at once). - 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.
- If you start ComfyUI with
--bf16-vae, try it without this switch — that was a suggestion from the ComfyUI team for LTX-Video. - 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:
- Set up and maintain ComfyUI on Windows
Desktop or Portable, where the models belong, sharing models with other programs, safely installing custom nodes, updates, startup options … - Your First Image with ComfyUI
Install Comfy Desktop, learn the interface, and create your first AI image with FLUX.2 [small] 4B or Z-Image Turbo. - Your First AI Video with LTX in ComfyUI
Use LTX-2.3 in ComfyUI to create short videos with sound from text or an image. Template, files, settings, and license.
Terms for this
Similar errors
- CUDA out of memory (VRAM full)
- Allocation on device (ComfyUI reports too little VRAM)
- HostBuffer.read_file_slice failed (crash caused by the new Dynamic VRAM memory management)
- OSError: [WinError 1455] The paging file is too small for this operation to complete (Windows paging file is too small)
- expected input … to have 4 channels, but got 16 channels instead (latent or VAE does not match the model)
Sources
- https://github.com/comfyanonymous/ComfyUI/blob/master/comfy/sd.py
- https://github.com/Comfy-Org/ComfyUI/issues/10855
- https://github.com/Comfy-Org/ComfyUI/issues/6144
- https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
Checked on Oct 28, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.