Hugging Face runs LTX-2.5 on AWS Trainium3 in 23 seconds
An engineer split the open-weights video model across 32 of the chip's 64 cores, matching the speed of LTX's own paid API on half the machine.

Key takeaways
- A Hugging Face engineer ran Lightricks' LTX-2.5, an open-weights model that generates video and sound together, on an AWS Trainium3 machine through Hugging Face diffusers.
- Once the models loaded, a 10-second 2048x1024 clip with sound took 22 to 23 seconds on 32 of the machine's 64 NeuronCores, close to LTX's stated 23.7 seconds for a 10-second 1080p clip on its online API.
- The first working attempt took about 5 minutes 20 seconds for a 960x544 clip on 4 cores, with only about 45 seconds of that spent computing on the cores.
- Running the model took tensor parallelism across 4 cores and sequence parallelism across 8, plus host-side fixes that cut prompt encoding from about 205 seconds to 7.5 seconds.
The hard part of running an open video model on AWS's own AI chip is the plumbing around it. A Hugging Face engineer spent five days getting Lightricks' LTX-2.5 to generate video and sound on an AWS Trainium3 machine, and the write-up he published on November 27 is a field report on the parallelism, graph-compilation and host-side work that sits between a normal GPU workflow and this one.
Once the models were loaded, a 10-second clip with sound at 2048x1024 took 22 to 23 seconds to generate on 32 of the machine's 64 NeuronCores, or half the instance. That is close to what LTX says its own paid online API does: 23.7 seconds for a 10-second 1080p clip. The post is by David Corvoysier, with Jingya Huang and Sayak Paul, on Hugging Face's blog.
What Hugging Face actually ran
The machine was a trn3.48xlarge instance with 64 NeuronCores, which Hugging Face got for a month through its partnership with AWS. The team spent most of the month testing Hugging Face models on it. With five days left, Corvoysier picked LTX-2.5 from Lightricks and tried to make short films from a script.
LTX-2.5 is Lightricks' open-weights video model, released on August 11, 2026. It generates video and synchronized sound in a single pass, and LTX describes it as a world model rather than a plain video generator. The model is a 22-billion-parameter diffusion transformer. Its weights are free to use for organizations under $10 million in annual revenue, according to LTX's launch post.
The work ran through Hugging Face diffusers, not Lightricks' own stack. Three diffusers pipelines share the model's weights: one makes a shot from its prompt alone, one makes a shot that starts or ends on frames from another shot, and one upscales the result. Corvoysier wrote about 160 lines of Python on top to read a film file, order the shots and assemble the output.
Why LTX-2.5 does not run on Trainium out of the box
Out of the box, the model does not run on the NeuronCores. The transformer does not fit on one core, and diffusers had no plan to split it across several. The first attempt that worked took about 5 minutes 20 seconds for a 10-second clip at 960x544 on 4 cores, and the cores were actually computing for only about 45 seconds of that time. The rest was overhead. The target resolution of 2048x1024 was out of reach.
Five days later, the same job ran at 2048x1024, roughly four times the pixels, in 22 to 23 seconds. That is a 14x improvement in wall time, by the post's own table.
How the model got split across 32 cores
Two kinds of parallelism did the work. Tensor parallelism splits each layer's weight table across cores, and it is what makes the transformer fit at all. Sequence parallelism splits the video's tokens, one stretch of the clip per chip, and it is what lets one clip use half the machine.
The layout is tensor parallelism across 4 cores and sequence parallelism across 8, so 32 cores total. Each core holds a quarter of the weights and an eighth of the tokens. Tensor parallelism is capped by the model's 32 attention heads, and sequence parallelism is what pushed the clip to 2048x1024 by shrinking each core's graph until it would load.
Where the time actually went
Corvoysier writes that most of the fixes were on the device, but the biggest end-to-end savings came from the host, which he calls the low-hanging fruit.
Prompt encoding fell from about 205 seconds to 7.5 seconds once the pipeline ran on a single rank instead of every core running the whole thing. Video decode at 2048x1024 fell from 357 seconds to 1.6 seconds once decoding moved onto the NeuronCores and frames passed to rank 0 through shared memory. The transformer step dropped from 4.3 seconds to 3.0 seconds. Memory per core fell from 22.96 GiB to 10.2 GiB by packing parameters into buffers of at most 1 GiB.
End to end, a clip's host time fell from about 280 seconds to about 8 seconds, and its time on the NeuronCores fell from 45 seconds to 15 seconds, at four times the pixels. Some of the fixes are headed upstream: an open diffusers pull request would make one of the workarounds unnecessary, and a plan for tensor and context parallelism together is in progress.
What a film is in this pipeline
The input is a film: a JSON list of shots, each with a name and a long prompt, much like a storyboard. LTX-2.5 does better with long prompts, so each one is a paragraph covering style, subject, motion, camera, light and sound. A shot can carry a seed to keep the take you picked.
Shots are chained with two keys. A from key starts a shot on the last frames of an earlier shot, which keeps a subject's look across a cut. A to key ends a shot on the first frames of a later one, so it leads into it. Prompts alone do not hold a character or a setting from one shot to the next, and in an early version of the fox film the model cross-dissolved to a different fox when a shot moved from the forest to the lake.
Corvoysier built the seal film pose to pose: he made the payoff shot first, then had the shots before it end on its first frames and the shots after it start from its last frames. Re-run the same code and film file, and you get the same film back, byte for byte.
What it means for teams without NVIDIA
The demonstration matters because the model is open weights and the hardware is not NVIDIA. LTX optimized LTX-2.5 for local inference on NVIDIA RTX GPUs and DGX Spark, and the CUDA comparison the post wanted does not exist: the only CUDA figure Corvoysier found was LTX's own claim of 6.8 seconds for a 10-second 720p clip on four B200 GPUs, with no detail on how it was measured.
Against that, a Trainium3 instance matching LTX's paid API on half its cores is a useful data point for any team that already runs on AWS. The numbers come from one machine, one model and five days of work, which makes it a demonstration rather than a shipped service. A service built on it would need to keep processes resident because loading the models takes about 3 minutes and the first clip adds about 80 seconds. The wider promise is that the diffusers work is open, so the parallelism fixes can move into the library and stop being one engineer's patch set.
What it still can't do
The post is candid about the limits. The model still gets details wrong, so each new shot needs several takes: the same prompt gave the goat funny horns in 3 takes out of 4. Each shot makes its own sound, and the sound does not carry over from one shot to the next. A shot lasts at most 20 seconds.
Corvoysier also tried the model as a world model on real footage, using the same code to start a shot from the first second of a real camera clip and invent what happens next. He used the head camera of a Fourier GR1-T2 humanoid robot, from NVIDIA's GR1-100 dataset, where the real clip shows a hand picking an orange and dropping it in a tray, and a car's front camera in a snowstorm from the Boreas dataset. The model invents continuations that keep the table, the hands and the fruit consistent, and it can invent events that did not happen, such as a person helping the robot carry the orange. It follows prompts, not the robot's or car's commands, so training use would need generation conditioned on those actions.
LTX-2.5's weights are on Hugging Face under LTX's community license, and the film pipeline's code is in dacorvo/video-generation on GitHub.
Sources
- huggingface.co - the primary post: hardware, timings, technique, limits, world-model test
- ltx.io - LTX-2.5 spec, release date, license terms
- ltx.io - LTX-2.5 launch, open weights, free under $10M ARR
- zmedia.co - independent summary of the same post
- turingwire.com - independent summary, corroborates the timing figures
- icreat.ai - independent summary
- tldr.tech - independent summary