driver: reference media ride both phases of a latent-upscaled request; keyframes stay refused by name

Refs carry their own latent grids, so conditioning is grid-independent and
survives the draft->refine canvas switch; only the pack's video-target
segment resizes. shape_job now lays the pack out twice on a wide+refs job
(draft geometry -> seg_s/mod_seg_s/step_rows_s/lat_v_s + pos_small) and
stage_geom/build_step stage the draft tables while small_now holds. The
arch re-derives the pack from the staged geom, so the plugin needs no
change. Keyframes + upscale now refuse with a message that names the
keyframe and latent_upscale and points at sending the frame as a
reference image instead.

Host: 2 new video_gen tests (per-phase seg_cu/geom/lat/pos staging, the
by-name refusal). Device (dual R9700 TP2, dasiwa-fp8): 2x at 704x704
completes in 133s vs 212s un-upscaled, same-seed rerun bit-identical in
video and audio, refs held identity through both phases; t2va+upscale
control clean; fl2va+upscale refused by name.
This commit is contained in:
gearwave00001 committed 2026-10-25 04:10:16 -05:00
1 parent c8e635f4b1
commit 7935897260
7 files changed
+279 -45

No files matched your search

+5 -1
View File
@@ -2998,7 +2998,11 @@ upscaler, re-noised, and the last **`upscale_refine_steps`** run at the full siz
and 12 of the base model's 49 by default). The steps at the small size cost a fraction of a
full-size step's, so most of the time goes to the refinement. The video object of an upscaled
video carries `latent_upscale`, the `upscale_refine_steps` it ran and `upscale_from`, the small
size.
size. REF2VA takes it too — a reference row carries the *reference's own* latent grid, so the
draft and the refine stage condition identically and the pack is simply laid out again at the
draft size. The keyframe tasks refuse it (`i2va`/`l2va`/`fl2va`): a pin sits AT the output frame's
own row on the exact target grid, and a smaller draft canvas leaves the pin between two grids —
run those without `latent_upscale`, or send the frame as a reference image.
```sh
curl -s http://localhost:8000/v1/videos -H 'Content-Type: application/json' -d '{