Anatomy of a 14x Speedup: Turning LTX-2.5 into a Sprinter on Trainium3
Hugging Face engineers cut LTX-2.5 video rendering from 5 minutes 20 seconds to 23 seconds on AWS Trainium3 — beating Lightricks' own paid API.

Five minutes and twenty seconds. That is how long Hugging Face engineers needed to render their first AI-generated video clip on AWS’s Trainium3 chip — a 960×544 frame that felt almost respectable by the standards of generative video. One month later, the same pipeline turns out a 2048×1024 clip with synchronized sound in 22 to 23 seconds. Four times the pixels, fourteen times the speed, and not a single Nvidia GPU in sight.
The write-up, published November 27, 2026, is the work of David Corvoysier with Jingya Huang and Sayak Paul, made possible by the Hugging Face–AWS partnership’s gift of one month on a Trainium3 machine. The subject is LTX-2.5, Lightricks’ 19-billion-parameter text-to-video model, notable for generating moving images and audio together — and, increasingly, for being pitched less as a toy and more as a “world model,” with robotics named as an emerging use case. Its generation recipe is two-stage and distilled: eight steps, a 2× latent upsampling, then three final steps, with any single shot capped at 20 seconds.
The sharpest comparison is with commercial reality. Lightricks’ paid API reports 23.7 seconds for a 10-second 1080p clip; the Trainium3 setup finishes roughly a second faster, at higher resolution, using half of a trn3.48xlarge instance with 64 NeuronCores. Lightricks has claimed 6.8 seconds for a 10-second 720p clip on four Nvidia B200 GPUs — a claim the blog’s authors call unverified, with no methodology to inspect. That is precisely why this experiment matters: it is not an advertisement but a laboratory notebook, published with all of its code and all of its unsolved problems.
Winning on unglamorous details
The first surprise is what the team did not do: quantize. In most inference-acceleration projects, quantization is the opening move; here the work ran in the opposite direction — precision was raised, not lowered. The GELU activation is computed fully in fp32, because the bf16 version in torch-neuronx produced an error of 0.297 against the fp32 reference; after the fix, the error dropped to 0.158, in line with the CPU’s 0.160. Everything else was compiler and data-pipeline drudgery that happens to decide everything: a compile_repeated_blocks technique cut graph tracing from 388 seconds to 18; reorganizing prompt encoding took it from 205 seconds to 7.5; video decode, once moved off the CPU and split by frames onto the chips, fell from 357 seconds to 1.6.
Even the smallest fixes paid out. A single .contiguous() call before a device copy cut per-step time from 5.6 seconds to 1.0 — one trick the size of a footnote, worth more than most hardware upgrades. The parallelism layout deserves its own mention: model weights are split four ways via tensor parallelism, capped by the transformer’s 32 attention heads, while video tokens are split eight ways via sequence parallelism — one chip per time-stretch of the clip. Host-side overhead, the part of the pipeline no keynote ever mentions, fell from about 280 seconds to 8: a 35× improvement before the model on the accelerator even gets the credit.
A Ferrari on half its cylinders
The author opens with a metaphor that doubles as a title: “When you have a Ferrari, every now and then you want to take it out on the track.” The conclusion is blunter — the Ferrari made it around the track on half of its cylinders. Cold start is heavy: roughly three minutes to load the model, plus 80 seconds for the first clip. Audio does not carry across shots; only background levels are evened out. And three problems — NaN errors at one compile size, a stubbornly slow first shot per process, and a latent upsampler that refuses to load beside the transformer — never received root-cause explanations. Hence the goat, whose horns grew in funny places in three takes out of four.
How the team used the model is its own lesson. The film is a JSON list of shots — name, prompt, seed, and from/to keys that chain them together: the last 25 frames of one shot become the first second of the next, so camera motion carries across cuts, a pose-to-pose strategy rather than straight-ahead improvisation. The whole film engine is about 160 lines of Python on top of diffusers, and it is reproducible byte for byte: same code, same film file, same film. For an industry whose benchmarks are rarely repeatable by outsiders, that standard feels almost subversive.
From the cinema to the factory floor
The most consequential part may be the world-model demo. Handing the pre-trained checkpoint just the first second of head-camera footage from a Fourier GR1-T2 humanoid — drawn from Nvidia’s GR1-100 robotics dataset — the model invents the continuation: the arm reaches for an orange. Better still, it produces a distribution of continuations, including one where a human steps in to help carry the orange and the robot arm adapts to the change. For robotics training, a machine that can generate many plausible futures from one second of the past is expensive training data made cheap. A second example continues front-camera footage of a car driving into a snowstorm, from the Boreas dataset.
Lightricks positions LTX-2.5 as exactly this kind of world model, which is why the report is bigger than a chip benchmark. It shows that generative-video inference — a workload that devours memory and bandwidth — now has a credible, publicly auditable path that does not run through Nvidia. Trainium3 is AWS’s third-generation chip, and AWS has both commercial and strategic reasons to let Hugging Face show off the numbers. The team also sent its fixes upstream to diffusers and torch-neuronx, so the public scoreboard improves for everyone, including people who will never touch a Trainium chip.
Meanwhile, on the other side of the screen, the goat with the funny horns still has to be culled by hand. Until a model can decide which take deserves to survive, the human director stays safely employed — and now that every take is born in 23 seconds, deciding what to throw away has quietly become the busiest job on set.



