Hugging Face generates LTX-2.5 videos on AWS Trainium3

A Hugging Face engineer cut a 10-second clip with sound to 22 to 23 seconds on half a Trainium3 machine, down from more than five minutes.

AIPublished
Image published by Hugging Face with “Taking Trainium3 to the Track: Generating Videos with LTX-2.5”
Image: Hugging Face · Source
What happened
Hugging Face engineers ran Lightricks' LTX-2.5 video-and-sound model on an AWS Trainium3 machine using the diffusers library.
What’s new
After five days of tuning, a 10-second 2048×1024 clip took 22 to 23 seconds once models were loaded, versus about 5 minutes 20 seconds at first.
Why it matters
It shows open video models can run quickly on Amazon's Trainium chips, though only after custom parallelism and workarounds that diffusers does not yet provide.

Hugging Face has published an account of running LTX-2.5, Lightricks' model that produces video and audio together, on an AWS Trainium3 instance (trn3.48xlarge, 64 NeuronCores) lent to it by AWS for a month.

The headline result, according to engineer David Corvoysier's write-up, is that a 10-second clip with sound at 2048×1024 took 22 to 23 seconds to generate once the models were loaded, using 32 of the machine's 64 NeuronCores. The first working attempt, on 4 cores at 960×544, needed about 5 minutes 20 seconds, with the cores busy for only around 45 seconds of that.

The gains came from splitting the model's weights across 4 cores (tensor parallelism) and its video tokens 8 ways (sequence parallelism), plus host-side fixes such as running the pipeline on one process and moving video decoding onto the NeuronCores. Host time per clip fell from about 280 seconds to about 8, the post says.

For comparison, the author points to LTX's statement that its online API makes a 10-second 1080p clip in 23.7 seconds, and says his setup matches or slightly beats it. He set aside LTX's claim of 6.8 seconds on four Nvidia B200 GPUs because no measurement details were given.

Several issues stay open: three problems were never explained, the latent upsampler still runs on CPU, and diffusers changes that would remove some workarounds are not yet merged.