Archived
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:
1 parent
c8e635f4b1
commit
7935897260
7 files changed
+279
-45
No files matched your search
+5
-1
@@ -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 '{
|
||||
|
||||
+12
-4
@@ -334,10 +334,18 @@ as point 6 / point 4. Nothing here claims to match ComfyUI's timings.
|
||||
budget (point 2) and the interleaving mod-group ceiling (point 1) remain the true binding limits
|
||||
at high resolution, and now bind for real, since videos reopen the video-conditioned cell.
|
||||
|
||||
5. **References and latent upscaling are mutually exclusive.** Combining the widened reference
|
||||
layout with the small-size-then-upscale denoise is not unified; a request asking for both is
|
||||
refused at submit (*"reference conditioning does not yet combine with latent upscale"*). Ask for
|
||||
the target size directly.
|
||||
5. **References combine with latent upscaling; keyframes do not.** The pack is laid out **twice**
|
||||
for an upscaled reference job — once over the draft geometry and once over the full one — because
|
||||
the video target segment changes size between the stages and every boundary at or after it moves
|
||||
with it (the reference and audio segments are grid-independent, so their rows are identical in
|
||||
both). The driver stages the draft phase's table while `small_now` holds and the full one after
|
||||
the upscale pass; the plugin needs no change — it re-derives the pack from the staged
|
||||
`RadVideoGenBatch::geom`, which already switches per phase. Endpoint keyframes stay refused with
|
||||
`latent_upscale` *on semantics*: a pin is the keyframe latent at the output frame's own row on
|
||||
the exact target grid, two canvases leave it with no single row to sit on, and every repair
|
||||
(re-encode per stage, pin one stage only) alters the trajectory toward the pinned endpoint with
|
||||
no reference workflow to verify against. The refusal names the knob and points at the reference
|
||||
route.
|
||||
|
||||
6. **Numeric parity with the reference denoiser for the *conditioned* step is not yet published.**
|
||||
A per-tensor / perceptual match to ComfyUI's outputs for the wide step remains an open parity task
|
||||
|
||||
Reference in new issue
Block a user