Thursday, 3 Dec 2026 Global Edition
Live Wire
AI Today Daily AI journalism & intelligence
Front Page Models & Research Baca versi Indonesia

A Month on Foreign Silicon: Hugging Face Beats Lightricks' Own API

From 5:20 to 23 seconds: a month of engineering got LTX-2.5 running on AWS Trainium3 — beating Lightricks' own API using half the machine.

A Month on Foreign Silicon: Hugging Face Beats Lightricks' Own API

Nobody tells you how slow the fast stuff is before you touch it. On a machine most engineers will never get to borrow — an AWS trn3.48xlarge with 64 NeuronCores — the first clip Hugging Face's team pulled out of Lightricks' LTX-2.5 took five minutes and twenty seconds to render. Forty-five of those seconds were actual math on the accelerator. The rest was plumbing.

A month later, the same machine was producing ten-second clips at 2048×1024, sound included, in 22 to 23 seconds — of which only about 15 happen on the chip. That gap between the two measurements is the real substance of "Taking Trainium3 to the Track: Generating Videos with LTX-2.5," a full month of field notes from David Corvoysier, Jingya Huang and Sayak Paul on what it actually takes to make a frontier video model run on silicon Nvidia didn't build.

The payload is hefty. LTX-2.5 is Lightricks' 19-billion-parameter text-to-video model with joint audio generation — sound is not layered on afterward but designed in the same breath as the image. The team drove it through three diffusers pipelines sharing one set of weights: one for shots generated from a prompt alone, one for shots that must start or end on another shot's frames, and a latent upsampler that doubles the resolution. The recipe is layered too — eight generation steps, an upscale, then three finishing steps. The borrowed machine, accessed for a month through the AWS partnership, offered 64 NeuronCores in total.

Half a machine, full sprint

What makes this write-up worth reading is not the final number but the honesty of the ledger. Every fix is logged against the number it replaced, and nearly all of them expose the same uncomfortable truth: the biggest bottlenecks lived off-chip.

Compilation came first. Compiling the whole graph in one piece produced NaNs at one resolution and forced a 388-second re-trace for every fresh process. The pragmatic answer — compiling per repeated block instead — collapsed tracing from 388 seconds to 18. Then came precision: torch-neuronx turned out to compute bf16 GELUs entirely in bf16, constants included. Moving GELUs to fp32 brought the numeric error against the fp32 reference down from 0.297 to 0.158 — nearly matching the CPU bf16 reference at 0.160.

Parallelism closed the gap. The transformer doesn't fit on one core, so the weights were split four ways with tensor parallelism. But the TP-4 graph failed to load at 2048×1024, and the fix was to split video tokens eight ways with sequence parallelism — 32 cores, half the machine, arranged as TP-4 × SP-8, running 3.0 seconds per step on the second stage. A detail worth savoring: tensor splitting is capped by the fact that the model has only 32 attention heads.

Then the long list of patched leaks: running the pipeline only on rank 0 with broadcast arguments, which cut prompt encoding from 205 seconds to 7.5; attention kernels that demand sequence lengths in multiples of 128 tokens, meaning it was faster to render at 1024×512 first than to force full resolution; video decode moved onto the NeuronCores, dropping from 357 seconds to 1.6; a .contiguous() call before device copies that cut a 16-core step from 5.6 to 1.0 seconds; allocator repacking that pushed memory per core down from 22.96 to 10.2 GiB; thread pinning and no-padding prompt encoding to round it off. The final tally: a 14× end-to-end speedup, with host time falling from 280 seconds to about 8 — roughly 35×, the single biggest win coming from off the chip. The team is candid about what remains unexplained: the single-graph NaN, a latent upsampler that refuses to co-load with the transformer and stays on CPU, and a cold start of about three minutes plus 80 seconds for the first clip.

The one-second margin

Then the comparison everyone was waiting for. Lightricks claims 6.8 seconds for a ten-second 720p clip on four B200 GPUs — with no measurement methodology disclosed. Its own public API, which anyone can test, takes 23.7 seconds for a 1080p clip. Hugging Face's Trainium3 number: 22 to 23 seconds for 2048×1024 — a resolution packing roughly four times the pixels, about one second faster, on half the machine.

The verdict arrives in a sentence destined for quote collections everywhere: "The Ferrari made it around the track, on half of its cylinders."

A robot, a blizzard, and the payoff shot

The demos behind the numbers are two short films, and this is where the post stops being a benchmark and becomes a manual. The fox film was made straight-ahead: shot after shot flowing forward. The seal film used the smarter pose-to-pose method — build the payoff shot first (the iceberg), then end the nap on that shot's first nine frames, and start the shake from its last 25. The chaining keys are simple: from and to properties linking a shot's edges to another's, with 25 frames — about one second — carrying motion across the cut.

The whole workflow runs on roughly 160 lines of Python over diffusers. A film is a JSON list of shots — long prompts describing style, subject, motion, camera, light and sound, plus an optional seed. And it is deterministic: the same code plus the same film file produces a byte-identical film, with four takes per shot to pick from by seed. The limits are stated plainly: the output is still draft-grade — the goat's horns were wrong in three of four takes — per-shot audio doesn't survive cuts, and shots cap at 20 seconds.

The side finding may travel furthest. Tested against humanoid robot footage from the NVIDIA GR1-100 dataset — shown only the first second — LTX-2.5 invented a pick-and-place continuation that matched the real six-second clip. Prompt variants produced alternate events, like a person arriving to help carry the load. That makes the model not just a video generator but a distribution of world continuations — raw material for synthetic robotics training data, though true action conditioning would require fine-tuning the LTX-2.5-Pre-Trained checkpoint.

And unlike many vendor experiments, the work was paid back to the community: LTX-2 pipeline fixes went upstream as diffusers pull requests, while torch-neuronx bugs — from a compile cache that caused 30-minute recompiles to allocator waste — were filed and partly fixed.

The month's lesson lands sharp and simple: the real limit of AI video today rarely sits inside the chip; it sits in the software and the system around it. And for anyone reading the silicon competition map, there is now a signature number that is hard to argue with: 22 seconds, half a machine, and not a single Nvidia GPU on the track.

References

Partner Spotlight Explore today’s curated technology offers