driver+server: keyframes ride a latent upscale -- pinned at the small size, then re-encoded at the full size

A keyframe is pinned on the grid the steps run on, which is why 7935897 refused it with
latent_upscale. The pin can follow the switch instead: the server prepares each keyframe at the
small size too, the same way as at the canvas (stretch or centre crop), and the driver encodes
that picture into the keyframe's slot before the prompt pass, runs the small steps on the pack it
already lays out at the small size, and after the VUPSCALE pass encodes the canvas picture into
the same slot before the first full-size evaluation. The plugin reads its slots as before, so
neither the plugin nor the ABI changes; rad_builder.h documents the order. References keep their
own grids and are encoded once, as before.

Host: video_gen_test checks the pass order (E C S S U E S A D), each encode's size and slot and the
step rows at both sizes, and that a keyframe without its small picture is refused; videos_test
checks that each keyframe is prepared at both sizes with its stretch/crop and that the tower still
sees the canvas frame only. GUIDE, the ComfyUI node's README and tooltip no longer say keyframes
refuse latent_upscale.
This commit is contained in:
Alex authored and StillDeadcode committed 2026-10-28 12:37:10 +01:00
1 parent 812cdeceb0
commit 9f707a0f67
10 files changed
+181 -33

No files matched your search

@@ -347,8 +347,7 @@ class RadianceMiniMax(io.ComfyNode):
io.Combo.Input("latent_upscale", options=["off", "2", "4"], default="off",
advanced=True,
tooltip="run the early steps at 1/2 or 1/4 of the size, with a "
"container that has the latent upscaler; not with "
"keyframes"),
"container that has the latent upscaler"),
*images, *videos, *tracks, *audios,
io.Int.Input("timeout", default=1800, min=30, max=7200, step=30, advanced=True,
tooltip="seconds to wait for the job"),