Running LTX-2.5 Video Generation on Trainium3
Brief
The article documents how the team got LTX-2.5 video generation running on Trainium3 and optimized it for higher-resolution clips.
Performance
- A 10-second, 2048×1024 clip with sound took 22–23 seconds after the models were loaded, using half the instance’s 64 NeuronCores.
- The first working attempt took 5 minutes 20 seconds for a 960×544 clip; the optimized setup used tensor and sequence parallelism across 32 cores.
Implementation and limits
- The workflow uses a JSON shot list and links shots through frames from earlier or later shots to maintain continuity; the film-editing code is about 160 lines.
- Processes take about 3 minutes to load the models, and the first clip takes about 80 seconds. Each shot is limited to 20 seconds, and the model may require several takes to get details right.
Generated by AI from the original article. Check the source for full details.