← All news

Hugging Face: Generating videos with LTX-2.5 on AWS Trainium3

Hugging Face

Hugging Face published a post on running the LTX-2.5 video generation model on AWS Trainium3 chips. The source text provided is only the title, so specifics are not confirmed here.

Source: huggingface.co ↗ · By CapyLaunch

HardwareAWS Trainium3, trn3.48xlarge with 64 NeuronCores
ModelLTX-2.5 from Lightricks, video and sound together
Clip length10 seconds with sound
Generation time22 to 23 seconds on half of the machine, after models load
Resolution2048×1024
CategoryDeveloper tools

Hugging Face published a blog post about running the LTX-2.5 video generation model on AWS Trainium3 chips. The author used a Trainium3 machine for a month through a partnership with AWS and generated a 10-second clip with sound. The post also describes building short films from a JSON list of shots.

A film is a JSON list of shots, each with a name and a prompt, and an optional seed. Shots can be chained so one starts from the last frames of an earlier shot or ends on the first frames of a later one, which helps keep a subject consistent across cuts. Three diffusers pipelines share the LTX-2.5 models, and the film assembly code is about 160 lines of Python.

Video generation is a heavy workload, and the post tests whether Trainium3 can handle it as an alternative to GPUs. The author reports that a 10-second 2048×1024 clip took 22 to 23 seconds once the models were loaded, on half of the machine. This is close to, and slightly faster than, the 23.7 seconds LTX gives for its online API at 1080p.

For builders: If you run video generation workloads, the post may be worth reading to see whether Trainium3 is a viable alternative to GPUs for your stack.

For: Developers and teams who run video generation workloads and want to compare Trainium3 with GPUs.

Try:

https://huggingface.co/blog/video-trainium3

How long did a 10-second clip take?

Once the models were loaded, a 10-second clip with sound took 22 to 23 seconds to generate, on half of the machine, at 2048×1024.

How does the author compare this with other results?

The author compared it with LTX's online API, which LTX says makes a 10-second 1080p clip in 23.7 seconds. The author found no real CUDA figure to compare against, only 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.

How are shots kept consistent across cuts?

Shots are chained. A shot can start from the last frames of an earlier shot, which keeps a subject's look across a cut, or end on the first frames of a later shot to lead into it.

Where is the code?

The post says the code is in dacorvo/video-generation.

All 10 Developer tools stories →

Spotted a mistake? Email hello@capylaunch.com and we will correct it. How we make CapyLaunch TLDR News.

Get CapyLaunch Weekly

New indie launches and the week in AI tools and models, every Monday. Free, and you can unsubscribe anytime.

We send a confirm link first. Privacy