Gupta says inference demand is growing faster than other workloads and compares AI infrastructure’s evolution with the cloud era: from basic compute to serving frameworks, then orchestration. He points to routing, KV cache management, prefill-decode disaggregation, and multimodel multiplexing as challenges that orchestration must handle.
Operating Distributed Inference Systems at Scale
Speakers
Nishant Gupta and Naman Ahuja, who build training and inference infrastructure at Meta, discuss operating distributed inference systems at scale at AI Engineer World Fair.
Unlike traditional web traffic, agentic demand depends on users, calls per user, and tokens per call. Gupta gives examples ranging from one call for a chatbot turn to 10–20 for a copilot, 50 for a research agent, and thousands for an autonomous workflow. He argues that teams need workload-aware scheduling, elasticity, and admission control.
Inference schedulers need to consider GPU type, HBM headroom, KV cache state, model warm-up, tenant priority, workflow context, and latency budget. Gupta says placement should aim to finish work quickly and cheaply, while accounting for the cost already spent on earlier workflow steps. Routing, caching, batching, utilization, and autoscaling are coupled, so diagnosing bottlenecks requires an end-to-end view.
A degraded GPU can raise latency, trigger retries, grow queues, and saturate healthy GPUs, creating cascading failure. Gupta recommends circuit breakers, admission control that can reject work, load shedding tied to QPS, and retry budgets. He also identifies time to first token, utilization, success per dollar, and end-to-end latency as signals for operating the system.
Latency, cost, and throughput trade off against one another: larger batches can improve throughput and cost efficiency while hurting tail latency, and speculative decoding can reduce latency while adding compute cost. Gupta argues that platforms should optimize cost per successful task rather than cost per token or request. He describes an inference control plane that brings routing, batching, caching, scheduling, and reliability into a coordinated layer.
Takeaways
- Plan agent capacity around calls and tokens per workflow, not just user count.
- Include cache state, model warm-up, tenant priority, and workflow stage in scheduling decisions.
- Track cost per successful task alongside latency, throughput, and utilization.
- Use admission control, circuit breakers, load shedding, and retry budgets to limit cascading failures.
- Build operational control loops across routing, batching, caching, scheduling, and reliability.
Mentioned in this talk
Search inside this talk
What was claimed 9
- works atNishant Gupta works at
Meta
software engineering tech lead“I'm a software engineering tech lead at Meta”
0:03inProduction Evals For Agentic AI SystemsYouTube Verified6 sources· Talk, Web· archived
- works atNaman Ahuja works at
Meta
“We work on building efficient training and inference infrastructure at Meta.”
YouTube Unverified1 source· Talk
- featurecontinuous batching: Required for LLM serving to avoid throughput collapsing by an order of magnitude
“LLM serving requires continuous in-flight batching; otherwise, throughput collapses by an order of magnitude.”
YouTube Unverified1 source· Talk
- feature
AMD: GPU hardware option supported by the inference scheduler
“what hardware it can use—NVIDIA, AMD, or an in-house silicon chip”
YouTube Unverified1 source· Talk
- feature
Nvidia: GPU hardware option supported by the inference scheduler
“what hardware it can use—NVIDIA, AMD, or an in-house silicon chip”
YouTube Unverified1 source· Talk
- featureworkload-aware scheduling: Places work where it will finish in the fastest and cheapest time
“place the work where it will finish in the fastest and cheapest time”
YouTube Unverified1 source· Talk
- featurespeculative decoding: May improve latency but requires extra compute and can increase cost per token
“If I use speculative decoding, I may improve latency, but it requires extra compute.”
YouTube Unverified1 source· Talk
- featurecontrol plane: Coordinates routing, batching, caching, scheduling, and reliability
“Routing, batching, caching, scheduling, and reliability can't be separate knobs anymore; they're converging into a logical layer.”
YouTube Unverified1 source· Talk












