Skip to content

[K3.1-Pro] GB200 Dynamo+SGLang: add DCP8 aggregated and PP2-prefill disaggregated points, drop superseded points / [K3.1-Pro] GB200 Dynamo+SGLang:新增 DCP8 聚合式与 PP2 prefill 分离式测试点并移除被取代的测试点 - #5027

Merged
Oseltamivir merged 4 commits into
mainfrom
nvpohanh/kimik31-gb200-dynamo-sglang-dcp8-pp2
Nov 13, 2026

Conversation

@nvpohanh

@nvpohanh nvpohanh commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Reworks the Kimi-K3.1-Pro GB200 Dynamo+SGLang AgentX curve (kimik3.1-fp4-gb200-dynamo-sglang-agentic-dflash-agg and -disagg) on the same image. It adds seven points from two new designs: TP16 DCP8 aggregated, and disaggregated with a PP2 prefill. It also removes eleven existing points those designs are expected to supersede, and keeps two existing disaggregated points unchanged. Because points are removed, the changelog entry is a regular full-curve entry, not append-only, and the sweep re-measures all nine remaining points.

Recipe override Topology GPUs Conc Prefill Decode / aggregated worker Verify tokens (golden AL) Status
agg-variants.yaml:override_tp16_dcp8_c1 agg 16 1 – TP16 EP1 DCP8, 2 requests 8 (3.68) new
agg-variants.yaml:override_tp16_ep4_dcp8_c4 agg 16 4 – TP16 EP4 DCP8, 8 requests 8 (3.68) new
disagg-variants.yaml:override_1p1d_tp16_c16 1P1D 32 16 TP16 DCP16 TP16 DCP16, 32 requests 8 (3.68) unchanged
disagg-variants.yaml:override_1p2d_tp16_c32 1P2D 48 32 TP16 EP4 DCP16 2 × TP16 DCP16, 32 requests each 8 (3.68) new
disagg-variants.yaml:override_1p1d_tp16_ep16 1P1D 32 64 TP16 DCP16 TP16 DCP16 EP16 MegaMoE, 96 requests 8 (3.68) unchanged (76 and 96 removed)
disagg-variants.yaml:override_1p2d_pp2_c76 1P2D 48 76 TP8 × PP2, EP2, DCP8 2 × TP16 (DCP8 × attn DP2) EP16, 128 requests each 8 (3.68) new
disagg-variants.yaml:override_1p2d_pp2_c150 1P2D 48 150 TP8 × PP2, EP2, DCP8, 32k chunks 2 × TP16 (DCP8 × attn DP2) EP16, 128 requests each 6 (3.43) new
disagg-variants.yaml:override_1p1d_pp2_c150 1P1D 32 150 TP8 × PP2, EP2, DCP8, 32k chunks TP16 (DCP8 × attn DP2) EP16, 192 requests 5 (3.25) new
disagg-variants.yaml:override_1p1d_pp2_c200 1P1D 32 200 TP8 × PP2, EP2, DCP8 TP16 (DCP8 × attn DP2) EP16, 128 requests 6 (3.43) new

Removed:

  • all seven aggregated TP16 DCP16 points (concurrency 1, 4, 8, 24, 32, 48 and 56);
  • the 1P1D TP16 points at concurrency 32 and 48;
  • the 1P1D EP16 MegaMoE points at concurrency 76 and 96.

Why two old points stay: on the throughput-per-GPU vs p90 E2EL frontier of the published curve (run 41990398212, run 42530422785), 1P1D concurrency 16 is the lowest-E2EL point: 3,071 tok/s/GPU at 15.6 s. 1P1D EP16 concurrency 64 is the highest-throughput point under 30 s: 10,381 tok/s/GPU at 29.6 s. Keeping both covers the low-latency end and the middle of the E2EL frontier. Their recipes are unchanged.

The new designs

  • Aggregated (agg-variants.yaml, which now holds only this design): one TP16 worker on four nodes with DCP8, so the per-layer DCP combine on each verify and draft step spans two trays instead of four. Concurrency 1 runs EP1 with 2 running requests. Concurrency 4 runs EP4 with 8 running requests and mem-fraction-static 0.82.
  • Disaggregated 1P2D TP16 (new override in disagg-variants.yaml): concurrency 32 pairs an EP4 DCP16 prefill with two TP16 DCP16 decode workers, each capped at 32 requests. The frontend balances the decode hop by active requests.
  • Disaggregated PP2 prefill (four new overrides in disagg-variants.yaml): 1P2D at concurrency 76 and 150, and 1P1D at concurrency 150 and 200. override_1p1d_pp2_c200 carries the settings the PP2 points share under YAML anchors; the other three inherit them with merge keys (<<:) and list only their own changes.
    • Prefill: TP8 × PP2 with DCP8 and EP2. The 93 layers split 48/45, because the last stage also runs the DFLASH draft and lm_head. It loads with the default multithreaded loader, since the Run:ai streamer cannot load a pipeline-parallel model.
    • Decode: TP16 as DCP8 × attention DP2, with the DP LM head, EP16 DeepGEMM MegaMoE (MXFP8 dispatch, BF16 combine) and shared experts at TP8. It runs 128 requests with CUDA graphs to 64 per DP rank; 1P1D concurrency 150 runs 192 requests with graphs to 96 and mem-fraction-static 0.87.
    • Prefill queueing: in-batch prefix deferral is off (IN_BATCH_PREFIX_CACHING_CHECK_THRESHOLD=-1); at a saturated prefill it held cold requests behind shared prefixes and doubled the TTFT tail.
    • Concurrency 150: both points use 32k prefill chunks, with BF16 GEMM warmup to 32k and a smaller DSA indexer logits transient.
  • Speculation: DFLASH (RadixArk/Kimi-K3.1-Dflash2-Preview) with block verification on both roles. It verifies 8 tokens through concurrency 76, 6 at concurrency 150 (1P2D) and 200, and 5 at concurrency 150 (1P1D). Acceptance comes from the driver's golden curve (3.68, 3.43 and 3.25). No recipe sets SGLANG_SIMULATE_ACC_* or SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE.
  • Other settings on the new points:
    • HiCache at 108 GB per rank, which keeps a tray's host KV, Mamba and indexer pools under its 487 GB offload share;
    • Run:ai streamer loading on every role except the PP2 prefill;
    • dist-timeout 3600;
    • no KV events, since each point has a single prefill or aggregated worker for the KV router to choose;
    • FP32 KDA state and FP8 KV are unchanged.

