Tooling Published here Reported by Hugging Face on

A 10-second 2048x1024 video with sound in 22 seconds — on Trainium, not CUDA

Hugging Face published a five-day log on November 27 of porting Lightricks' LTX-2.5, a 19-billion-parameter joint video and audio model, to a single AWS Trainium3 instance. The first attempt rendered a 10-second clip at 960x544 in 5 minutes 20 seconds, of which only 45 seconds was actual compute. After tensor and sequence parallelism across 32 of the 64 NeuronCores, the same 10 seconds at 2048x1024 takes 22 to 23 seconds, with host time down from roughly 280 seconds to 8. Most of the work was plumbing: a parallel plan diffusers lacked, on-device video decode that cut 357 seconds to 1.6, and fp32 GELUs. The code is on GitHub.

Why it matters

The headline is the hardware, but the lesson is the 45 seconds. On the first run the accelerators were busy for 45 seconds of that 5 minutes 20, and everything else was host-side overhead: prompt encoding duplicated on every rank, video decode stuck on CPU. That ratio is probably sitting in your own inference service, unfound, because the metric people watch is step time. Trainium matters for a second reason — a non-CUDA path that rivals the model vendor's hosted API on half an instance is leverage in a market where GPU supply sets your roadmap. The cost of that leverage is a week of parallelism plumbing against a young toolchain.

What to do

Before you shop for different silicon, instrument the gap between wall-clock time and accelerator-busy time on one representative request. That single ratio told this port where all of its wins were, and it is cheap to measure. If you do try Trainium for diffusion work, clone the repo and start from its tensor-and-sequence parallel plan rather than writing one, then check that your sequence length is a multiple of 128 so attention gets the fast kernel.

Tags: Infrastructure Video Developer Tools

More from November 29, 2026

All AI news