Repository navigation
docs: forbid KV cache DRAM pools on servers without inference workers - #5207
Conversation
|
|
||
| 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. |
There was a problem hiding this comment.
🟡 (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.
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:
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.