Things to know:

  • Evals: the full-curve entry schedules agentic lm-eval eval-only jobs at every point except aggregated concurrency 1 (eight jobs).
  • PP2 startup: the PP2 prefill uses the default multithreaded loader, which takes somewhat longer to load the checkpoint than the Run:ai-loaded decode workers.
  • Local checks:
    • python -m infx.matrix.changed --base origin/main lists aggregated 7 → 2 points (2 added, 7 removed) and disaggregated 6 → 7 (5 added, 4 removed).
    • The two kept points' merged recipes are unchanged, and srtctl expands every point to the same recipe the planner does.
    • infx.workflows.validate_perf_changelog and infx.matrix.plan pass, and the plan schedules the nine points and eight eval jobs.
    • The srt-slurm, matrix, launch-recipe and workflow tests pass.
AI model disclosure
  • Model/version: claude-opus-5-5 (Claude Code)

  • Role: translated the measured recipes into these bundles, the master-config rows and the changelog entry. It also checked them:

    • recipe generation and sweep planning against main;
    • the merged recipes against the measured server arguments;
    • the golden acceptance each point receives.

    It also selected which existing points to keep from the published runs' throughput and E2EL, ran the local matrix, changelog and recipe checks, and wrote this description.

  • Model/version: claude-opus-5-5 (requested model, effort xhigh)

  • Role: drove the automated configuration search that produced the measured points.

PR checklist and change type

Type of Change

  • Bug fix
  • New feature
  • Configuration change
  • Documentation update
  • Other (please describe)

Checklist

  • I have completed the AI model disclosure and kept it current
  • I have tested my changes locally
  • I have updated documentation if necessary
  • If python -m infx.matrix.changed --base origin/main lists affected config keys, I have appended one new entry covering them to the physical end of inferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entries
  • If this PR appends an inferencex-e2e/perf-changelog.yaml entry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs): full-sweep-fail-fast (recommended), full-sweep-enabled, or non-canary-full-sweep-enabled. Optional modifiers all-evals, evals-only, and agentx-fast require a primary label; the last two block reuse while applied.
  • Before merging via reuse, an authorized maintainer (OWNER/MEMBER/COLLABORATOR) has commented /use <run_id> (or the legacy /reuse-sweep-run) on this PR. Do this only once there is a final full sweep that is all green with evals passing, since after this comment the primary sweep label will no longer automatically kick off new sweeps. Remove and re-add the primary sweep label to force a new sweep.
中文

本 PR 在同一镜像上调整 Kimi-K3.1-Pro GB200 Dynamo+SGLang AgentX 曲线(kimik3.1-fp4-gb200-dynamo-sglang-agentic-dflash-agg 与 -disagg):基于两种新设计(TP16 DCP8 聚合式,以及 prefill 采用 PP2 的分离式)新增七个测试点,移除预计会被这些新设计取代的十一个现有测试点,并保留两个现有分离式测试点不变。由于移除了测试点,changelog 条目为常规的整条曲线条目而非 append-only,sweep 会重新测量全部九个保留点。各点的 recipe override、拓扑、GPU 数、并发、prefill 与 decode(或聚合)worker 配置、验证 token 数与 golden AL 以及状态见上方表格。

移除:

  • 全部七个聚合式 TP16 DCP16 点(并发 1、4、8、24、32、48 和 56);
  • 并发 32 和 48 的 1P1D TP16 点;
  • 并发 76 和 96 的 1P1D EP16 MegaMoE 点。

保留两个旧点的原因: 在已发布曲线(run 41990398212、run 42530422785)的每 GPU 吞吐与 p90 E2EL 前沿上,1P1D 并发 16 是 E2EL 最低的点(15.6 秒时 3,071 tok/s/GPU);1P1D EP16 并发 64 是 30 秒以内吞吐最高的点(29.6 秒时 10,381 tok/s/GPU)。保留这两点可以覆盖 E2EL 前沿的低延迟端与中段,其配方保持不变。

新设计

  • 聚合式(agg-variants.yaml,现仅包含该设计): 跨四个节点的单个 TP16 worker,使用 DCP8,使每次验证和草稿步的逐层 DCP combine 只跨两个 tray 而非四个。并发 1 使用 EP1、2 个运行请求;并发 4 使用 EP4、8 个运行请求,mem-fraction-static 为 0.82。
  • 分离式 1P2D TP16(disagg-variants.yaml 中新增的 override): 并发 32 由一个 EP4 DCP16 prefill 搭配两个 TP16 DCP16 decode worker,每个 worker 最多 32 个请求;前端按活跃请求数在两个 decode worker 间均衡。
  • 分离式 PP2 prefill(disagg-variants.yaml 中新增的四个 override): 1P2D 并发 76 和 150,1P1D 并发 150 和 200。override_1p1d_pp2_c200 通过 YAML anchor 定义 PP2 各点共用的设置,其余三个 override 用 merge key(<<:)继承这些设置,只列出各自的改动。
    • Prefill: TP8 × PP2,DCP8、EP2。93 层按 48/45 切分,因为最后一个 stage 还要运行 DFLASH 草稿模型和 lm_head。由于 Run:ai streamer 无法加载流水线并行模型,prefill 使用默认的多线程加载器。
    • Decode: TP16 以 DCP8 × attention DP2 运行,启用 DP LM head,EP16 DeepGEMM MegaMoE(MXFP8 dispatch、BF16 combine),shared experts 为 TP8。运行 128 个请求,每个 DP rank 的 CUDA graph 到 64;1P1D 并发 150 运行 192 个请求,graph 到 96,mem-fraction-static 为 0.87。
    • Prefill 排队: 关闭 in-batch prefix deferral(IN_BATCH_PREFIX_CACHING_CHECK_THRESHOLD=-1)。在 prefill 饱和时,它会让冷请求排在共享前缀之后,使 TTFT 尾部翻倍。
    • 并发 150: 两个点都使用 32k 的 prefill chunk,BF16 GEMM 预热到 32k,并减小 DSA indexer logits 的临时显存。
  • 投机解码: 两个角色都使用 DFLASH(RadixArk/Kimi-K3.1-Dflash2-Preview)与 block verification。并发 76 及以下每步验证 8 个 token,并发 150(1P2D)和 200 验证 6 个,并发 150(1P1D)验证 5 个。接受长度取自驱动的 golden 曲线(3.68、3.43 和 3.25)。没有配方设置 SGLANG_SIMULATE_ACC_* 或 SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE。
  • 新点的其他设置:
    • 每个 rank 的 HiCache 为 108 GB,使每个 tray 的主机 KV、Mamba 和 indexer 池不超过其 487 GB 的 offload 配额;
    • 除 PP2 prefill 外,所有角色使用 Run:ai streamer 加载;
    • dist-timeout 为 3600;
    • 每个点只有一个 prefill 或聚合 worker 供 KV 路由选择,因此不发布 KV 事件;
    • FP32 KDA 状态和 FP8 KV 保持不变。

