Frontier Foundry

Taking Trainium3 to the Track: Generating Videos with LTX-2.5

Launch notes · Hugging Face ·

A close reading of the source at huggingface.co: what it says, what it means for someone who builds with AI, and which claims are the publisher’s own.

Robotics & Embodied AIWorld ModelsGPUs & AI ChipsVideo Generation

What changed

A Hugging Face engineer (David Corvoysier, with Jingya Huang and Sayak Paul) ran Lightricks' LTX-2.5, which makes video and sound together, through diffusers on an AWS Trainium3 machine (trn3.48xlarge, 64 NeuronCores). In five days the time for a 10-second clip with sound went from about 5 min 20 s at 960×544 on 4 cores to 22 to 23 s at 2048×1024 on 32 cores, once the models are loaded: about 14× faster at roughly 4× the pixels (post). For comparison, LTX says its own API makes a 10-second 1080p clip in 23.7 s.

The gains came from three kinds of work:

  • Make it run: a tensor-parallel plan for the transformer (it does not fit on one core), GELUs computed in fp32 (a bf16 bug in torch-neuronx doubled the error), and compiling one repeated block instead of the whole graph (tracing went from 388 s to 18 s).
  • Split it wider: sequence parallelism over 8 chips on top of 4-way tensor parallelism (TP-4 × SP-8). This shrank each core's graph until 2048×1024 could load at all.
  • Make the host keep up: run the pipeline on one rank only (prompt encoding about 205 s → 7.5 s), decode the video on the NeuronCores (357 s → 1.6 s), pin CPU threads, and stop encoding the prompt's padding. Host time per clip fell from about 280 s to about 8 s.

On top of diffusers, about 160 lines of Python turn a JSON "film" (a list of shots, chained with from / to keyframes) into a short film. The same code continued real robot and car camera footage: from the first second of a humanoid's head-camera clip, the model invented the grab, and with a changed prompt, a person helping.

What it means for builders

  • Non-NVIDIA accelerators can now serve a recent open video model at API-like speed, but only after real porting work. Budget days, not hours, and expect most of the end-to-end time to be lost on the host, not the chip.
  • If you serve diffusion models, the cheap wins are the same on any hardware: one process drives the pipeline, don't encode padding, decode on the accelerator, watch CPU thread oversubscription.
  • For video products: prompts alone don't keep a character between shots. Chaining shots on frames of other shots (and several takes per shot, picked by seed) is the working pattern today.
  • For robotics teams: a video world model can produce a distribution of continuations from one real second of footage. It follows prompts, not actions, so training use needs action-conditioned fine-tuning.

Try it

  • Code: dacorvo/video-generation on GitHub; films and their JSON files are in the matching Hugging Face bucket (linked from the post).
  • Pipelines: LTX2Pipeline, LTX2ConditionPipeline, LTX2LatentUpsamplePipeline in diffusers (8 steps, ×2 latent upsample, 3 final steps).
  • On any hardware, write a 3-shot film pose to pose: make the payoff shot first, then end the shot before it on the payoff's first frames (to) and start the next from its last 25 frames (from).

Claims to check

  • "Matches and beats LTX's API by about a second": the API figure is LTX's own (1080p), the Trainium figure is at 2048×1024 and excludes about 3 minutes of model loading plus 80 s for the first clip. Not a like-for-like benchmark.
  • LTX's CUDA claim (6.8 s for a 10-second 720p clip on four B200s) has no stated method; the author could not reproduce or compare it.
  • Three issues stayed unexplained (a NaN at one size, a slow first keyframed shot per process, the upsampler failing to load next to the transformer). Upstream fixes are open: diffusers#15420 and #14725.
  • "World model" is LTX's label. The car example shows its limit: asked to accelerate, the generated car kept the speed the first second implied.

Where this leads

the concepts it is about

Related briefs

every brief

Cite this page

the version of 2026-11-27
APA
Han, R. (2026, November 27). Taking Trainium3 to the Track: Generating Videos with LTX-2.5. Frontier Foundry. https://www.ryanhan.ai/briefs/2026-11-27-hf-blog-taking-trainium3-to-the-track-generating-videos-with-ltx-2-5
BibTeX
@misc{han2026-briefs-2026-11-27-hf-blog-taking-trainium3-to-the-track-generating-videos-with-ltx-2-5,
  author       = {Han, Ryan},
  title        = {{Taking Trainium3 to the Track: Generating Videos with LTX-2.5}},
  howpublished = {Frontier Foundry},
  year         = {2026},
  month        = nov,
  url          = {https://www.ryanhan.ai/briefs/2026-11-27-hf-blog-taking-trainium3-to-the-track-generating-videos-with-ltx-2-5}
}