Fixing LTX-2.5 ComfyUI CUDA Out-of-Memory (OOM) Errors
Most LTX-2.5 crashes happen at the very last second—during BF16 Video VAE decoding or when Gemma 4 12B stays resident in VRAM. Fix them in four steps.
1. OOM at 99% Progress (Video VAE Decode Spike)
Even when the 22B transformer finishes denoising cleanly, decoding a 1080p or 4K latent sequence through the BF16 Video VAE spikes VRAM dramatically. Always swap the standard VAE Decode node for Tiled VAE Decode on any GPU with 24 GB VRAM or less.
2. Force Sequential Offloading for Gemma 4 12B
Never keep Gemma 4 12B loaded in VRAM while the 22B DiT runs. Launch ComfyUI with --lowvram (or --novram on 12 GB cards) so ComfyUI flushes the text encoder back to system RAM immediately after prompt conditioning finishes:
python main.py --lowvram --reserve-vram 1.5 --preview-method auto 3. Use Valid 8n + 1 Frame Counts
Like previous LTX architectures, temporal latent compression expects frame counts following 8n + 1 (e.g., 97, 121, 161, 257). Non-aligned frame counts waste memory padding and can trigger subtle audio-video drift.