Files
hao-ai-lab-FastVideo/docs/design
3ef2466810 fix(api): propagate generic refine_* args + match internal randn
Three small parity fixes uncovered while comparing the LTX-2 distilled
path against FastVideo-internal:

* `FastVideoArgs.__post_init__` now calls `_resolve_refine_args()` to
  copy the public-facing generic `refine_*` knobs onto their
  `ltx2_refine_*` runtime carriers (mirrors internal lines 303-322).
  Without this, callers that set `refine_lora_path=...` via the typed
  CLI/config surface would silently drop the value, surfacing later as
  the "applied to 0 layers" warning.
* Revert the patch-noise sampler in `_randn_ltx2_video_latents` from
  `randn_tensor` back to `torch.randn` to bit-match internal under
  single-generator inference. `randn_tensor` is identical for a single
  `torch.Generator` but diverges for `list[Generator]` (per-sample
  seeds), which is the only place the two paths could disagree.
* Classify the 19 previously-unclassified `refine_*` / `ltx2_refine_*`
  / `ltx2_audio_latent_path` / `ltx2_images` / `ltx2_image_crf` /
  `ltx2_conditioning_latent_*` / `ltx2_video_conditions` fields in the
  schema-parity inventory yaml so the parity test passes.

Co-authored-by: Junda (David) Su <90978028+Davids048@users.noreply.github.com>
Co-authored-by: Matthew Noto <99706358+RandNMR73@users.noreply.github.com>
Co-authored-by: XOR-op <17672363+XOR-op@users.noreply.github.com>
Co-authored-by: Zhang Peiyuan <42993249+jzhang38@users.noreply.github.com>
2026-05-07 13:37:25 -07:00
..