Automodel
Automodel copied to clipboard
Model support request - LTX2.5
Hello, I would like to work on LTX-2.5 support.
LTX-2.5 uses the same model classes as LTX-2.3, with new config flags: no bias in the video FFN, and a keyframe embedding. Most of the existing ltx2 support carries over. What would needs to change:
- diffusers: raise both pins in
pyproject.toml(>=0.39.0in thediffusionextra,>=0.38.0in the uv constraints) to>=0.40.0, the first release with LTX-2.5. - Transformer folder: in
Lightricks/LTX-2.5-Diffusers,transformer/is the distilled model and the full model is intransformer_full/, whichmodel_index.jsondoesn't list. The finetune path loadstransformer/, so it would quietly train the distilled one. It needs an option to loadtransformer_full/. - Preprocessing: the processor hardcodes Gemma 3, but LTX-2.5 uses Gemma 4. It also writes
model_version: "ltx2.3"into the cache, so 2.5 needs its own value. - New recipes (full finetune + LoRA), a generate config, docs, and tests.
Plan:
- a small PR for the diffusers bump first
- the LTX-2.5 PR.
Testing: unit tests on CPU. Then, with the real weights: check that Automodel's loading and preprocessing match diffusers, train a LoRA, run a short full finetune with CPU offload, and confirm the checkpoint loads back in diffusers.
Questions
- Same scope as LTX-2.3 (text-to-video with audio, full finetune + LoRA)? I'd leave out the diffusion decoder, duration head, and prompt enhancer.
- Is it OK to land the diffusers bump as its own PR first?
- LoRA fits on my cluster with 2×H200 node, but a full finetune needs about 350 GB plus activations, more than the node's 282 GB. Could a maintainer run the full-finetune recipe at scale?
@edjson Thank you! Please let us know if you encounter any issues.