Loading…
Topic
Video Generation
3 posts about Video Generation. Every summary links to the original.
- 3 posts
- 3 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Taking Trainium3 to the Track: Generating Videos with LTX-2.5
The author tested LTX-2.5, a video and sound generation model from Lightricks, on an AWS Trainium3 instance (trn3.48xlarge) with 64 NeuronCores. After optimizing the diffusers pipelines with tensor parallelism (TP-4) and sequence parallelism (SP-8), a 10-second 2048x1024 clip with sound generated in 22 to 23 seconds on 32 cores, matching LTX’s paid API. The film-making approach chains shots using ‘from’ and ‘to’ keys to maintain subject consistency across cuts, and supports multiple takes with seeds. Optimizations reduced wall time from 5 minutes 20 seconds to 22-23 seconds, with host-side improvements providing the largest gains. The author also explored using LTX-2.5 as a world model for robotics, generating continuations of real camera footage.
How to Run NVIDIA Cosmos 3 on Local AI Devices Using Hugging Face Diffusers
Running NVIDIA Cosmos 3 Nano, a video generation model for physical AI, on local GPUs requires VRAM that consumer cards often lack. This tutorial presents a streaming adapter built on Hugging Face Diffusers that stores model weights in system RAM and transfers transformer blocks to the GPU one block at a time. The adapter reuses the understanding context across all 35 denoising steps and automatically manages memory for VAE decoding and safety checking without user configuration. This enables generation on GPUs with as little as 12 GB VRAM, demonstrated on an RTX 5070 where 720p text-to-video took 43.75 minutes using 9.94 GiB with BF16, or 37.26 minutes with the FP8 checkpoint. The tradeoff is high system RAM usage (128 GB tested), PCIe transfer overhead, and lack of interactive latency or disk-streaming during inference.
A kernel-centric path to real-time video generation on Trainium
Reactor and the AWS Neuron Science team collaborated to optimize real-time video generation on AWS Trainium. They focused on autoregressive diffusion models, which combine sequential next-token prediction with iterative diffusion to generate video frames that respond to user input. The teams used the Rolling Forcing model as a proxy, addressing challenges such as dynamic shapes, unusual memory access patterns, and heavy cache management that generic compilers struggle with. Optimizations included splitting SDPA heads across four cores and sequences across two, and batching common components of the diffusion and cache update phases to improve hardware utilization. The collaboration achieved real-time video generation above 16 frames per second on a single Trainium2 chip, a result that generalizes across autoregressive diffusion models.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.