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
@@ -108,6 +108,18 @@ private:
|
||||
std::vector<int32_t> mod_seg;
|
||||
int32_t nmod = 0;
|
||||
int64_t lat_v = 0, lat_a = 0;
|
||||
/* A step that is BOTH reference-conditioned and in an upscale's small (draft) phase needs
|
||||
* the pack laid out AGAIN at the small grid: the video target shrinks, so every boundary
|
||||
* after it shifts. These mirror the fields above for that one phase -- `seg_s`/`mod_seg_s`
|
||||
* its boundary tables, `nseg_s`/`nmod_s` their counts, `step_rows_s` its row total, and
|
||||
* `lat_v_s` the small video target's rows (the audio target is the grid-independent
|
||||
* soundtrack, so it needs no small twin). `pos_small` carries the pack's positions here,
|
||||
* where on the plain path it carries the plain layout's. `ref_wide_small` is false for
|
||||
* every plain job and for every wide step of a job that does not upscale. */
|
||||
bool ref_wide_small = false;
|
||||
int32_t nseg_s = 0, nmod_s = 0;
|
||||
std::vector<int32_t> seg_s, mod_seg_s;
|
||||
int64_t step_rows_s = 0, lat_v_s = 0;
|
||||
/* The denoising step's row count: the widened total once references ride, otherwise equal
|
||||
* to `rows`. Only build_step uses it -- the encode, decode, audio and upscale passes keep
|
||||
* staging against the plain `rows` (their segment table and target counts are their own,
|
||||
|
||||
Reference in new issue
Block a user