Files
hao-ai-lab-FastVideo/fastvideo
25897b677e [fix]: unwrap list-of-generator before torch.randn in LTX-2 latent prep
InputValidationStage normalizes generator to a one-element list when
num_videos_per_prompt == 1, but torch.randn only accepts a single
torch.Generator. Unwrap the list here to keep the single-sample path
working. Batched sampling (>1) currently collapses to the first
generator — flagged in a comment for the future batched-inference path.

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-05 03:05:53 -07:00
..
2026-01-05 15:47:05 -06:00