注意事项:

  • 评测: 整条曲线条目会在除聚合式并发 1 以外的每个点调度 agentic lm-eval 的 eval-only 任务(共八个)。
  • PP2 启动: PP2 prefill 使用默认的多线程加载器,加载 checkpoint 比使用 Run:ai 加载的 decode worker 稍慢。
  • 本地检查:
    • python -m infx.matrix.changed --base origin/main 列出聚合式 7 → 2 个点(新增 2、移除 7),分离式 6 → 7 个点(新增 5、移除 4);
    • 两个保留点合并后的配方保持不变,且 srtctl 对每个点展开的配方与 planner 一致;
    • infx.workflows.validate_perf_changelog 与 infx.matrix.plan 均通过,plan 调度九个测试点和八个评测任务;
    • srt-slurm、matrix、launch 配方和 workflow 测试均通过。

AI 模型使用说明:claude-opus-5-5(Claude Code)将实测配方整理为这些配方包、master config 行和 changelog 条目。它检查了针对 main 的配方生成和 sweep 规划、合并后配方与实测服务参数的一致性以及每个点获得的 golden 接受长度;它还根据已发布 run 的吞吐与 E2EL 选择保留哪些现有点,运行了本地 matrix、changelog 和配方检查,并撰写了本说明。claude-opus-5-5(请求的模型,effort 为 xhigh)驱动了产生这些实测点的自动配置搜索。

🤖 Generated with Claude Code

…prefill disagg points

