Verify latent round trip and refine-pass cost #20
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/ai-studio#20
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #1
Question
Does the split-latent round trip from "Reusing H3 AV latents across jobs" (#14) actually work in the owner's ComfyUI? Run the reference workflow once as a single job. Then run it split in two: a draft job (
LTXVSeparateAVLatent→ twoSaveLatent), restart ComfyUI, and a Promotion job (twoLoadLatent→MinimaxH3LatentUpscaler3D→LTXVConcatAVLatent→ 2nd pass, conditioning rebuilt, audio noise mask re-applied). Compare the outputs. While it runs, record the 2nd pass's peak VRAM and runtime at the intended final size on the 5090, which "Local finishing pass for final Renditions" (#15) left unmeasured. See branchresearch/h3-latent-reusefor the recipe.Resolution
Done. The split-latent round trip works, including across a ComfyUI restart. Run on 2026-10-06, ComfyUI 0.39.0, RTX 5090.
LoadLatent "… [output]"→MinimaxH3LatentUpscaler3D→LTXVConcatAVLatent→ 2nd pass, conditioning rebuilt) matches the single-job baseline to within GPU nondeterminism. Video PSNR baseline vs Promotion is 41.7 dB mean, about the same as Promotion vs Promotion from identical latents (42.2 dB).SaveLatenton the raw AV latent fails with'NestedTensor' object has no attribute 'contiguous', as predicted.Cost at ~1080p (1984×1120): Promotion only takes 92.5 s cold or 83.5 s warm for 5 s, and 283 s for 15 s (362 frames). The single job (draft + finish) takes 167 s for 5 s, and the 15 s draft takes 278 s. Peak VRAM saturates at ~31.8/32.6 GB in every run with no OOM, so 15 s finals at ~1080p fit. Latents: 14.7 MB (5 s) and 42.4 MB (15 s).
Details, job graphs and the job-splitting script: branch
research/h3-latent-reuse,research/h3-latent-reuse-run/README.md.