← Home

LTX-2.5 on Trainium3: Video with Sound in 22 Seconds Challenges LTX's Paid API

LTX-2.5 on Trainium3: Video with Sound in 22 Seconds Challenges LTX's Paid API

When Hugging Face announced it had a month of access to a machine with 64 AWS Trainium3 NeuronCores, nobody expected the final five days to be spent generating videos. That is exactly what David Corvoysier, Jingya Huang, and Sayak Paul did. Instead of testing language models or image classifiers — what any engineer from that team would normally reach for — they picked LTX-2.5, the video generation model from Lightricks, and tried to make it work on hardware that is not an NVIDIA GPU. The result, published on the Hugging Face blog on November 27, is rare: an honest technical demo, with real numbers, of the limits and possibilities of running heavy multimedia generation models outside the CUDA ecosystem.

What happened

LTX-2.5 is a 19-billion-parameter model that generates video and audio simultaneously. It was released in August 2026 and already has open weights on Hugging Face under the LTX-2.x community license. Lightricks charges $0.09 per second of generated video on its fast API and $0.17 on the pro version for 1080p clips. The company itself claims it generates a 10-second clip at 720p in 6.8 seconds — using four B200 GPUs — but does not disclose how it made that measurement.

Hugging Face's engineers wanted to know two things: how hard is it to run LTX-2.5 via diffusers on Trainium3, and what is the real speed compared to LTX's API. The answer to the first question was "very." To the second, "almost the same."

Out of the box, the model simply does not run on a NeuronCore. The transformer is too large for a single chip, and diffusers has no distribution plan ready. The first attempt worked, but took 5 minutes and 20 seconds to generate a 10-second clip at 960×544. The NeuronCores were actually computing for only 45 seconds; the rest of the time was spent on the host CPU in redundant operations.

After five days of optimizations, the final configuration uses 32 of the machine's 64 NeuronCores, in a TP-4 × SP-8 arrangement (tensor parallelism with factor 4 and sequence parallelism with factor 8). The result: 22 to 23 seconds to generate a 10-second clip at 2048×1024 with synchronized audio. LTX's API, for reference, takes 23.7 seconds at 1080p. The Trainium3 not only matched but beat the paid API by a second — and it did so at a higher resolution.

How they got there

The optimization had three fronts. First, they wrote a custom tensor parallelism plan for diffusers and an attention processor that splits the transformer into four bands, one per core. Second, they applied sequence parallelism: they divided the video tokens along the temporal dimension, eight per core, which allowed 32 chips to work together on a single clip.

The biggest savings, however, came from the CPU. Each rank ran the entire prompt encoding pipeline, padding to 1,024 tokens, costing 205 seconds. They reduced it so that only rank 0 ran the encoding and then broadcast the parameters — 7.5 seconds. Combined with thread binding to cores and encoding only the actual tokens, it dropped to 1.4 seconds.

Other improvements include converting GELU to fp32 (reducing error from 0.297 to 0.158), using compile_repeated_blocks (tracing from 388 down to 18 seconds), and moving the video decode to the NeuronCores (from 357 to 1.6 seconds). Memory per core fell from 22.96 GiB to 10.2 GiB.

What's left unresolved

Three problems remain unexplained. A single-graph transformer returns NaN at a specific dimension. The first shot that ends on keyframes is slow in each new process, even with all graphs cached. The latent upsample fails to load next to the transformer, so it stays on the CPU.

Additionally, the model still makes visual errors that require multiple takes to pick the best one. Audio does not persist between cuts — each shot generates its sound independently. Individual shots are limited to 20 seconds.

What this means

LTX-2.5 running on Trainium3 is not just a curious benchmark. It is a signal that ever-larger video generation models are becoming executable on diverse hardware — and that the exclusive dependence on NVIDIA GPUs for AI inference is being challenged by AWS and the open-source community itself.

Hugging Face had already tested five months of models on Trainium3 to see which ones ran. Video was the curiosity experiment of an engineer with five days left. But the result — 22 seconds for a 2K clip with sound — places Trainium3 at the same level as LTX's paid API, and suggests that the path to running heavy multimedia models on non-NVIDIA infrastructure is viable, though it requires serious engineering.

The question remains: if an engineer can run LTX-2.5 on Trainium3 in five days of optimization, how many companies are already running video models on Trainium3 or other alternative accelerators without the market realizing it?

Sources: Hugging Face Blog, VentureBeat, Lightricks

✓ Independent sources cross-checked and verified before publishing