Taking Trainium3 to the Track: Generating Videos with LTX-2.5
Summary of an article by Hugging Face blog — AI Made
Hugging Face engineers got a month of access to an AWS Trainium3 machine with 64 NeuronCores. They used its last five days to run LTX-2.5, Lightricks' model that generates video and sound together, through the diffusers library. The aim was to draft short films from a storyboard-style JSON file. Each shot in the file has a name, a long prompt and an optional seed. Shots can start or end on frames taken from other shots, which keeps the subject consistent. The author describes building a film around its payoff shot first and then linking the neighbouring shots to it. Three diffusers pipelines handle the generation, and about 160 lines of Python manage ordering, trimming, captions and assembly.
The first working setup needed about 5 minutes 20 seconds for a 10-second clip. After tensor and sequence parallelism fixes and host-side improvements, a 2048×1024 clip with sound took 22 to 23 seconds on half the instance. That is slightly faster than the 23.7 seconds LTX claims for its online API. Loading the models takes roughly three minutes.
The team also extended real camera footage from a humanoid robot and a car. The model invented varied alternate events, but it cannot follow action commands. Training on those would require fine-tuning.
Publishers: to have your site removed from our sources, write to info@weare1801.com.
Read the original at Hugging Face blog →