Repository navigation
[NVIDIA][AgentX] GB300 Kimi-K3.1-Pro FP4 Dynamo+SGLang: nightly-dev-cu13-20261120-03fde9cc image, hybrid-cache checkpoint level 3 on aggregated points / [NVIDIA][AgentX] GB300 Kimi-K3.1-Pro FP4 Dynamo+SGLang:nightly-dev-cu13-20261120-03fde9cc 镜像,聚合式点位使用 hybrid-cache checkpoint level 3 - #5186
nvpohanh wants to merge 4 commits into
Conversation
…to nightly-dev-cu13-20261120-03fde9cc / [NVIDIA][AgentX] GB300 Kimi-K3.1-Pro FP4 Dynamo+SGLang:镜像切换至 nightly-dev-cu13-20261120-03fde9cc Switch the GB300 Kimi-K3.1-Pro FP4 Dynamo+SGLang AgentX configs (kimik3.1-fp4-gb300-dynamo-sglang-agentic-dflash-disagg and -agg-mk) from lmsysorg/sglang:dev-kimi-k31-pro to the official 2026-11-20 CUDA 13 nightly lmsysorg/sglang:nightly-dev-cu13-20261120-03fde9cc, pinned to its multiarch index sha256:d6f6d9720febe26aad1e40649a401cddd8504feb1d70de6b7ea374ff71785931 (linux/arm64 manifest sha256:a6214cb2047c6494c60e33827cd66c1776ac6fe8cffa7ad0f3abdfff9e2ccc74). The recipes run the Dynamo shipped in the image (dynamo.install: false), so the recipe identity and the router version follow the image: SGLang 0.0.0.dev1+g03fde9cc3 and Dynamo 1.8.0.dev20261119 (was 0.0.0.dev1+ge79de62d2.d20261104 and 1.6.0). No serving, topology, scheduling, speculative-decoding or KV settings change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…checkpoints-level 3 on the aggregated megakernel points / [NVIDIA][AgentX] GB300 Kimi-K3.1-Pro FP4 Dynamo+SGLang:聚合式 megakernel 点位使用 hybrid-cache-checkpoints-level 3 SGLang nightly-dev-cu13-20261120-03fde9cc defaults hybrid_cache_checkpoints_level to 2 (sgl-project/sglang#49886): KDA state is checkpointed only at branching points and request ends, with a soft cap of one state per path. The previous image checkpointed every prefill chunk with no per-path cap (mamba_max_states_per_path=-1). On the agentic traces the prefix-cache hit then falls back one turn more often, and matched turns re-prefill more tokens, which raises TTFT at the aggregated c2 and c4 points. Level 3 restores the per-chunk, uncapped checkpoints there. The disaggregated recipes are unchanged: their prefill workers already kept one state per path on the previous image, and decode keeps no state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the contribution!
中文感谢你的贡献!
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
[by Claude Code] I've started babysitting the pipeline of this PR. I'll keep monitoring it until it passes. If a job fails, I may rerun it when the cause is infrastructure, or push a fix or a merge of the latest |
| image: lmsysorg/sglang:nightly-dev-cu13-20261120-03fde9cc@sha256:d6f6d9720febe26aad1e40649a401cddd8504feb1d70de6b7ea374ff71785931 | ||
| model: moonshotai/Kimi-K3.1-Pro | ||
| model-prefix: kimik3.1 | ||
| runner: cluster:gb300-nv | ||
| precision: fp4 | ||
| framework: dynamo-sglang | ||
| router: { name: dynamo-router, version: "1.6.0" } | ||
| router: { name: dynamo-router, version: "1.8.0.dev20261119" } |
There was a problem hiding this comment.
🔴 Disaggregated Kimi-K3.1 GB300 points with several prefill workers will publish numbers skewed by a known Dynamo routing bug, and nothing records it. The new image ships Dynamo 1.8.0.dev20261119, where the SGLang chat processor drops agent context (ai-dynamo/dynamo#19199). Subagent turns then stop pinning to one prefill worker, so prefix-cache hits fall. The perf-changelog entry does not mention this. Fix: run Dynamo with ai-dynamo/dynamo#19204 on the disagg key, or hold this key until a wheel has it. At minimum, state the regression in the perf-changelog description.
Why this was flagged
The disagg rows at nvidia-master.yaml:8955-8976 run 2 to 4 prefill workers. Their recipes set dyn-chat-processor: sglang (disagg-tp16-variants.yaml:55, disagg-tp8-variants.yaml:58) and rely on session affinity (router-session-affinity-ttl-secs, AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID). Both recipes keep dynamo.install: false, so the image's Dynamo 1.8.0.dev20261119 runs. The PR description says this version drops agent context in custom chat processors, including SGLang's, and that the fix is not in any wheel yet. Subagent turns can then land on a different prefill worker than earlier turns of the same session, which raises re-prefill and TTFT. On the base branch, Dynamo 1.6.0 keeps the pinning. The new perf-changelog block (perf-changelog.yaml:13302-13310) credits the change to the image and checkpoint level only. Readers of the published disagg curve cannot tell that part of the shift comes from a router regression. The single-worker agg-mk points are not affected.
Verification: The diff changes the router version to "1.8.0.dev20261119" (nvidia-master.yaml:8935/8941). Both disagg recipes keep install: false and set dyn-chat-processor: sglang. The master rows use 4, 3, 3 and 2 prefill workers (nvidia-master.yaml:8954-8976). The base image ran Dynamo 1.6.0, which does not have this regression. The new perf-changelog entry does not mention it.
There was a problem hiding this comment.
[by Claude Code] This doesn't change how these recipes route, and it is not a regression from the base branch.
- Custom chat processors lose the agent context, so session-aware router plugins see no session ai-dynamo/dynamo#19199 drops only the agent context on the chat-processor path. The issue itself notes that "Session affinity still works, because that id is copied". Session affinity is what these recipes use (
router-session-affinity-ttl-secs); they set no router policy plugin. - In this PR's run (45102543383), the frontend logs show
selection="session_affinity"for 86-89% of prefill routing decisions at c180, c224, c340 and c520. A session's turns do stay on one prefill worker. - Dynamo 1.6.0 on the base branch did not carry the agent context through custom chat processors either. It did not carry session affinity through them at all: that arrived with fix(bindings): preserve session affinity through chat processors ai-dynamo/dynamo#15333, after 1.6.0. Relative to the published curve, the change on the multi-prefill points is that session affinity now takes effect.
I've corrected the PR description, which wrongly said subagent turns are no longer pinned, and added the session-affinity change there.
|
[by Claude Code] The SGLang cookbook integration of this PR's AgentX configs ( This PR has no authorized |
|
View unofficial run (performance): https://inferencex.semianalysis.com/inference?unofficialRun=45102543383 View unofficial run (accuracy): https://inferencex.semianalysis.com/evaluation?unofficialRun=45102543383 |
|
[by Claude Code] sgl-project/sglang#52550 has been merged. This PR's AgentX configs ( This PR has no authorized |
|
/use 45102543383 |
|
@nvpohanh staged run 45102543383. This run remains available across future |
|
As a PR reviewer and CODEOWNER, I have reviewed this and have: Checklist items
Additional detail section:Evidence is grouped by verifier check. All of it is for head
Signed: |
❌❌❌ REJECTED ❌❌❌The verifier did not produce a valid verdict. Retry the sign-off verification. Assessed commit: |
|
[by Claude Code] The SGLang cookbook update of this PR's AgentX configs ( This PR's |
|
[by Claude Code] sgl-project/sglang#53052 has been merged. This PR's AgentX configs ( This PR's |
|
[by Claude Code] Draft issue: the CODEOWNER sign-off verifier ends without a verdict when it delegates to background subagents This is a draft for maintainers, posted here because this PR is affected; it has not been filed as an issue yet. Nothing in the sign-off checklist below has been found wrong. SummaryFor this PR's sign-off (#5186 (comment)), Each time, the following happens:
Runs
The first pass always reports Likely cause
Suggested fixes
This PRThe checklist comment is unchanged by these failures. Once the workflow is fixed, dispatching |
|
As a PR reviewer and CODEOWNER, I have reviewed this and have: Checklist items
Additional detail section:Evidence is grouped by verifier check. All of it is for head
Signed: |
|
Moves both Kimi-K3.1-Pro GB300 Dynamo + SGLang AgentX config keys,
kimik3.1-fp4-gb300-dynamo-sglang-agentic-dflash-disaggandkimik3.1-fp4-gb300-dynamo-sglang-agentic-dflash-agg-mk, fromlmsysorg/sglang:dev-kimi-k31-proto the official 2026-11-20 CUDA 13 nightlylmsysorg/sglang:nightly-dev-cu13-20261120-03fde9cc. The image is pinned to its multi-arch indexsha256:d6f6d9720febe26aad1e40649a401cddd8504feb1d70de6b7ea374ff71785931(linux/arm64 manifestsha256:a6214cb2…). There are no engine patches.The nine points, their topologies and their concurrencies are the ones from #5059. The only recipe change is
hybrid-cache-checkpoints-level: 3on the aggregated megakernel points.Image and identity. The recipes keep running the Dynamo that ships in the image (
dynamo.install: false), so the image switch also moves Dynamo from 1.6.0 to 1.8.0.dev20261119.identity.frameworksin all three GB300 recipes and thedynamo-routerversion innvidia-master.yamlfollow the image:0.0.0.dev1+g03fde9cc3(was0.0.0.dev1+ge79de62d2.d20261104);1.8.0.dev20261119(was1.6.0).The
RadixArk/Kimi-K3.1-Dflash2-PreviewDFLASH draft, golden AL, block sizes, precisions, KV settings and topology are unchanged.Hybrid-cache checkpoint level 3 on the aggregated points (c2, c4).
hybrid_cache_checkpoints_level = 2the default. Level 2 checkpoints KDA state only at fork points and request ends, with a soft cap of one state per path. The previous image checkpointed every prefill chunk with no per-path cap.agg-tp16-mk-variants.yamltherefore setshybrid-cache-checkpoints-level: 3, which restores per-chunk, uncapped checkpoints.mamba-max-states-per-path: 1), and decode keeps no state.Image behaviour that this PR does not change.
router-session-affinity-ttl-secsnow keeps a session's turns on one prefill worker on the multi-prefill disaggregated points (c180, c224, c340, c520). In this PR's run, 86-89% of prefill routing decisions at those points areselection="session_affinity".SGLANG_ENABLE_DFLASH_DRAFT_KV_RING, so it stays off.中文
将 Kimi-K3.1-Pro GB300 Dynamo + SGLang AgentX 的两个 config key(
kimik3.1-fp4-gb300-dynamo-sglang-agentic-dflash-disagg与kimik3.1-fp4-gb300-dynamo-sglang-agentic-dflash-agg-mk)从lmsysorg/sglang:dev-kimi-k31-pro切换到 2026-11-20 的官方 CUDA 13 nightlylmsysorg/sglang:nightly-dev-cu13-20261120-03fde9cc,并固定其 multi-arch index digestsha256:d6f6d9720febe26aad1e40649a401cddd8504feb1d70de6b7ea374ff71785931(linux/arm64 manifestsha256:a6214cb2…)。没有任何引擎补丁。九个配置点及其拓扑与并发均与 #5059 一致。唯一的 recipe 改动是在聚合式 megakernel 配置点上设置
hybrid-cache-checkpoints-level: 3。镜像与 identity。 recipe 继续使用镜像自带的 Dynamo(
dynamo.install: false),因此切换镜像也会把 Dynamo 从 1.6.0 升级到 1.8.0.dev20261119。三个 GB300 recipe 的identity.frameworks以及nvidia-master.yaml中的dynamo-router版本均随镜像更新:0.0.0.dev1+g03fde9cc3(原为0.0.0.dev1+ge79de62d2.d20261104);1.8.0.dev20261119(原为1.6.0)。RadixArk/Kimi-K3.1-Dflash2-PreviewDFLASH draft、golden AL、block 大小、精度、KV 设置与拓扑均不变。聚合式配置点(c2、c4)使用 hybrid-cache checkpoint level 3。
hybrid_cache_checkpoints_level = 2设为默认值。level 2 只在分叉点与请求末尾保存 KDA 状态,且每条路径软上限为一个状态;之前的镜像则在每个 prefill chunk 都保存,且不设上限。agg-tp16-mk-variants.yaml设置hybrid-cache-checkpoints-level: 3,恢复按 chunk 保存且不设上限的 checkpoint。mamba-max-states-per-path: 1),decode 不保存状态。本 PR 未改变的镜像行为。
router-session-affinity-ttl-secs现在会把同一 session 的各轮请求固定到同一个 prefill worker。本 PR 的运行中,这些配置点 86-89% 的 prefill 路由决策为selection="session_affinity"。SGLANG_ENABLE_DFLASH_DRAFT_KV_RING,因此保持关闭。AI model disclosure
claude-opus-5-5), via Claude Code.🤖 Generated with Claude Code