Aggregated TP16 DCP8 points at concurrency 1 (EP1) and 4 (EP4).
Disaggregated: a 1P2D TP16 point at concurrency 32, and PP2-prefill
(TP8 x PP2, DCP8, EP2) points with a TP16 DCP8 x attention-DP2 EP16
MegaMoE decode: 1P2D at concurrency 76 and 150, 1P1D at 150 and 200.
Existing points, recipes and the image are unchanged (append-only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution!

  • Review: If this PR changes files owned by someone other than a repository admin or @SemiAnalysisAI/core, ask one eligible CODEOWNER to complete the latest PR_REVIEW_CHECKLIST.md before contacting a core maintainer on Slack. Follow the template exactly, including As a PR reviewer and CODEOWNER, I have reviewed this and have, so sign-off verification triggers.
  • PR verification: Sweeps run only when the PR appends an inferencex-e2e/perf-changelog.yaml entry and carries exactly one primary label: full-sweep-fail-fast (strongly recommended; canary plus per-matrix fail-fast), full-sweep-enabled (canary; matrix jobs continue after a failure), or non-canary-full-sweep-enabled (no canary or fail-fast). The modifiers all-evals, evals-only, and agentx-fast require a primary label. On fork PRs, a maintainer applies the label. See sweep labels and reuse.
  • After merging: PR authors must ensure all GitHub Actions jobs pass. Transient failures often pass on rerun; see how to rerun failed jobs.
中文

感谢你的贡献!

  • **审阅:**如果 PR 修改的文件归属于仓库管理员及 @SemiAnalysisAI/core 之外的 CODEOWNER,请先联系一位有资格的 CODEOWNER 填写最新的 PR_REVIEW_CHECKLIST.md,再通过 Slack 联系核心维护者。必须严格遵循模板,并保留 As a PR reviewer and CODEOWNER, I have reviewed this and have,才能触发签核验证。
  • **PR 验证:**只有当 PR 在 inferencex-e2e/perf-changelog.yaml 末尾追加了条目,并且恰好带有一个主标签时,才会运行扫描:full-sweep-fail-fast(强烈推荐;canary 加逐矩阵 fail-fast)、full-sweep-enabled(有 canary;矩阵任务在失败后继续运行)或 non-canary-full-sweep-enabled(无 canary,也无 fail-fast)。修饰标签 all-evals、evals-only 和 agentx-fast 必须与主标签一起使用。fork PR 的标签由维护者添加。参见扫描标签与复用。
  • **合并后:**PR 作者必须确保所有 GitHub Actions 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

@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.

I reviewed this PR and didn't find any bugs. It adds about 500 lines of new multi-node recipes and master-config rows in CODEOWNER-owned NVIDIA paths, so a human look is still worthwhile.

What was reviewed:

  • All 7 new master rows against their recipe overrides. The tp, pp, dcp-size, ep, worker counts and node counts match. The recipes set only benchmark.env, with no type or command and no SGLANG_SIMULATE_ACC_*.
  • The perf-changelog block is appended only at the tail as one block. The pull/XXX placeholder follows the existing pattern that the validator accepts.
  • I looked at whether dp-attn: false on the PP2 decode rows misreports attention DP2 and ruled it out as a blocker.
  • Not done here: the PR's local infx.matrix.changed, changelog validator and recipe tests were not re-run in this review.
Extended reasoning...

The change adds two new srt-slurm recipe files and one override for Kimi-K3.1-Pro GB200 Dynamo+SGLang, plus 7 nvidia-master.yaml rows and an append-only perf-changelog entry. It touches no security-sensitive surface: it is benchmark configuration only. I deferred because the changed recipe paths and nvidia-master.yaml are covered by CODEOWNERS. The change is also large (516 added lines) and full of tuned parameters that domain owners should confirm.

…designs supersede

Aggregated: agg-variants.yaml now holds only the TP16 DCP8 design at
concurrency 1 and 4. The seven TP16 DCP16 points are removed, and
agg-dcp8-variants.yaml folds into agg-variants.yaml.

Disaggregated: remove the 1P1D TP16 points at concurrency 32 and 48 and
the 1P1D EP16 MegaMoE points at concurrency 76 and 96. The 1P1D TP16
concurrency 16 and 1P1D EP16 concurrency 64 points keep their recipes.

The changelog entry becomes a full-curve entry instead of append-only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nvpohanh nvpohanh changed the title [K3.1-Pro] Add GB200 Dynamo+SGLang DCP8 aggregated and PP2-prefill disaggregated points at concurrency 1-200 / [K3.1-Pro] 新增 GB200 Dynamo+SGLang 并发 1-200 的 DCP8 聚合式与 PP2 prefill 分离式测试点 [K3.1-Pro] GB200 Dynamo+SGLang: add DCP8 aggregated and PP2-prefill disaggregated points, drop superseded points / [K3.1-Pro] GB200 Dynamo+SGLang:新增 DCP8 聚合式与 PP2 prefill 分离式测试点并移除被取代的测试点 Nov 12, 2026
…gg-variants.yaml

The four PP2-prefill points become overrides of the TP16 base in
disagg-variants.yaml (override_1p2d_pp2_c76, override_1p2d_pp2_c150,
override_1p1d_pp2_c150 and override_1p1d_pp2_c200), and
disagg-pp2-variants.yaml is removed. override_1p1d_pp2_c200 anchors the
settings the PP2 points share; the other PP2 overrides inherit them with
YAML merge keys. Every point's merged recipe is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nvpohanh

Copy link
Copy Markdown
Collaborator Author

[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 main when the cause is in this PR.

@nvpohanh nvpohanh added the full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) label Nov 12, 2026
@nvpohanh

Copy link
Copy Markdown
Collaborator Author

[by Claude Code] The SGLang cookbook integration of this PR's AgentX configs (kimik3.1-fp4-gb200-dynamo-sglang-agentic-dflash-agg, kimik3.1-fp4-gb200-dynamo-sglang-agentic-dflash-disagg) will happen in sgl-project/sglang#50081, in the Agentic Long-Context Deployment section of the Kimi-K3.1-Pro cookbook page.

This PR has no authorized /use <run_id> comment yet, so the cookbook shows the recipe at this PR's head (161fdd66b) as "in progress". A later cookbook PR switches it to the measured run once a run is pinned or this PR merges.

@nvpohanh

Copy link
Copy Markdown
Collaborator Author

[by Claude Code] sgl-project/sglang#50081 has been merged. This PR's AgentX configs (kimik3.1-fp4-gb200-dynamo-sglang-agentic-dflash-agg, kimik3.1-fp4-gb200-dynamo-sglang-agentic-dflash-disagg) are now in the Agentic Long-Context Deployment section of the SGLang Kimi-K3.1-Pro cookbook: https://docs.sglang.io/cookbook/autoregressive/Moonshotai/Kimi-K3.1-Pro#agentic-long-context-deployment

This PR has no authorized /use <run_id> comment yet, so the cookbook shows the recipe at this PR's head (161fdd66b) as "in progress". A later cookbook PR switches it to the measured run once a run is pinned or this PR merges.

@github-actions

Copy link
Copy Markdown
Contributor

@nvpohanh

Copy link
Copy Markdown
Collaborator Author

/use 43177885534

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

@nvpohanh staged run 43177885534.

This run remains available across future /stage-results requests. Staging the same run ID again updates its staged data. Staging workflow

@nvpohanh

Copy link
Copy Markdown
Collaborator Author

As a PR reviewer and CODEOWNER, I have reviewed this and have:

Checklist items
  • Verified that as of the moment of typing this, this is the latest version of PR_REVIEW_CHECKLIST.md
  • Verified that the general code quality meets the InferenceX standard and does not make the code quality any worse.
  • Verified that this PR has passed PR validation. Please link to GitHub Action workflow that shows this.
  • Verified that this PR passes evals. Please link to GitHub Action workflow that shows this.
  • Verified that speculative decoding PRs uses chat templates to align the AL distribution to real world
  • Verified that every draft model and draft head is served as it ships: the draft that ships with the served checkpoint, at its stored precision, through the pinned upstream image's default handling, with the shipped and effective draft precision recorded in the additional detail section. No submission-side quantization, dtype override, checkpoint substitution, or patch may lower draft precision below that default, regardless of eval results or AL. Explicitly verified that SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is not enabled in the effective recipe, including inherited settings; enabling it is prohibited going forward, and historical runs do not grant an exception. See Draft-model precision for what counts as the default and the MLPerf comparison.
  • For agentic workloads: verified that speculative-decoding configs (EAGLE / MTP / draft models) run with simulated synthetic acceptance, with the acceptance-length value taken from the committed golden AL curve in infx/golden_al_distribution/ for that model, thinking mode, and draft length. A submission may choose any supported draft length, but it may not substitute a different acceptance target.
  • Verified against the current MODELS.md that this PR does not submit a deprecated model, scenario, or model-scenario combination.
  • Verified that the model architecture isn't changed with benchmark hacks like using --hf-overrides to skipping indexer for every x layers on models that don't natively support this. As a general rule, we won't accept optimizations that reduces the number of model architecture FLOPs. Anything that makes that same computation run faster is fair game; target/verifier FLOPs at lower precisions is fine, given that the config passes private evals, but this does not permit lowering draft-model or draft-head precision below what ships. As an general north star princple, we should only use optimizations which is used in production by customers that care about accuracy
  • Verified that new models disable integer all-reduce, with SGLang ROCm explicitly setting ROCM_QUICK_REDUCE_QUANTIZATION=NONE. Existing models are grandfathered per MODELS.md.
  • For affected Dynamo TRT-LLM benchmarks, verified that iteration/KV-cache metrics are collected and published under the pinned Dynamo implementation and effective engine settings. Resolve the installed Dynamo version separately from the container tag; use supported metrics controls without requiring KV events. Record the version and configuration evidence in the additional detail section. See verifier Check 17. N/A for unaffected serving paths or frameworks without these Dynamo settings.
  • If an company claims that they support vLLM/SGLang as first class LLM inference engines on their hardware, I have verified that the respective vLLM submission made using upstream https://hub.docker.com/u/vllm docker repo, upstream SGLang https://hub.docker.com/u/lmsysorg docker repo. The only exceptions are for new hardware, such as MI455X UALoE72, Vera Rubin NVL72, Rubin NVL8, etc., and for new model architectures where there is an actual reason why vLLM/SGLang does not fundamentally support them yet as supported by vLLM/SGLang community maintainers
  • For official InferenceX (non-preview), verified that established models use upstream engine images built from master (or the equivalent default development branch), with new models transitioning within a reasonable time after release. See MODELS.md.
  • If an company claims that they support vLLM/SGLang as first class upstream in-tree LLM inference engines on their hardware, I have have verified that the respective vLLM/SGLang submission has been made before additional frameworks (TRT-LLM, ATOM, etc.). The only exceptions are for new hardware, such as MI455X UALoE72, Vera Rubin NVL72, Rubin NVL8, etc., and for new model architectures where there is an actual reason why vLLM/SGLang does not fundamentally support them yet.
  • Verified that every affected vLLM/SGLang production serving configuration in this PR, including Dynamo deployments, is documented in the official vLLM recipes and/or the SGLang cookbook, for both single-node and multi-node aggregated and disaggregated serving. The documentation covers production-useful flags, environment variables, and launch commands (including prefill, decode, and router/frontend commands for disaggregation); InferenceX-only benchmark/harness settings are excluded with reasoning in the additional detail section:
    • I linked the corresponding upstream PR in the vLLM recipe repo or SGLang cookbook source repo and verified that it is MERGED before this InferenceX PR merges. An opened, draft, or closed-without-merge upstream PR does not satisfy this requirement. If the matching recipe was already published, I linked the published recipe/cookbook page in the additional detail section below.
  • Verified that this PR does not patch the inference engine or serving stack — the pinned image must run as shipped. This covers .patch files / git apply / patch, inline patches embedded in benchmark scripts (e.g. a python3/sed heredoc that rewrites installed engine sources before serving), in-place edits of site-packages, monkey-patching, overwriting container files, and installing forked/rebuilt engine wheels on top of the pinned image. The only exception is a patch covered by a filled-out waiver at docs/waiver/<PR_NUMBER>.md — named after the PR that introduces the patch and filed in that same PR, stating what is patched, why the unmodified upstream image cannot run this benchmark, the upstream PR/issue link, and the removal plan — which I have linked below in the additional detail section.
  • If this PR uses append-only: true, verified that it only adds generated points or recipe variants inside a selected existing config/scenario and existing same-image visual curve: every previously generated point remains present with the same recipe, no prior point is removed or rerun, and every benchmark-affecting change in the complete diff can affect only the corresponding newly appended points (never an existing point), regardless of which file contains it.
  • If any of the above criteria cannot reasonably be satisfied, I have provided additional reasoning below.
  • Reported measured throughput/E2EL Pareto counts and evidence per affected curve (≥5 points strongly recommended). Below 5 or unverifiable: tag a core maintainer for review; recorded admin bypass required before merge. N/A if no curves are affected. Details.

Additional detail section:

  • Assessed head: 161fdd66bf10a5eed5c6b9a9d81ae8625031a2e5, the current PR head and the commit the pinned sweep ran on (no later commits). Checklist and verifier rules were fetched from main at 7b64020a5.

  • PR validation (pinned run):

    • Run Sweep 43177885534 (pull_request, head 161fdd66, attempt 1, conclusion success), pinned with /use 43177885534, the only reuse command on this PR.
    • All 9 benchmark jobs passed: the agg c1 multi-node canary / and 8 multi-node agentic / jobs.
    • All 8 multi-node agentic eval / jobs passed, as did check-changelog, collect-results, collect-evals, compare-results and calc-success-rate. The skipped jobs are the single-node, fixed-sequence and video lanes these keys do not generate.
    • Its results_bmk, eval_results_all and 9 bmk_agentic_* artifacts are unexpired until 2027-02-10.
  • Evals: 8 gsm8k evals (all points except agg c1) on the PR image digest. em_strict is 0.9788-0.9833 (n=1319), above the default 0.90 in infx/evals/thresholds.yaml. signoff_facts check_2_eval_gaps rates every row ok, within 2σ of both its best sibling and the exact ingested Kimi-K3.1-Pro GB200 dynamo-sglang cohort (run 41990398212, 0.9810).

    Point em_strict
    agg EP4 DCP8 c4 0.9833
    1P1D TP16 c16 0.9803
    1P2D TP16 c32 0.9810
    1P1D EP16 c64 0.9788
    1P2D PP2 c76 0.9810
    1P2D PP2 c150 0.9788
    1P1D PP2 c150 0.9795
    1P1D PP2 c200 0.9788
  • Chat template: the AgentX client (aiperf replaying semianalysis_cc_traces_weka_062126) uses the chat endpoint. The c1 raw artifact agentic/conc_1/aiperf_artifacts/profile_export_aiperf.json shows input_config.endpoint.type = chat with streaming, and every benchmark job runs with THINKING_MODE: thinking_on. Requests go through Dynamo's SGLang chat processor (--dyn-chat-processor sglang) with the kimi_k3 reasoning and tool-call parsers.

  • Draft precision (shipped: BF16, effective: BF16):

    • Draft: RadixArk/Kimi-K3.1-Dflash2-Preview (DFlash2DraftModel) at ea257b38a8ee755b65287bb8ccd0938b519ce26b, last modified 2026-11-06, before the run. Points verify 8, 6 or 5 tokens.
    • Stored precision: config.json has dtype: bfloat16 and no quantization_config. The repo holds only config.json and model.safetensors, and Hugging Face safetensors metadata reports 2,784,811,008 parameters, all BF16.
    • Pinned image handling: server logs were checked on the agg c1 workers and on the 1P1D PP2 c200 prefill (both PP stages) and DP2 decode workers. All show speculative_draft_model_quantization: None, speculative_draft_load_format: None and json_model_override_args: '{}'. Every draft-loading rank logs Load weight end ... type=DFlash2DraftModel with no quant method, while the target logs quant=compressed-tensors. Those are all agg and decode ranks, plus the last-stage PP1 prefill ranks, which host the draft and lm_head. The draft loads as stored.
    • No draft overrides: there is no draft dtype or quantization override, checkpoint substitution, or patch. The FP8 draft KV cache (speculative-draft-kv-cache-dtype: fp8_e4m3) matches the target's kv-cache-dtype: fp8_e4m3, an upstream-supported dtype applied to target and draft alike.
    • SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE: not set in agg-variants.yaml or disagg-variants.yaml at 161fdd66. It also does not appear in any of the 17 benchmark and eval job logs, nor in the inspected server logs and config dumps.
  • Golden AL:

    • Source: injected by the harness from kimi-k3.1-pro__dflash__kimi-k3.1-dflash2-preview__default-block.yaml, thinking_on, block verification (speculative-use-block-verification on both roles).
    • Values: DFLASH verifies the current token plus N-1 drafts, so 8, 6 and 5 verify tokens select 7, 5 and 4 speculative tokens.
      • 3.68: agg c1 and c4, 1P1D c16 and c64, 1P2D c32 and PP2 c76.
      • 3.43: 1P2D PP2 c150 and 1P1D PP2 c200.
      • 3.25: 1P1D PP2 c150.
    • Verification: signoff_facts golden-al --verify block returns exactly these values. All 9 benchmark job logs show the matching SGLANG_SIMULATE_ACC_LEN with SGLANG_SIMULATE_ACC_METHOD=match-expected and SGLANG_SIMULATE_ACC_TOKEN_MODE=real-draft-token. The c200 decode config dump shows SGLANG_SIMULATE_ACC_LEN: 3.43.
  • MODELS.md: kimik3.1 (added 2026-11-04) is active for agentic coding, and no deprecated model, scenario or combination is submitted. The recipes follow the Kimi K3.1 Pro week-1 precision policy:

    • FP32 KDA state (mamba-ssm-dtype: float32) and FP8 KV.
    • MegaMoE with MXFP8 dispatch and BF16 combine.
    • BF16 shared experts; shared-experts-tp-size: 8 shards them without quantizing.
    • No static EPLB and no all-reduce quantization.
  • Model architecture: there is no --hf-overrides, no --json-model-override-args (it resolves to {}), and no model-file edit. The target is the released MXFP4 checkpoint (compressed-tensors).

    • SGLANG_PP_LAYER_PARTITION: 48,45 only places the 93 layers on the two pipeline stages; every layer still runs.
    • SGLANG_K3_SHARDED_MOE: '0' selects the engine's replicated fused MoE front instead of the sharded one; it changes no FLOPs.
  • Integer all-reduce: kimik3.1 is a new, non-grandfathered model. GB200 runs the CUDA path, where the ROCm quick-reduce controls cannot be reached and are not set. No all-reduce quantization setting appears in the recipes, so all-reduce stays BF16.

  • Dynamo TRT-LLM metrics: N/A. The PR affects only dynamo-sglang configs and has no TRT-LLM worker.

  • Images and ordering:

    • Image: lmsysorg/sglang:dev-kimi-k31-pro@sha256:67fc77d1cbe67de27ca54d874c82757a4844743fea899ea7d0df547e30c2c391, from upstream lmsysorg, unchanged from the existing GB200 curve. The digest resolves on Docker Hub today, and the tag still points to it.
    • Build provenance: its labels record ai.radixark.source.repo: radixark/sglang-k31, ref day-0-public (afcd7d6b487a), on top of lmsysorg/sglang:nightly-dev-20261028-586355a8. That nightly is sgl-project/sglang main at 586355a8 (build run). The worker config dumps report dynamo_version 1.6.0 (bundled; dynamo.install: false) and SGLANG_BUILD_COMMIT 586355a8.
    • Main-branch policy: this is the Kimi K3.1 Pro model-enablement build for a model added on 2026-11-04. The MODELS.md serving-image policy temporarily allows a new model to use such a build.
    • Ordering: only dynamo-sglang entries change, so engine-first ordering holds.
  • Upstream recipe:

    • Coverage: the SGLang cookbook Kimi-K3.1-Pro page (Agentic Long-Context Deployment section), sourced from docs/src/snippets/agentx/moonshotai/kimi-k3.1-pro.jsx. sgl-project/sglang#50081 (MERGED 2026-11-12) generated it from this PR's head 161fdd66 (prov.sha). Its 9 GB200 cells cover all 9 points:
      • kimik3.1-fp4-gb200-dynamo-sglang-agentic-dflash-agg#0 and #1;
      • kimik3.1-fp4-gb200-dynamo-sglang-agentic-dflash-disagg#0 through #6, each mapped to its recipe override and golden AL.
    • Commands covered: the etcd service and the Dynamo frontend command with its DYN_* environment and, for 1P2D, --router-decode-active-request-weight 1000000. Also the dynamo.sglang aggregated, prefill and decode worker commands with their full serving flags and environment, including:
      • PP2 with SGLANG_PP_LAYER_PARTITION and IN_BATCH_PREFIX_CACHING_CHECK_THRESHOLD;
      • DCP8 with attention DP2, the DP LM head, EP16 MegaMoE and shared-experts-tp-size;
      • the Mooncake transfer settings, HiCache, the Run:ai streamer, and the per-point running-request, CUDA-graph and draft-token values.
    • Cross-check: resolving every cell against the merged recipes at 161fdd66 gives 0 value mismatches.
    • Excluded as InferenceX-only: these recipe settings are absent from the cookbook:
      • --enable-metrics (observability scraping);
      • --weight-loader-drop-cache-after-load: false (it only keeps the checkpoint in the node page cache between benchmark jobs);
      • PYTHONUNBUFFERED, PYTHONNOUSERSITE and PIP_BREAK_SYSTEM_PACKAGES.
        The same goes for Slurm sbatch/srun options, health checks, the aiperf client environment (AIPERF_*), the disabled OTEL collector, and the harness-injected SGLANG_SIMULATE_ACC_*, which the cookbook discloses as synthetic acceptance.
  • No engine patches: the recipes have no setup script, patch, or pip install.

    • The GB200 lane's pre-existing install-torchao.sh (pip install torchao, the upstream PyPI package rather than an engine fork or source edit; wired for all GB200 dynamo-sglang jobs in infx/launch/drivers/srt/lanes.py on main) appears in the cookbook as a setup step with its reason.
    • The runner applies only the existing srt-slurm orchestrator patches (runners/srt-slurm/patches/573-participating-gpus.patch and 900-pool-expected-devices.patch) to the srt-slurm checkout.
    • No waiver is needed.
  • append-only: N/A. The changelog entry does not use append-only: true; it is a full-curve entry that removes points.

  • AgentX stream interval: no recipe sets stream-interval, so the pinned engine default of 1 applies. Server logs show 'stream_interval': 1 on the agg, PP2 prefill and decode workers.

  • Removed points: 11 points are removed: agg TP16 DCP16 c1, c4, c8, c24, c32, c48 and c56, 1P1D TP16 c32 and c48, and 1P1D EP16 c76 and c96.

    • Measurements: the dashboard's unofficial-run data for their last sweeps on the same image (run 41990398212 and run 42530422785).
    • Dominance: signoff_facts dominance against the head measurements returns undominated_removed: []. Each removed point is dominated in tput_per_gpu and mean_intvty by a head point, or lies under the segment between adjacent head frontier points. For example, the 1P1D PP2 c200 point dominates the old EP16 c96 point.
    • Re-tuned: agg c1 changes from DCP16 to DCP8 at the same shape (+8.3% tput_per_gpu, +10.5% mean_intvty).
  • Pareto coverage: one affected curve: Kimi-K3.1-Pro / AgentX / GB200 dynamo-sglang / FP4 / run 43177885534. It has 9 measured points from the run's results_bmk artifact, with total throughput per GPU against E2EL.

    • P90: pareto_coverage reports 6 frontier points: 1P1D c16, 1P2D c32, 1P2D PP2 c76, 1P1D EP16 c64, 1P2D PP2 c150 and 1P1D PP2 c200.
    • P75: also 6.
  • Code quality: a config and recipe change only.

    • Files: agg-variants.yaml now holds only the DCP8 design. disagg-variants.yaml keeps its TP16 base and adds the PP2 overrides, which share their settings through YAML anchors and merge keys. The PR also changes nvidia-master.yaml and appends one perf-changelog.yaml entry at the end.
    • Consistency: the master config and the recipes agree on workers, TP/PP/EP/DCP and node math for all 9 points. srtctl's variant expansion matches the planner's, and check-changelog passed.
    • Merge state: against current main, git merge-tree reports a conflict only in perf-changelog.yaml, caused by other appends.

Signed: nvpohanh

@github-actions

Copy link
Copy Markdown
Contributor

✅✅✅ Verdict: PASS ✅✅✅

Passed and not applicable checks

✅ Check 0 (CODEOWNER): PASS — @nvpohanh is a listed owner of inferencex-e2e/configs/nvidia-master.yaml and the srt-slurm-recipes/**/gb200-*/ recipes; perf-changelog.yaml falls under the catch-all.

✅ Check 1 (Sweep on in-PR commit): PASS — PR head 161fdd66 equals the pinned SHA; run 43177885534 (pull_request, attempt 1, success) ran on it with 9/9 multi-node benchmark jobs and 8/8 multi-node agentic eval / jobs success; no later commits.

✅ Check 2 (Evals): PASS — eval_results_all holds 8 gsm8k rows (n=1319, em_strict 0.9788–0.9833) from jobs on the PR image digest 67fc77d1…; every row is within 2σ of its best sibling and the exact ingested GB200 dynamo-sglang cohort (run 41990398212, 0.9810); the new DCP8 agg, 1P2D, PP2-prefill and DP2/MegaMoE decode paths are each covered by an eval point.

✅ Check 3 (Upstream recipe): PASS — sgl-project/sglang#50081 is MERGED (2026-11-12T11:25:20Z); its docs/src/snippets/agentx/moonshotai/kimi-k3.1-pro.jsx has 9 GB200 cells pinned to 161fdd66 whose frontend, agg, prefill and decode commands and env match all 9 points, including PP2, DCP8 × attention DP2, EP16 MegaMoE, HiCache 108 and the Run:ai streamer; the exclusions (enable-metrics, weight-loader-drop-cache-after-load, PYTHON* env, aiperf/OTEL/tachometer) are InferenceX-only and justified.

✅ Check 4 (Reuse command): PASS — /use 43177885534 by nvpohanh (permission write, role write) names the Check 1 run.

✅ Check 5 (Checklist template): PASS — all 20 items of the current PR_REVIEW_CHECKLIST.md template are present and checked, and the additional detail section is filled in.

✅ Check 6 (Upstream images / provenance / ordering): PASS — the image lmsysorg/sglang:dev-kimi-k31-pro@sha256:67fc77d1… is from upstream lmsysorg and unchanged on this curve; its base nightly is sgl-project/sglang main at 586355a8 (build run) with a Kimi K3.1 enablement overlay, which is allowed for a model added 2026-11-04; only dynamo-sglang entries change, so the ordering rule does not apply.

✅ Check 7 (Deprecated models): PASS — kimik3.1 is active for agentic coding in MODELS.md as of 2026-11-13; no deprecated model, scenario or combination is submitted.

✅ Check 8 (Architecture / all-reduce): PASS — there is no --hf-overrides, model-override or model-file edit; SGLANG_PP_LAYER_PARTITION and SGLANG_K3_SHARDED_MOE change no FLOPs; MXFP8 MegaMoE dispatch is allowed by the week-1 K3.1 policy and covered by evals; non-grandfathered kimik3.1 runs the CUDA path with no all-reduce quantization control set.

✅ Check 9 (Chat template): PASS — the AgentX aiperf client replays semianalysis_cc_traces_weka_062126 on its default chat endpoint with THINKING_MODE: thinking_on, through Dynamo's --dyn-chat-processor sglang.

✅ Check 10 (No engine patches): PASS — the recipes have no patch, setup script or pip install; the only reachable setup step is the pre-existing GB200 lane install-torchao.sh (pip install torchao, the upstream package and not an engine fork), and the srt-slurm patches touch only the orchestrator.

✅ Check 11 (Golden AL): PASS — job logs show SGLANG_SIMULATE_ACC_LEN 3.68 (agg c1), 3.43 (1P1D PP2 c200) and 3.25 (1P1D PP2 c150) with match-expected/real-draft-token; these match signoff_facts golden-al --verify block on kimi-k3.1-pro__dflash__kimi-k3.1-dflash2-preview__default-block.yaml for 7, 5 and 4 speculative tokens.

➖ Check 12 (Append-only): N/A — the new changelog entry is a regular full-curve entry without append-only: true.

✅ Check 13 (Draft precision): PASS — the draft RadixArk/Kimi-K3.1-Dflash2-Preview@ea257b38 is stored as BF16 (dtype: bfloat16, no quantization_config); no recipe sets a draft quantization, dtype, checkpoint or patch override; the FP8 draft KV matches the target's FP8 KV; SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is absent from the recipes and the inspected job logs.

✅ Check 14 (Pareto coverage): PASS — one curve (Kimi-K3.1-Pro / AgentX / GB200 dynamo-sglang / FP4 / run 43177885534, results_bmk): pareto_coverage returns 6/5 frontier points at P90 E2EL and 6/5 at P75 E2EL from 9 measured points.

✅ Check 15 (PR description): PASS — the body's point table (topology, EP/DCP/PP, running requests, verify tokens and golden AL), removed points and the kept-point measurements (3,071 tok/s/GPU at 15.6 s; 10,381 at 29.6 s) agree with the pinned recipes and the cited runs.

✅ Check 16 (NVIDIA overview): PASS — the NVIDIA overview lists Kimi-K3.1-Pro with SGLang ✅ in Framework Recipes and Dynamo + SGLang ✅ in Dynamo Disaggregated Recipes.

➖ Check 17 (Dynamo metrics): N/A — only dynamo-sglang configs are affected; no Dynamo TRT-LLM worker uses these metrics controls.

✅ Check 18 (Recipe/image/sweep consistency): PASS — there are no generation errors and master workers, TP/PP/EP/DCP and node math match the recipes; PP2 decode dp-attn: false with attn-dp-size: 2 follows the accepted GB300 K3.1 peer; no new images; no orchestration or dispatch changes; the changelog description is accurate; signoff_facts dominance on the removed points' last measurements (41990398212, 42530422785) returns undominated_removed: []; there are no re-tuned deltas; the stream interval is unset (SGLang default 1).

Assessed commit: 161fdd66bf10a5eed5c6b9a9d81ae8625031a2e5.

@nvpohanh

Copy link
Copy Markdown
Collaborator Author

[by Claude Code] The SGLang cookbook update of this PR's AgentX configs (kimik3.1-fp4-gb200-dynamo-sglang-agentic-dflash-agg, kimik3.1-fp4-gb200-dynamo-sglang-agentic-dflash-disagg) will happen in sgl-project/sglang#50289, in the Agentic Long-Context Deployment section of the Kimi-K3.1-Pro cookbook page. The configs have been live in that section since sgl-project/sglang#50081; sgl-project/sglang#50289 refreshes them with the pin below.

The commands mirror the launch measured in run 43177885534, pinned by this PR's /use comment.

@Oseltamivir
Oseltamivir merged commit 098ce98 into main Nov 13, 2026
30 checks passed
@Oseltamivir
Oseltamivir deleted the nvpohanh/kimik31-gb200-dynamo-sglang-dcp8-pp2 branch November 13, 2026 12:09
@github-actions

Copy link
Copy Markdown
Contributor

Ingest report — ✅ Results ingested into the production database.

Ingest workflow · Merge Ingest run · Benchmark source run

Category new duplicate skipped unmapped failed
benchmark 9 0 9 0 0
eval 8 8 0 0 0
trace 9 0 0 0 0
power 76 0 0 0 0

benchmarkFiles 10, rawBenchmarkRows 18, coveredByPerJobFiles 9, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 10552, gpuMetricSamplesNew 1687760, powerPublicationPoints 9, changelogEntriesWritten 1

Counts cover only this run. Rows: benchmark_results, eval_results, agentic rows linked to a trace, gpu_metrics series. This comment updates if the ingest is rerun.

中文

Ingest 报告 — ✅ 结果已写入 production 数据库。

上表仅统计本次运行写入的数据,各行单位依次为 benchmark_results 行、eval_results 行、已关联 trace 的 agentic 行和 gpu_metrics 序列。重新运行 ingest 时本评论会原地更新。

@nvpohanh

Copy link
Copy Markdown
Collaborator Author

[by Claude Code] sgl-project/sglang#50289 has been merged. This PR's AgentX configs (kimik3.1-fp4-gb200-dynamo-sglang-agentic-dflash-agg, kimik3.1-fp4-gb200-dynamo-sglang-agentic-dflash-disagg) are now in the Agentic Long-Context Deployment section of the SGLang Kimi-K3.1-Pro cookbook: https://docs.sglang.io/cookbook/autoregressive/Moonshotai/Kimi-K3.1-Pro#agentic-long-context-deployment

The commands mirror the launch measured in run 43177885534, pinned by this PR's /use comment.

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

Labels

full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants