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
- A versioned bootstrap loader pattern for keeping AI-generated code always shippable — NickPassig · 2026-10-15
- Amazon blocks AI shopping agents; Maritime offers $1/month Android MCP workaround — Scobleizer · 2026-10-15
- Dev vibe-codes open-source newsletter platform, 83% cheaper than Beehiiv from $19/mo — marclou · 2026-10-15
- ERP AI launches Proto: 'headless SaaS' business software built for AI agents — Aiden_Tech_Ai · 2026-10-15
- Engineering managers need deep reading, not just agent summaries: 5 recommended resources — rseroter · 2026-10-15
- Adding motion graphics with just a prompt: the Claude Motion x ElevenLabs MCP workflow — CurieuxExplorer · 2026-10-15