Hugging Face renders 10-second LTX-2.5 clips with sound on Trainium3 in 22 to 23 seconds
Parallelism and host fixes bring LTX-2.5 on Trainium3 to Lightricks' paid API speed, using half the machine.
Hugging Face got LTX-2.5, the Lightricks model that produces video and audio together, working on an AWS Trainium3 machine (trn3.48xlarge, with 64 NeuronCores). In a Hugging Face post on Trainium3 published November 27, David Corvoysier, Jingya Huang and Sayak Paul report that a 10-second clip with sound at 2048×1024 comes out in 22 to 23 s once the models are loaded, on half the machine. Lightricks says its paid LTX API delivers a 10-second 1080p clip in 23.7 s.
The first working version needed about 5 min 20 s per clip, at 960×544 on 4 cores. The speedup came from three areas:
- tensor parallelism, split 4 ways, because the transformer doesn't fit on a single NeuronCore;
- sequence parallelism, split 8 ways, which divides the video tokens and spreads one clip across 32 cores;
- host-side fixes, such as running the pipeline only on the main process, which cut prompt encoding from about 205 s to 7.5 s.
The workflow relies on three diffusers pipelines: LTX2Pipeline builds a shot from its prompt, LTX2ConditionPipeline starts or ends a shot on frames from another one, and LTX2LatentUpsamplePipeline upscales the latents. A JSON file lists the shots, and its from and to keys chain frames so a character keeps the same look across cuts. The code lives in dacorvo/video-generation.
A production service would need to keep its processes running: loading the models takes about 3 minutes, and the first clip about 80 s.