ComfyUI Nodes Fix MiniMax H3 Latent Saving & Enable Two-Pass Workflows
Neat-Philosopher-867 · reddit · 2026-08-24
The core SaveLatent node in ComfyUI crashes on models like MiniMax H3 that co-generate video and audio in a single nested latent, throwing an AttributeError: 'NestedTensor' object has no attribute 'contiguous'. To fix this, the author released a two-node pack:
- Save AV Latent: Unbinds the nested latent and stores all parts in a single safetensors file (.avlatent).
- Load AV Latent: Rebuilds the latent using ComfyUI's own NestedTensor wrapper, ensuring the 5-D video + 4-D audio mix round-trips correctly.
Use Case: Two-Pass Seed Hunting
- Render cheap low-res previews and save their latents.
- Pick the desired take (now or later).
- Feed that exact latent into an upscale/refine pass (e.g., rockerBOO's h3-latent-upscaler).
This method ensures the refined result maintains the exact composition of the selected preview, avoiding reliance on --cache-lru, re-sampling, or GPU non-determinism, and surviving ComfyUI restarts. Benchmarks on an RTX 4060 Ti 16 GB show a 0.5 MP preview takes 300s, while the refine pass renders 1920x1088 in 1600s with the chosen composition. The project is MIT licensed with no extra dependencies.
More from coding & agent
- Dev shows agents auto-verifying and sending SAFE fundraising docs in parallel — Scobleizer · 2026-11-30
- Ex-Citadel MD: AI will automate equity long-short workflows within 3 years; job seekers should build eval suites — _AustinCalvert_ · 2026-11-30
- Why Google bans users: wrapping Gemini CLI in Claude Code violates consumer ToS — thomasahle · 2026-11-30
- After two Claude account bans, a dev switches to Google AI and moves his Anthropic stock bets to Google — yangyi · 2026-11-30
- Antigravity remote control may not be enabled for enterprise accounts — gharik · 2026-11-30
- How Much Agent Swarm Hype Is Just Distributed Systems Rediscovered? — edgarpavlovsky · 2026-11-30