Hugging Face published a video generation test with Lightricks' LTX-2.5 on an AWS Trainium3 machine on November 27, 2026. The result: a 10-second clip with audio came out in 22 to 23 seconds, after the models were loaded.

LTX-2.5 on Trainium3: 10-second video in 22 seconds
Hugging Face generated a 10-second video with sound using LTX-2.5 in 22 to 23 seconds on Trainium3, 14 times faster than the first attempt. See the method and limitations.
Get AI articles in your inbox
Technical curation on models, agents and coding tools. No spam, unsubscribe anytime.
The number matters because the first attempt took 5 min 20 s. This post shows the method, the results table, and what the test does not prove.
In this article you will see:
- What was measured and on which hardware
- How the time dropped from 5 min 20 s to 22 s
- What the test does not allow concluding
- How to reproduce the experiment
What the test measured: LTX-2.5 on a trn3.48xlarge instance
LTX-2.5 is a video model from Lightricks that generates image and audio together, with open weights. The author, David Corvoysier from Hugging Face, used the trn3.48xlarge instance, with 64 NeuronCores, provided for a month through a partnership with AWS.
NeuronCore is the compute unit of Trainium chips, AWS's AI accelerator. Each clip used only half the machine, 32 cores.
The model comes from the LTX-2.5 Diffusers repository and runs with the diffusers library. The pipeline follows the two-stage distilled recipe from the model card: 8 steps, then a 2x upscale of the latents and 3 more final steps.
Results: from 5 min 20 s to 22 to 23 seconds
The table below gathers the two data points measured by the author, both for a 10-second clip with audio.
| Configuration | NeuronCores | Total time | Time on NeuronCores |
|---|---|---|---|
| First attempt, 960x544 | 4 | 5 min 20 s | 45 s |
| Optimized, 2048x1024 (about 4x more pixels) | 32 | 22 to 23 s | 15 s |
The total gain was 14x, with about four times more pixels. The 22 to 23 s figures apply with models already loaded. A service needs to keep processes active, because loading takes about 3 minutes and the first clip about 80 s.
Why the time dropped: host, parallelism, and decoding
The model did not run on NeuronCores out of the box. The transformer does not fit in one core, and diffusers had no parallelism plan for it. A tensor parallelism plan had to be created, which splits each model layer across 4 cores.
Then came sequence parallelism, which splits video tokens across 8 chips. With TP 4 x SP 8, each core holds a quarter of the weights and an eighth of the tokens. This is what made generation at 2048x1024 possible.
The biggest gain came from the host side, not the chip. The article lists fixes such as:
- Prompt encoding: from about 205 s to 7.5 s, by running the pipeline only on rank 0 and sending the arguments to the others
- Video decoding at 2048x1024: from 357 s to 1.6 s, by decoding on the NeuronCores
- Memory per core: from 22.96 GiB to 10.2 GiB, by packing parameters into buffers of up to 1 GiB
- Transformer step: from 4.3 s to 3.0 s, by generating at 1024x512 so the sequence length becomes a multiple of 128 tokens
Overall, host time dropped from about 280 s to about 8 s, and NeuronCore time from 45 s to 15 s. The author also found a numerical error: torch-neuronx was computing GELU in bf16 including the constants. Moving GELU to fp32 reduced the error against fp32 from 0.297 to 0.158.
How the author assembled short films with LTX-2.5
The input is a JSON file with a list of shots, each with a name and prompt, like a storyboard. The shots chain together with two keys: from starts the shot on the last frames of another, and to ends the shot on the first frames of another.
Without this chaining, the prompt alone does not keep the character consistent from one shot to the next. The film part is about 160 lines of Python on the diffusers pipelines and is in the repository dacorvo/video-generation.
{"name": "shake", "prompt": "...", "from": {"shot": "iceberg", "frames": 25}}The author also tested real footage: the model received the first second from a humanoid robot camera and invented the continuation. This suggests use for generating variations of rare scenes in robotics training, but the videos follow prompts, not robot commands.
Benchmark limits: what it does not prove
The test is not a direct comparison with GPUs. The author found no public CUDA measurement for the same case. There is only LTX's claim of 6.8 s for a 10 s clip at 720p on four B200 GPUs, with no detail on how it was measured.
Therefore the comparison was made with LTX's online API, which the company says generates 10 s at 1080p in 23.7 s. The test setup ties and wins by about one second, but the resolution is not identical.
Other limits noted in the text:
- Each new shot requires multiple attempts: the same prompt produced weird horns in 3 of 4 takes of the goat
- The sound for each shot is generated separately and does not continue across shots
- A shot lasts at most 20 s, a model limit
- It is a single-person measurement on a single machine, with no repeated sample disclosed
The author also reports three unexplained issues: a NaN when compiling the transformer as a graph, the slowness of the first shot which ends in keyframes, and the upsampler which does not load alongside the transformer and stays on the CPU.
How to reproduce and where to follow similar benchmarks
The code, JSON files, and seeds are published, so running again with the same film should return the same video, byte for byte. Part of the fixes remains open in diffusers, in pull requests 15420 and 14725.
If you track inference performance on different hardware, also see the llama.cpp benchmark dashboard on AMD chips and the Nemotron 3.5 Parse throughput test. For open-source video tools, there is also the list of best GitHub repos for creating videos with AI.
Frequently asked questions about LTX-2.5 on Trainium3
How long does LTX-2.5 take to generate a video on Trainium3?
It takes 22 to 23 seconds for a 10-second clip with sound at 2048x1024, after the models are loaded. The test used half of the trn3.48xlarge machine, with 32 of the 64 NeuronCores.
Is Trainium3 faster than an Nvidia GPU for video generation?
There's no way to say. The author didn't find a comparable CUDA measurement, so they only compared against LTX's online API, which claims 23.7 seconds for 10 seconds at 1080p. LTX also cites 6.8 seconds at 720p with four B200 GPUs, without detailing the method.
What contributed most to the improvement from 5 min 20 s to 22 s?
Host time dropped from about 280 seconds to about 8 seconds, the biggest end-to-end saving. Meanwhile, NeuronCore time fell from 45 seconds to 15 seconds, thanks to sequence parallelism and video decoding on the cores themselves.
Can you make a movie with LTX-2.5 and diffusers?
You can make rough cuts. The author chains shots using the final and initial frames of other shots, using about 160 lines of Python on top of diffusers. Details still come out wrong, and each shot requires multiple attempts.
Where is the experiment code?
The code is in the dacorvo/video-generation repository on GitHub, and the generated movies are in a Hugging Face bucket with the JSON files and seeds used.
What changes for those producing video with AI
The test shows that the bottleneck for video with open models lies in both software optimization and the chip. In five days of work, the same model became 14 times faster.
For those evaluating cost and schedule, the useful metric is time per clip with the model loaded, not cold time. Before comparing with other hardware, repeat the measurement with the same resolution and duration.
Do you have an AI video workflow that today depends on many manual attempts? Put this novelty to work in an AI agent squad at bridgecode, one planning, another generating, and another reviewing.
Source: Hugging Face
Related articles

4-agent swarm rises from 6.6% to 82.3% success
Hugging Face trained 4 agents with a shared Qwen3-0.6B: success from 6.6% to 82.3% and 37.4% fewer tokens. See the method, numbers, and limits.

Inkling 2 Mini reaches 190 tok/s with vLLM and DSpark
Hugging Face tested Inkling 2 Mini on an RTX PRO 6000: from 136 to 190.6 tok/s with vLLM and DSpark. See the method, the numbers, and the limits.

llama.cpp x AMD: public dashboard measures Ryzen and Radeon
ggml-org has opened a public dashboard that measures llama.cpp on AMD Ryzen and Radeon. See the method, the Qwen3.5-0.8B numbers, and the test limits.
