No Nvidia Needed: Inside the Sprint to Run LTX-2.5 on Trainium3
Hugging Face engineers coaxed LTX-2.5 onto AWS Trainium3, beating Lightricks' own paid API on half the machine — without a single Nvidia GPU.

A seal dozes off on the ice, dreams of warm sand, and is woken just as the iceberg beneath it rolls over, drenching it in cold seawater. The four-shot short was filmed by no camera — and, more to the point, rendered on no Nvidia GPU. It was computed entirely on Trainium3, Amazon Web Services' homegrown AI chip, in an experiment documented by three Hugging Face engineers — David Corvoysier, Jingya Huang, and Sayak Paul — on the company blog on November 27.
The model under test was no toy, either. Lightricks' LTX-2.5 is a 19-billion-parameter video generation model that produces moving images and sound together, with shots running up to 20 seconds. Lightricks markets it as a "world model", with robotics emerging as its most promising use case. The architecture is a two-stage distilled recipe: eight denoising steps, a 2x latent upsampler, then three final refinement steps.
The machine was no everyday hardware, either: a trn3.48xlarge instance with 64 NeuronCores, obtained free for a month through the Hugging Face–AWS partnership. A single clip used half the machine — 32 cores, laid out four-way tensor-parallel and eight-way sequence-parallel. The ceiling is purely architectural: the transformer only has 32 attention heads, so tensor parallelism cannot go any wider.
The road to the final numbers began with an openly admitted failure. The first attempt, at 960x544 on four cores, took five minutes and twenty seconds — and only 45 seconds of that actually ran on the device. The rest was host time: prompt encoding, data shuffling, all the waiting that should not exist. After a long grind of optimizations, a 10-second clip at 2048x1024 — roughly four times the pixels — finished in 22–23 seconds of wall time, 15 seconds of it on the chip. That is the 14x speedup the team tallied.
The sharpest number in the whole exercise, though, is this: the result beats Lightricks' own paid API, which takes 23.7 seconds for a 10-second 1080p clip. The counterclaim from the other side — 6.8 seconds on four B200 GPUs at 720p — was deliberately set aside as a comparison, since no detail was given on how it was measured.
Five minutes twenty, then twenty-two
Almost every win came from deleting waiting time. Prompt encoding was reorganized to run on a single rank: from about 205 seconds down to 7.5. Thread pinning cut it again to 3.3; encoding only the real tokens — instead of a 1,024-token padding — brought it to 1.4. VAE decoding moved onto the NeuronCores via shared memory: 357 seconds became 1.6. Parameters were repacked into buffers of at most 1 GiB, pushing memory use from 22.96 down to 10.2 GiB per core. A single .contiguous() call before a strided device copy cut per-step time on 16 cores from 5.6 seconds to 1.0. Sequence lengths were padded to multiples of 128 tokens to unlock a faster attention kernel: 4.3 seconds per step down to 3.0. Host-side time, all told, collapsed from around 280 seconds to 8 — roughly a 35x improvement.
Graph compilation — the perennial pain of life on custom silicon — was tamed by compiling repeated blocks one at a time with compile_repeated_blocks, rather than one giant graph that came back as NaNs. Tracing time fell from 388 seconds to 18. Leftovers remain: some graphs recompiled for up to 30 minutes, and three anomalies — a NaN at one specific size, a slow first payoff shot per process, and a latent upsampler that refuses to co-load with the transformer — were never fully explained. All three are documented in open issues on the torch-neuronx repository.
The GELU bug and the discipline of checking against CPU
The most characteristic find concerned arithmetic precision. torch-neuronx computes GELU activations fully in bf16, and nobody had felt the need to question it — until the team compared outputs against the CPU. The deviation dropped from 0.297 to 0.158 once GELU was computed in fp32, right at the CPU's bf16 reference of 0.160. The lesson printed in bold in the post: check against the CPU first. For a field that has long treated precision bugs as trivia, it is a costly reminder that numbers which look right are not always computed right.
Filmed pose to pose
The seal film itself was produced like a JSON storyboard: four shots named dream, nap, iceberg, and shake, each with a prompt, an optional seed, and two chaining keys — from, to start from an earlier shot's final frames, and to, to end on a later shot's first frames. The payoff shot — the iceberg rolling over and drenching the seal — was made first, with the other shots built toward it, like stop-motion animation. Three diffusers pipelines share one set of weights, and the entire film orchestration is about 160 lines of Python. It is fully reproducible, too: the same code and film file produce an identical film, byte for byte.
So why does the film stay at "drafts"? Because the model, frankly, still gets things wrong: the goat's horns in their experimental film were wrong in three of four takes; sound does not carry across cuts; and the 20-second shot limit forces narratives to be sliced up. Four takes were generated per shot, with the best kept — a production pipeline that is oddly human, waste ratio included.
What is really at stake beyond a seal
For Hugging Face and AWS, the experiment is more than a numbers flex. It demonstrates that generative video inference — a workload that has been nearly synonymous with Nvidia's CUDA — can be optimized to competitive speed on alternative silicon, using open tooling like diffusers and torch-neuronx. Two upstream fixes are still pending in diffusers. Meanwhile, the pre-trained image-to-video checkpoint is aimed at fine-tuning on robot action data — including a GR1-T2 humanoid demo built on Nvidia's own GR1-100 dataset, where the model invented an orange-picking motion from just one second of real footage.
The caveats travel with it: prompts cannot override implied physics — a car asked to accelerate kept its speed — and the model follows scene descriptions, not robot commands. Action-conditioned robotics will still require fine-tuning on the pre-trained checkpoint.
At the end of the post, the engineers repeat the metaphor they opened with: when you have a Ferrari, every now and then you want to take it out on the track. Their conclusion is more honest than any victory lap: "The Ferrari made it around the track, on half of its cylinders." For an inference landscape that has spun around a single chip factory in Santa Clara, half a cylinder from Amazon's own silicon looks like a promising start.



