LTX-2 icon indicating copy to clipboard operation
LTX-2 copied to clipboard

Question: Can the Distilled Model Be Used for A2Vid Generation?

Open l1346792580123 opened this issue 3 months ago • 2 comments

Thanks for open-sourcing such a great model! I was able to run the A2Vid pipeline successfully, and the results are excellent.

However, I noticed that the A2Vid pipeline currently uses the dev model and requires around 30 inference steps.

Is there a way to use the Distilled model for A2Vid generation instead, in order to reduce the number of inference steps while maintaining good generation quality?

Thanks in advance for your help!

l1346792580123 avatar Sep 02 '26 11:09 l1346792580123

Yes, we'll probably shove a2v capabilities into the distilled down the line. For now you can pretty easily do it yourself:

In A2VidPipelineTwoStage, change stage 1 only:

  1. Apply distilled_lora on stage 1 the same way stage 2 already does.
  2. Swap GuidedDenoiser for SimpleDenoiser(v_context_p, a_context_p).
  3. Use DISTILLED_SIGMAS instead of the scheduler.

Audio stays as-is: encoded source, frozen ModalitySpec, mux the original waveform at the end.

barakyoresh avatar Sep 02 '26 12:09 barakyoresh

Thanks for the reply. After making the modifications as you suggested, I can now use the distilled timesteps for A2Vid generation. Thank you.

l1346792580123 avatar Sep 03 '26 08:09 l1346792580123