NVIDIA Dynamo adds session-aware inference: reuse agent KV cache across vLLM and SGLang
PyTorch · x · 2026-10-09
A PyTorch blog post co-published with NVIDIA details how NVIDIA Dynamo reshapes inference serving for agentic workloads.
The problem: unlike single-turn chat, a coding agent session starts with a large prefill (often tens of thousands of tokens of system prompt, tool definitions and user guidance), resends the full context every turn, and fans out into dozens of model calls plus parallel short- and long-lived subagents. Most wall-clock time is spent waiting on tool calls, with the context sitting resident in the KV cache while nothing generates. Serving efficiency hinges on how much resident context is kept and reused, and how many concurrent sessions fit under sub-second latency targets.
The approach: Dynamo introduces a unified session-level identifier that upgrades request-granularity serving into a program-aware system, enabling:
- Session-aware routing
- Shared KV cache indexing across workers
- Programmatic KV cache movement across vLLM and SGLang engines
The post contrasts chatbot vs. agentic traffic shapes and shows how Dynamo's router, inference engine, and KV-cache manager work end to end.
Related event: NVIDIA Dynamo Introduces Session-Aware Inference for Agentic KV Cache Reuse(2 posts)→
More from coding & agent
- NVIDIA expands OpenShell for agent permissions; Anthropic, CrowdStrike, Palantir already using it — NVIDIAAI · 2026-12-02
- Anchor Browser lands in Hermes Agent: cloud browser handles logins without pasting passwords — ghumare64 · 2026-12-02
- Developer uses Neon to fix the weirdest bugs Opus left in centrifuge controllers — jonathanberte · 2026-12-02
- NVIDIA launches Nemotron 4, built for long-running coding agents that work for days — nvidia · 2026-12-02
- Solo filmmaker makes 3.5-min AI short film: 21 shots with Midjourney, Seedance 2.5 and ElevenLabs — DavidmComfort · 2026-12-02
- Claude Code + ARIA via MCP: debugging agent evals from 4/12 to 9/12 — CoreWeaveDevs · 2026-12-02