Skip to content

docs: forbid KV cache DRAM pools on servers without inference workers - #5207

Merged
cquil11 merged 1 commit into
mainfrom
docs/kv-offload-worker-servers-only
Nov 24, 2026
Merged

cquil11 merged 1 commit into
mainfrom
docs/kv-offload-worker-servers-only

Conversation

@cquil11

@cquil11 cquil11 commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Adds one paragraph to the KV cache offloading policy in MODELS.md.

The policy already says the CPU DRAM used for KV cache offloading is proportional to the share of a server's GPUs the configuration uses, applied per server. It did not say what that means for a server where the configuration runs no inference workers. This spells it out:

  • A server with no inference workers has an allowance of zero, so no standalone store (for example a Mooncake store service) or other offload pool may sit on a frontend, router, benchmark-client or other infrastructure node.
  • A standalone store on a server that does run inference workers is still allowed. It counts toward that server's allowance together with the pools inside the workers.

Context: the question raised about #4695, where the GB200 MiniMax-M3.1-Flash SGLang linker variants place 4 x 150 GB Mooncake stores on the infra node. This PR only documents the rule; it does not change that recipe.

@cquil11
cquil11 requested a review from a team November 24, 2026 16:02
@cquil11
cquil11 merged commit e199962 into main Nov 24, 2026
3 checks passed
@cquil11
cquil11 deleted the docs/kv-offload-worker-servers-only branch November 24, 2026 16:04

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.


This rule applies independently to each server.

A server that runs none of the configuration's inference workers has no GPUs in use, so its allowance is zero. CPU DRAM on such a server (a frontend, router, benchmark-client or other infrastructure node) may not hold KV cache: no standalone store, such as a Mooncake store service, and no other offload pool may be placed there. A standalone store on a server that does run inference workers is allowed, and it counts toward that server's allowance together with the pools inside the workers.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 (optional) After merge, an active benchmark config in this repo breaks the new rule and keeps producing results that the published policy forbids. The paragraph bans KV stores on non-worker nodes. Both GB200 MiniMax SGLang linker variants still place 4 x 150 GB Mooncake stores on node: infra. Fix: in this PR, either make the override_1p_dep8_dep16_linker_d1115 and override_2p_dep8_dep16_linker_d1115 recipes comply or retire their master-config entry. Making them comply means dropping the infra stores or moving that capacity onto worker nodes within their allowance. A recipe change also needs a perf-changelog entry.

Why this was flagged

The new rule at MODELS.md:125 says a server with no inference workers may not hold any standalone store, and names a Mooncake store service as an example. The recipe at minimaxm31flash/sglang/gb200-fp4/agentx/disagg-variants.yaml:277-305 defines store-infra-0..3, each a mooncake-store with placement: node: infra and MOONCAKE_GLOBAL_SEGMENT_SIZE: 150gb. Both variants, override_1p_dep8_dep16_linker_d1115 and override_2p_dep8_dep16_linker_d1115 (line 358 reuses the same services anchor), are referenced by the live entry minimaxm31flash-fp4-gb200-dynamo-sglang-agentic-dspark-disagg-linker-d1115 at configs/nvidia-master.yaml:4589-4619. So after merge, the repo's own active sweep config breaks the published offloading policy, and any rerun or /use ingest of these points publishes non-compliant results. On the base branch the policy did not address infra nodes, so the two did not conflict.

Verification: The new MODELS.md:125 says a server with no inference workers may not hold KV cache. Both recipes are still active in configs/nvidia-master.yaml at lines 4610 and 4617. So after merge, an active config places 600 GB of KV store on a node the new policy gives a zero allowance, and its results break the published rule.

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

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant