One ComfyUI node fixed MiniMax H3 OOM on RTX 5090: full workflow for 15s 2K video

denizbuyukayak · reddit · 2026-09-06

After upgrading to a 32GB RTX 5090, the author still hit OOM generating MiniMax H3 videos in ComfyUI—two weeks of flag tweaks (--disable-pinned-memory, --vram-headroom, etc.) failed. The fix: install the H3 Optimizations node pack (github.com/Zironic/H3-Optimizations) and drop an "H3 Memory Optimization" node right before the Basic Guider. With default pinned-memory/dynamic-vram plus Comfy Kitchen Attention (ModelAttentionBackend node), 15-second 2K videos generate without OOM, leaving 8GB VRAM free during sampling with zero speed loss.

Author's favorite speed+quality combo for 2K video:

Caveat: recent ComfyUI 0.5.x builds throw critical CUDA errors 2-3 steps into sampling; stick to 0.4.15 for now.

Original post →

More from Infra

Infra channel →