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

AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.

Why it matters

Video generation on AWS Trainium3 can now rival Lightricks' paid API in speed, giving teams a non-CUDA inference option, though only after heavy custom patching.

Read this as

A Hugging Face engineer spent a month with AWS's new Trainium3 computer chip and used it to make short AI-generated videos with the model LTX-2.5 from Lightricks, which creates picture and sound together. He stitched shots into small films (a seal, a fox, a goat) using a storyboard file that chains shots together so characters stay consistent. Once loaded, a 10-second clip took 22-23 seconds, roughly matching Lightricks' paid online service, on just half the machine.

Hugging Face reports LTX-2.5 running on half of an AWS Trainium3 instance generates a 10-second 2048×1024 clip with sound in 22-23 seconds, beating Lightricks' own API (23.7 s). The caveat: it took a month of engineering, tensor and sequence parallelism, dozens of bug fixes, out of the box the model didn't run at all (5 min 20 s per clip). Model loading takes about 3 minutes, so this is a proof of concept, not a turnkey service. Companies considering non-NVIDIA inference hardware should note the effort involved.

LTX-2.5's transformer doesn't fit on one NeuronCore, so the author added tensor parallelism (TP-4) plus custom sequence parallelism (SP-8) via diffusers attention processors, running on 32 of 64 cores at ~3.0 s/step for stage 2. Fixes included bf16 GELU (error 0.297→0.158), block graph compilation, CPU thread pinning (prompt encoding 7.4→3.3 s), and host-side optimization (~280 s→8 s). Two-stage distilled pipeline: 8 steps, ×2 latent upsample, 3 more steps. Limitations: 20 s max per shot, three unexplained issues, sound doesn't carry across shots.

Questions this answers

The article above answers these:

  • How fast is LTX-2.5 video generation on AWS Trainium3?
  • How do you run LTX-2.5 with diffusers on NeuronCores?
  • Can Trainium3 compete with NVIDIA GPUs for video generation?

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Trainium3 LTX-2.5 AWS Hugging Face Lightricks diffusers GR1-T2

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading