LTX-2.5 on Trainium3: The Real Bottleneck Was Never the Chip
A 10-second seal film rendered in 22 seconds on AWS Trainium3, beating LTX's own paid API. The biggest speedup, HF found, was never in the chip.

Half of a machine was all it took. On a trn3.48xlarge instance — 64 NeuronCores of AWS silicon that, five years ago, existed on no product roadmap anywhere — Hugging Face engineers got LTX-2.5, Lightricks' 19-billion-parameter video generator, running well enough to do something faintly absurd: beat the vendor's own paid API. A 10-second clip at 2048×1024, sound included, rendered in 22 to 23 seconds on half the machine. Lightricks' online service quotes 23.7 seconds for a 10-second clip at 1080p. On a chip that is not a GPU, the open model edged out the commercial pipeline by roughly a second.
That result anchors an unusually candid engineering post published on the Hugging Face blog on November 27, “Taking Trainium3 to the Track: Generating Videos with LTX-2.5,” written by David Corvoysier with Jingya Huang and Sayak Paul. The team had a month of access to the hardware through the AWS–Hugging Face partnership, most of it spent on the unglamorous work of getting models to run at all. “With five days left, I allowed myself a little fun,” Corvoysier writes. The fun turned out to be a short film about a plump grey seal: asleep on warm golden sand, then adrift on an ice floe, then rudely awakened when the iceberg beneath him rolls over.
The first attempt had been anything but fun. The stock model-card pipeline plus patches, at 960×544 on four cores, needed five minutes and twenty seconds per clip — of which just 45 seconds actually ran on the chip. The final version renders four times the pixels in 22-23 seconds wall-clock, fifteen of them on the silicon. That is a 14x improvement, on a harder problem.
A storyboard in JSON, a film in 160 lines
Part of what makes the post worth reading is that the performance work is only half the story. The other half is a small, elegant filmmaking layer. A film is defined as a JSON list of shots, each with a name, a prompt and an optional seed — a storyboard, in machine-readable form. LTX-2.5 prefers long prompts, so each entry spells out style, subject, motion, camera, light and sound. Shots can be chained: one can start from the last frames of an earlier shot, so a subject's appearance survives the cut, or end on the first frames of a later one. The team used two animation disciplines — “straight ahead,” where each shot continues the previous one (their fox film), and “pose to pose,” where the key shot is generated first and the rest is chained toward it (the seal film, built around the iceberg payoff).
The whole layer is about 160 lines of Python on top of the pipelines. And the pipeline is deterministic: re-run the same code with the same film file and you get the same film back, byte for byte. For anyone who has tried to build anything repeatable on top of generative video, that sentence alone is news.
The model itself is an interesting specimen. LTX-2.5 ships with open weights, generates video and sound together, and is marketed by Lightricks as a “world model,” with robotics as an emerging use case. The text-to-video checkpoint in diffusers runs 19B parameters, wrapped in three pipelines that share its components: plain text-to-shot generation, conditioned shots that start or end on frames of another shot, and a latent upsampling pipeline that doubles resolution before three final steps. The distilled recipe runs eight steps, upsamples the latents, then finishes with three more. No shot exceeds 20 seconds.
Where the 35x actually came from
Here is the uncomfortable finding for the semiconductor industry: the biggest wins were not in the chip. Host-side time — the CPUs, memory and inter-rank plumbing around the accelerator — collapsed from 280 seconds to 8, roughly 35x. Device time fell just 3x, from 45 to 15 seconds, and that was while quadrupling the pixel count and adding a stage the first attempt could not even load. “Both sides fell hard: the host and the device,” Corvoysier writes. The low-hanging fruit, in other words, was in the plumbing everyone treats as settled.
The fix list reads like an IT department's confession. A transformer too large for one core was split four ways with tensor parallelism — capped by the model's 32 attention heads — and video tokens were split eight ways with sequence parallelism, so each core holds a quarter of the weights and an eighth of the tokens. The text encoder, out of room, was pinned to the host. A GELU computed fully in bf16 by torch-neuronx was drifting 0.297 from fp32; running GELU in fp32 cut the error to 0.158, right in line with the CPU baseline. The fast attention kernel only activates when sequence lengths are multiples of 128 tokens, so shapes had to be planned around it. Video decoding, which took 357 seconds on the CPU at target resolution, moved onto the cores and now takes 1.6. Parameter packing halved memory per core, from 22.96 to 10.2 GiB. Prompt encoding fell from 205 seconds to 1.4 across a series of thread and padding fixes. Even a compiler caching bug — which forced up to 30-minute recompiles whenever the traced code changed — was fixed upstream in torch-neuronx.
The lessons they distill read like a checklist for anyone building on non-CUDA silicon: fix the host first, because that is where the waste is; check numerics against the CPU before blaming the chip; and on Trainium, plan for the size of your graphs, because tensor shapes decide whether the fast kernels run at all — or whether the graph loads in the first place.
None of this makes the output production-ready, and the team says so plainly. Roughly three takes in four are wrong: a fox meant to leap from forest to lake came back as a cross-dissolve to an entirely different fox. Sound does not carry across shots. The 20-second ceiling still constrains rhythm. These are drafts, not deliverables.
But the most consequential capability lies outside entertainment. Fed a single second of real footage — the head camera of a GR1-T2 humanoid from Nvidia's PhysicalAI dataset, or a car camera driving into a Boreas snowstorm — the model invents plausible continuations, and crucially a distribution of them: a second person appears to help carry an orange; slush lands on the lens. Each variant is reproducible via seed. For synthetic training data in robotics, that is a serious proposition, with honest caveats attached: the prompt cannot override what the first second implies — asked to accelerate, the car kept its own speed — and genuine robot training would mean fine-tuning the LTX-2.5-Pre-Trained checkpoint conditioned on actions.
The wider meaning sits on the power map. For years, the argument against alternative silicon was simple: CUDA is the gate, and frontier models live on the other side of it. This post is working evidence that a small team can dismantle that gate in days, with the recipe published in full — custom parallel plans, kernel-friendly shapes, every GitHub issue filed upstream. The verdict Corvoysier offers is the one he has used throughout: the Ferrari made it around the track, on half of its cylinders. Which leaves the question 2027 will have to answer — what happens when all the cylinders fire, and who else gets to put a speedometer on a circuit Nvidia thought it owned?



