A video request is not a stream of tokens: it is 40 denoising passes over a latent the size of a small film, and the user waits a minute for the whole thing. The memory and FLOP arithmetic per request, why batching works differently, the queue and progress design for minute-long jobs, and where the cost goes.
Design serving for a video generation model: diffusion steps, batching, memory, and a latency profile unlike an LLM's.
A video request is not a stream of tokens: it is 40 denoising passes over a latent the size of a small film, and the user waits a minute for the whole thing. The memory and FLOP arithmetic per request, why batching works differently, the queue and progress design for minute-long jobs, and where the cost goes.
Updated Sep 2026 · Grounded in real AI infrastructure interview loops and written to a senior-engineer editorial bar, with every number worked and every diagram hand-built.
The concepts behind this question
Ranked by how closely each one overlaps this question's topic, so the first card is the thing to read if the answer above moved too fast.
Scored on the per-request arithmetic (latent size, FLOPs per step, steps, seconds on a node), on treating requests as asynchronous jobs with progress rather than streams, on batching by shape and step-level sharing, and on the cost per clip as the number the design is judged by.
No comments yet — be the first to share your approach.
