Skip to content

docs: add KV Cache Management section with KVCR pages for vLLM and SGLang - #17544

Draft
callanjfox wants to merge 1 commit into
mainfrom
docs/kvcr-kv-cache-management
Draft

callanjfox wants to merge 1 commit into
mainfrom
docs/kvcr-kv-cache-management

Conversation

@callanjfox

Copy link
Copy Markdown

Summary

Draft for review. Adds a KV Cache Management section to the Developer Guide with the KV Cache Runner (KVCR) pages for vLLM and SGLang. Please review the KVCR pages; the overview page is included so the section links work.

New pages in docs/fern/pages/developer-guide/knowledge-base/kv-offload/ (flat navigation, engine in each title):

Page Type
KV Cache Management Overview Concept
KV Cache Runner (KVCR) Concept, with configuration diagrams
How KV Hints Work Concept
Configure KVCR for vLLM Task, one GPU server
Run KVCR on Kubernetes with vLLM Task
Run KVCR Guard on Kubernetes with vLLM Task
Verify and Monitor KVCR with vLLM Task
Configure KVCR for SGLang Task, preview
Configure KVCR Linker Mode for SGLang Task, preview
Run KVCR on Kubernetes with SGLang Task, preview
Run KVCR Guard on Kubernetes with SGLang Task, preview
Tune Routing for KVCR Task

Also:

  • docs/fern/index.yml: adds the section to the Developer Guide tab.
  • Links into the section from the router pages (Configuration and Tuning, Topology-Aware KV Transfer, Offloading Support Matrix).
  • examples/backends/sglang/deploy/kvcr/: draft SGLang manifests used by the two SGLang Kubernetes pages.

Validation

  • vLLM pages: commands run as written on 2x H200 (peer-only, KVCR pool, Guard with an engine crash and reattach); both vLLM Kubernetes examples deployed on two nodes (transfer, crash recovery, reattach).
  • SGLang HiCache and Linker (with Guard) pages: run as written on 2x H200 with the unmerged SGLang KVCR series.
  • SGLang Kubernetes: the HiCache example ran on two H200 nodes (the second worker reused 2,112 of 2,161 prompt tokens through KVCR). The Linker + Guard example passes a server-side dry run only; it has not been deployed.
  • Routing: frontend starts with the recommended policy and flags; routing under load not benchmarked. Recommended values come from the simulations in feat(router): credit KV blocks a worker can fetch, choosing the fetch source during selection #16701.
  • docs_lint.py: 0 errors. Every relative link and anchor in the new pages resolves.

Not in this PR

@copy-pr-bot

copy-pr-bot Bot commented Oct 28, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot added docs documentation Improvements or additions to documentation backend::sglang Relates to the sglang backend labels Oct 28, 2026
@callanjfox

Copy link
Copy Markdown
Author

/ok to test 8957248

@copy-pr-bot

copy-pr-bot Bot commented Oct 28, 2026

Copy link
Copy Markdown

/ok to test 8957248

@callanjfox, there was an error processing your request: E2

See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/

…Lang

Adds a flat KV Cache Management section to the Developer Guide: concept
pages for cache tiers, cache managers, KVCR, and KV hints, plus task pages
for running KVCR with vLLM and SGLang on one server and on Kubernetes,
verifying transfers, and tuning routing. Adds draft SGLang KVCR manifests
under examples/backends/sglang/deploy/kvcr and links the router pages to
the new section.

Signed-off-by: Callan Fox <callanf@nvidia.com>
@callanjfox
callanjfox force-pushed the docs/kvcr-kv-cache-management branch from 8957248 to b8c8d06 Compare October 28, 2026 23:03
@github-actions

Copy link
Copy Markdown
Contributor

@devin-ai-integration

Copy link
Copy Markdown
Contributor

✅ Dynamo PR CI passed — run 40784644315 (attempt 1) on b8c8d06f53

Gate checks: ✅ backend-status-check · ✅ deploy-status-check · ✅ dynamo-status-check

Posted automatically by Devin for run 40784644315. Updated on every full-CI run of this PR.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend::sglang Relates to the sglang backend docs documentation Improvements or additions to documentation size/XXL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant