LTX-2.5 on Trainium3 matches LTX API generation speed
5 video generation for AWS Trainium3, achieving 22-23 seconds per 10-second clip at 2048x1024 resolution, matching commercial API performance.

What changed
Hugging Face announced that it has successfully optimized LTX-2.5 video generation to run on AWS Trainium3 hardware, according to a blog post published November 27, 2026. Working with AWS during a month-long partnership, the team generated 10-second video clips with synchronized audio in 22 to 23 seconds at 2048x1024 resolution using half of a trn3.48xlarge machine (32 NeuronCores). This performance matches the speed of LTX’s online API, which generates a 10-second 1080p clip in 23.7 seconds.
The optimization required substantial engineering work. The LTX-2.5 transformer model did not fit on a single NeuronCore, and the diffusers library lacked built-in tensor parallelism support for it. The Hugging Face team developed custom solutions that initially distributed the transformer across 4 cores, then expanded to 32 cores using sequence parallelism techniques. This represented a 14-fold improvement over the initial attempt, which required 5 minutes 20 seconds to generate the same 10-second clip at lower resolution (960x544).
The team published working code and example films demonstrating the approach. The implementation chains video shots together by anchoring them to shared frames from adjacent clips, allowing consistent subject appearance and motion across transitions. Shots can begin from the final frames of earlier sequences or end on the first frames of later sequences to maintain continuity. This technique mirrors traditional animation workflows, where key frames establish continuity between sequences. A shot can also be trimmed or have captions drawn over it.
Why it matters
This optimization creates a practical pathway for video professionals and researchers to run LTX-2.5 generation on specialized AWS hardware without relying on commercial APIs or cloud services charging per generation. For teams already operating Trainium infrastructure or considering it for other machine learning workloads, the ability to generate broadcast-quality video at near-realtime speeds makes video content creation a viable on-premise use case.
The work demonstrates that open-weight models can match or approach the performance of proprietary hosted alternatives when properly optimized for specific hardware. Professionals managing video pipelines now have a third option alongside consumer APIs and GPU-based setups: corporate-grade accelerators that can process video generation at scale. Teams running continuous production workflows could benefit from predictable performance and cost profiles compared to pay-per-request models.
The technical solutions developed for Trainium3 also contribute back to the diffusers ecosystem. Custom attention processors, sequence parallelism patterns, and pipeline orchestration approaches could inform how other large diffusion models adapt to specialized hardware. For researchers building video generation pipelines, the published methodology offers a replicable path forward.
The source demonstrates that the LTX-2.5 input model works as a JSON file containing a list of shots, each with a name and prompt. The blog notes that “LTX-2.5 does better with long prompts,” where each prompt describes style, subject, motion, camera angle, lighting and sound. This structured approach to filmmaking enables multi-shot projects rather than isolated clips.
What to test
Before adopting this setup in production, practitioners should verify several claims and practical constraints:
Performance consistency: The reported 22 to 23 second times apply only after models are loaded into memory. Measure end-to-end generation time including model loading, tokenization, and output decoding to establish realistic throughput for your workflow.
Resolution and aspect ratio limits: The optimization targets 2048x1024 resolution specifically. Test whether generation at other resolutions, aspect ratios, or longer duration videos beyond 10 seconds maintains the reported speed or requires significant reoptimization.
Hardware requirements: The Trainium3 machine used was a trn3.48xlarge with 64 NeuronCores total. Verify whether smaller Trainium3 instances can accommodate the distributed model and at what performance cost.
Prompt quality impact: Since LTX-2.5 “does better with long prompts,” test whether the frame-chaining technique for multi-shot films maintains output quality compared to running individual shots independently, particularly at cuts and transitions.
Comparison fairness: The claimed parity with LTX’s online API (23.7 seconds) lacks detail on whether the online API includes preprocessing overhead. Run your own benchmark using identical prompts and resolution targets.
Audio sync accuracy: The generation produces synchronized sound alongside video. Confirm that audio-video sync remains tight across chained shots and transitions when using the from and to frame anchoring technique.
Replication difficulty: The source notes that reproducing these results requires AWS partnership access to Trainium hardware and familiarity with low-level torch-neuronx optimization, suggesting barriers to adoption for most teams.
Common questions
Is LTX-2.5 on Trainium3 free to use?
The source does not address pricing or licensing costs. AWS Trainium3 instances are a paid service. You would need to check current AWS pricing for Trainium3 compute time and confirm licensing terms for LTX-2.5 from Lightricks.
How long can LTX-2.5 videos be on Trainium3?
The source demonstrates 10-second clips and does not test longer durations. The technical approach supports chaining multiple shots together into longer films, as shown by the seal, fox, and goat examples, but generation time for full-length projects is not reported.
Can you edit video with this approach?
The implementation supports frame-based chaining where shots can start from earlier frames or end into later frames to maintain continuity. Shots can be trimmed and have captions drawn over them, but the source does not detail broader video-to-video editing capabilities.
The conclusion
Hugging Face has demonstrated that LTX-2.5 video generation can run competitively on AWS Trainium3 hardware, matching commercial API speeds without external dependencies. The optimization required substantial engineering effort to solve tensor parallelism, memory packing, and host-device coordination problems that the base diffusers library did not address. For teams already operating Trainium infrastructure or needing on-premise video generation at scale, this proof of concept is worth investigating. The work also shows that open-weight models are not inherently slower than proprietary alternatives when given equivalent hardware and optimization effort.
The practical significance remains limited to organizations with Trainium3 access and budgets that justify the engineering overhead. Professionals exploring LTX-2.5 for the first time should still compare against cloud APIs, consumer tiers, and GPU-based alternatives for their specific use case before committing to Trainium3. The source code is public, but reproducing these results requires AWS partnership access to Trainium hardware and familiarity with low-level torch-neuronx optimization. Watch for whether Hugging Face publishes pre-optimized Trainium3 builds of LTX-2.5 in diffusers, which would lower the barrier to adoption.
Related reading
AI Tool Herald may earn a commission from some links on this site. It never changes what we report or recommend. Affiliate disclosure
Related stories

OCRia-nano-1: 8.1M-parameter CPU document parser
LlamaIndex releases OCRia-nano-1, an 8.1M-parameter open source model for CPU-based document parsing. Scores 59.2 on ParseBench-2.

LingSante-3.1-flash tops open medical AI rankings
Ant Group releases 560B-parameter open-weight medical AI model scoring 65.72 on HealthBench, available for self-hosting under MIT license with 1M token context.

DFly2: Speculative decoding for sparse LLMs
Tencent's DFly2 reuses target model KV cache in speculative decoding, eliminating drafter memory overhead and achieving up to 81% higher throughput on long-context tasks.
