Five days, and a 14-fold speed-up
Hugging Face engineers have published what a month on an Amazon Trainium3 machine bought them in video generation: a 10-second clip with sound, at 2048×1024, in 22 to 23 seconds. The write-up, posted on Friday by David Corvoysier, Jingya Huang and Sayak Paul, says the figure is measured once the models are loaded, and uses 32 of the machine’s 64 NeuronCores — half of a trn3.48xlarge.
The starting point was far worse. The first attempt that ran at all used the model card’s pipeline on four NeuronCores at 960×544, and took 5 minutes 20 seconds per clip — of which the cores were actually computing for about 45 seconds. Five days of optimisation later the same work ran at roughly four times the pixel count, on 32 cores, in 22 to 23 seconds, with 15 seconds of that on the cores. Hugging Face puts the end-to-end gain at 14 times.
The model is LTX-2.5 from Lightricks, which generates video and sound together. Access to the machine came through Hugging Face’s partnership with AWS, for one month.
What it is measured against
The comparison Hugging Face settled on is LTX’s own hosted API. “For CUDA, I found no real figure to compare against,” the post says: the only published number is LTX’s claim of 6.8 seconds for a 10-second 720p clip on four B200 GPUs, with no detail on how it was measured. Against LTX’s API, which LTX says produces a 10-second 1080p clip in 23.7 seconds, the Trainium3 setup “matches it, and even beats it by about a second”.

That is a vendor-reported figure on both sides of the comparison, and worth reading as such. What is not in dispute is the internal before-and-after, which is measured on the same hardware by the same people.
The work was mostly plumbing
The interesting part of the post is the list of what had to be fixed, because almost none of it is about the model. The transformer does not fit on a single NeuronCore and diffusers has no tensor-parallel plan for it, so the team wrote one, splitting the weights four ways; at 2048×1024 that still failed to load, so they split the video tokens eight ways on top, giving the 4 × 8 = 32 core layout.
Several of the biggest wins were on the host rather than the device. Every rank was running the whole pipeline and encoding the prompt on one socket’s CPUs; running the pipeline on rank 0 only cut prompt encoding from about 205 seconds to 7.5, then thread pinning took it to 3.3, then encoding only the real tokens rather than the padding took it to 1.4. Moving video decode onto the NeuronCores cut it from 357 seconds to 1.6. A single .contiguous() before a device copy took a step on 16 cores from 5.6 seconds to 1.0.

Compiling one repeated block instead of the whole transformer as a single graph dropped tracing from 388 seconds to 18 and fixed NaN outputs at one size. Computing the GELU activations in fp32, because torch-neuronx computes a bf16 GELU entirely in bf16, took transformer error against fp32 from 0.297 to 0.158 — about the same as CPU bf16 at 0.160.
What is still broken
The post is unusually candid about what was not solved. Three issues “were never explained”: the transformer compiled as one graph returned NaN at one size, the first shot that ends on keyframes was slow in each new process even with every graph cached, and the latent upsampler fails to load alongside the transformer, so it stays on the CPU.
The team also filed upstream issues against torch-neuronx for an allocator that leaves most of its memory segments unused and for the bf16 GELU, and an open diffusers pull request would fix the LTX-2 pipelines the team had to patch. The film-assembly code — about 160 lines on top of the diffusers pipelines, reading a JSON list of shots and chaining them through first and last frames — is published.
What to watch is whether the upstream fixes land, because the 22 seconds here was bought with patches that a general user of diffusers on Trainium3 does not have.