Hugging Face Gets Amazon’s AI Chip Making Videos In 23 Seconds

Trainium3 AI Video: illustration for Hugging Face Gets Amazon’s AI Chip Making Videos In 23 Seconds

Hugging Face has shown that Amazon‘s own Trainium3 AI chip can make 10-second video clips with sound in about 23 seconds, matching the speed of a leading video AI company’s paid service and adding to the evidence that Nvidia’s graphics chips are no longer the only serious option for heavy AI work.

Key Takeaways

  • A 10-second 2048×1024 clip with sound took 22 to 23 seconds once the models were loaded
  • That roughly matches the 23.7 seconds Lightricks says its own online service needs for a 1080p clip
  • The fast setup used half of one Trainium3 machine, 32 of its 64 NeuronCores
  • The first attempt took more than five minutes for a smaller clip, so the speedup came from five days of tuning

Trainium3 is the AI chip Amazon Web Services designs itself and rents out in its cloud. Hugging Face, the platform where developers share AI models, got a month of access to one through a partnership with AWS. Its engineers David Corvoysier, Jingya Huang and Sayak Paul published a walkthrough of running Lightricks‘ LTX-2.5 on it.

Corvoysier used the last 5 days of that access to chase 2 targets at once: making short films from a script and getting close to LTX’s online application programming interface (API) speed, since he found no solid CUDA comparison figure.

How The Video Setup Worked

The input was a JavaScript Object Notation (JSON) film file, a list of shots with names, long prompts and optional seeds so the chosen take stayed fixed. Shots could begin from the last frames of an earlier shot or end on the first frames of a later one, which kept the same subject and motion across cuts. Corvoysier wrote, “A film needs more than prompts.”

Three diffusers pipelines shared the LTX-2.5 models. One made shots from prompts alone, one handled shots tied to earlier or later frames, and one upscaled the latents by 2 before 3 final steps. On top sat about 160 lines of Python that ordered the shots, trimmed them, added captions, evened out sound and assembled the film.

The first attempt ran a 10-second clip at 960×544 on 4 NeuronCores in about 5 min 20 s, with only about 45 s of actual compute on the chips. Five days later, the optimized setup split weights 4 ways and video tokens 8 ways, using 32 of the machine’s 64 NeuronCores to generate a 2048×1024 clip with sound in 22 to 23 s once the models were loaded.

Video RunMeasured Result
First Trainium3 Attempt960×544, 4 NeuronCores, about 5 min 20 s wall time, about 45 s computing
Optimized Trainium3 Setup2048×1024, 32 NeuronCores, 22 to 23 s wall time, about 15 s computing
LTX Online APILTX says a 10-second 1080p clip takes 23.7 s
LTX GPU ClaimLTX claims 6.8 s for a 10-second 720p clip on 4 of Nvidia’s B200 graphics chips, with no detail on measurement

Also Read: Hugging Face Now Tests AMD Chips Weekly For Running AI At Home

What Faster Trainium Video Means For Nvidia

This matters because the work moved beyond toy clips into movie drafting and synthetic footage that can be reproduced exactly. Corvoysier’s aim was “short films from a script, closer to a real use case, like drafting a movie,” and the setup keeps the same subject across linked shots, preserves a selected take with a seed, and can return the same film “byte for byte” when rerun with the same file and code.

The article also points to uses beyond filmmaking. LTX calls LTX-2.5 a world model, and Corvoysier tested it on real robot and car footage to invent what happens next from the first second of video. He wrote that robots, cars and drones learn from videos of what their cameras see, and that generated footage could cover events too rare or too risky to film. The limits are clear in the same write-up: each shot still needs several takes because details go wrong, sound does not carry across shots, and each shot lasts at most 20 s.

Whether LTX Explains Its B200 Speed Claim

  • Will LTX publish the measurement methodology behind its 6.8 second 10-second 720p clip claim on 4 B200 GPUs?
  • Will Hugging Face or the authors release the 160-line Python pipeline and configuration to reproduce the 22 to 23 second 2048×1024 runs?
  • Will Amazon Web Services grant additional Trainium3 access beyond the one-month partnership used in the walkthrough?
  • Will LTX respond to the blog’s comparison with its 23.7 second 1080p online API pace and the Trainium3 22 to 23 second result?

Read Next: Amazon’s Own Chip Beats Nvidia And AMD On Cost, Tests Show

Similar Posts