Skip to content

[K3.1-Pro] Add GB300 FP4 llmd-vllm AgentX configs / [K3.1-Pro] 新增 GB300 FP4 llmd-vllm AgentX 配置 - #5149

Merged
cquil11 merged 6 commits into
mainfrom
feat/kimik31-gb300-llmd-vllm
Nov 25, 2026
Merged

cquil11 merged 6 commits into
mainfrom
feat/kimik31-gb300-llmd-vllm

Conversation

@cquil11

@cquil11 cquil11 commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

This change adds disaggregated llm-d + vLLM benchmark for Kimi K3.1 Pro

Carries over #4961 by @AnishShah, reopened from a branch in this repository so the sweep runs through the regular PR workflow.

@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 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

cquil11 added a commit that referenced this pull request Nov 19, 2026
Signed-off-by: Cam Quilici <cjquilici@gmail.com>
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

inferencex-e2e/infx diff: +63 -3

Generally most InferenceX submissions don't need to add changes to the infx package. On the off chance they do, generally the diff is small. Please prompt your agent to clean your PR to keep your diff to only necessary & minimal changes too. We have an increased code quality bar for changes to the infx package.

中文

大多数 InferenceX 提交通常不需要修改 infx 包。即使确实需要,改动通常也很小。请让你的 agent 清理 PR,使改动只包含必要且最小的内容。infx 包的改动有更高的代码质量要求。

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

Findings marked 🟡 are optional suggestions and need no follow-up push.

Comment thread inferencex-e2e/perf-changelog.yaml Outdated
scenario-type: [agentic-coding]
description:
- "Add Kimi-K3.1-Pro FP4/FP8-KV AgentX disaggregated recipes on GB300 behind llm-d-router v1.0.0 (llmd-vllm) with load-aware and session-affinity routing, NIXL P/D transfer, embedded Mooncake RDMA prefix-cache sharing (4 GB local buffer, 160 GB segment), and DSpark speculative decoding across DCP8 (1P5D at c44 and c56, 1P3D at c56, 2P1D hybrid DP4xTP8xDCP8 at c256, and 3P1D hybrid DP4xTP8xDCP8 at c448), DEP16 (1P1D external-LB at c352), and DEP32 (2P1D external-LB at c960) topologies."
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4961

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.

🔴 Merging this PR through the reuse merge would fail, and the results would be credited to the closed PR #4961. The appended changelog block's pr-link names pull/4961, the PR this one carries over. This PR is a new one opened from an in-repo branch, so its number is different. Fix: set the pr-link to this PR's URL, or to the XXX placeholder so the merge tooling fills it in.

Why this was flagged

The PR description says it carries over #4961 and was reopened from a branch in this repository, so this PR has a different number. The entry just before it already links pull/4969. The new block at perf-changelog.yaml:13128 still says pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4961. infx/workflows/prepare_perf_changelog_merge.py:98-111 builds expected_link from the current PR number and skips only links equal to it. Any other link not in PR_LINK_PLACEHOLDERS raises ChangelogValidationError("appended entry ... has unexpected pr-link ..."). AGENTS.md requires merging through merge_with_reuse, which uses this code, so the merge breaks. If the entry got past that check, ingested results and published curves would point to the closed PR instead of this one.

Verification: The block appended at inferencex-e2e/perf-changelog.yaml:13120-13128 ends with pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4961. In infx/workflows/prepare_perf_changelog_merge.py, canonicalize_appended_links, which merge_with_reuse.py:525 calls, sets expected_link = f"https://github.com/{repo}/pull/{pr_number}". The PR-level changelog validation and the reuse merge both reject this entry.

Comment on lines +293 to +294
# The client runs on the head node (the base placement): a node of its own makes this a 17-node
# job, more than a GB300 partition offers.

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.

🟡 nit (optional): New override blocks carry header-style comments, which the repo comment rules forbid. sweep:^ {0,2}# in agentx/disagg-llm-d-*.yaml. The comment at dep32.yaml:293-294 describes the override's placement and node count. The one at dep16.yaml:315 (# c=352: explicit KV cache size per rank ...) titles a whole override. Fix: delete both, or turn each into a one-line note on the specific line it explains, for example on kv-cache-memory-bytes.

Why this was flagged

AGENTS.md (Comments, mandatory, every file) says: "No header comments describing a file, topology, config, recipe, override, or section". It allows only short technical notes tied to one line. disagg-llm-d-dep32.yaml:293-294 sits on override_2p1d_dep32 and describes its placement and the 17-node limit. It is not attached to any line in the override, because the override does not set placement. disagg-llm-d-dep16.yaml:315 heads override_1p1d_kvb with a concurrency label and a summary of the whole override. Nothing breaks at runtime. These are convention violations the repo asks reviewers to reject.

Verification: AGENTS.md:54-58 says: "No header comments describing a file, topology, config, recipe, override, or section". disagg-llm-d-dep16.yaml:312 # c=352: ... sits above override_1p1d_kvb: at column 0 and titles the whole override. disagg-llm-d-dep32.yaml:293-294 describes the override's node topology rather than any line it contains. Nothing breaks at runtime.

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

@AnishShah AnishShah added non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) and removed non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) labels Nov 20, 2026
@AnishShah
AnishShah force-pushed the feat/kimik31-gb300-llmd-vllm branch 2 times, most recently from bb34a92 to adb838f Compare November 23, 2026 03:56
…c9618

Add Kimi-K3.1-Pro FP4/FP8-KV GB300 llm-d-router v1.0.0 AgentX recipes
and frontend image staging support with the latest vLLM/Mooncake/DSpark
configuration:

- Use vLLM container vllm/vllm-openai:kimi-k31-mc-f4c9618
  (vllm 0.1.dev25380+gf4c96184b) and released DSpark draft
  Inferact/Kimi-K3.1-Pro-DSpark @ e4e6e626 across agg, dcp8-disagg, and
  dep32-disagg llm-d recipes.
- Enable EPLB (symm_mem, no redundant experts, window 1000, step 3000)
  on DEP32 prefill/decode, hybrid 3P1D prefill/decode, and hybrid 2P1D
  prefill.
- Configure DEP32 c=960 as 1P1D (one external-LB DEP32 prefill worker
  with 80 GiB KV cache per rank, head-node client, 16 nodes total), 5
  draft tokens with decode graphs in multiples of 6 up to 192,
  prefix-match-unit 512, DSpark SWA tail store/hits, 2048 MB prefill
  sparse-indexer logits budget, and Mooncake eviction 0.98/0.05 with
  llm-d approximate prefix-cache prefill routing (blockSizeTokens=512,
  lruCapacityPerServer=4096) and
  TORCH_SYMM_MEM_ALLOW_OVERLAPPING_DEVICES=1.
- Configure DCP8 disagg for 1P5D at c=44 (5 drafts, K31_S30K=6) and
  c=104 (4 drafts, adaptive 4096-token long-prefill threshold) with
  opt-in TP8xDCP8 K31_* decode paths, and hybrid 3P1D (c=448) / 2P1D
  (c=256) with 5 drafts and decode graphs up to 1536, prefix-match-unit
  1408, with llm-d session-affinity prefill routing.
- Configure TP16/DCP16 agg c=1 with 7 drafts, prefix-match-unit 768,
  and opt-in c=1 K31_* decode paths.
- Keep vLLM eval parser flags (reasoning-parser, tool-call-parser,
  enable-auto-tool-choice) on all eval variants and append a single
  perf-changelog.yaml entry for the three llmd-vllm config keys.
@AnishShah
AnishShah force-pushed the feat/kimik31-gb300-llmd-vllm branch from adb838f to e4cfef2 Compare November 23, 2026 07:41
@AnishShah AnishShah changed the title [K3.1-Pro] Add GB300 FP4 disaggregated llmd-vllm AgentX configs / [K3.1-Pro] 新增 GB300 FP4 分离式 llmd-vllm AgentX 配置 [K3.1-Pro] Add GB300 FP4 llmd-vllm AgentX configs / [K3.1-Pro] 新增 GB300 FP4 分离式 llmd-vllm AgentX 配置 Nov 23, 2026
@AnishShah AnishShah changed the title [K3.1-Pro] Add GB300 FP4 llmd-vllm AgentX configs / [K3.1-Pro] 新增 GB300 FP4 分离式 llmd-vllm AgentX 配置 [K3.1-Pro] Add GB300 FP4 llmd-vllm AgentX configs / [K3.1-Pro] 新增 GB300 FP4 llmd-vllm AgentX 配置 Nov 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@cquil11 Run 45132929466 cannot be staged because it is in_progress/null.

@AnishShah

Copy link
Copy Markdown
Collaborator

Hey @cquil11 , I need to make a change to 1p1d as it's perf is a bit lower than what I see in my k8s cluster

…nity and add EPP metric families filter

- Replace approx-prefix-cache-producer and prefix-cache-scorer in disagg-llm-d-dep32.yaml with session-affinity-scorer (1s TTL/sweep) alongside active-request-scorer and queue-scorer, matching disagg-llm-d-variants.yaml and Dynamo's least-loaded + 1s session-affinity routing.
- Add explicit families filter (vllm:num_requests_waiting, vllm:num_requests_running, vllm:kv_cache_usage_perc) to metrics-data-source across all llm-d EPP configs (agg-llm-d-variants.yaml, disagg-llm-d-dep32.yaml, disagg-llm-d-variants.yaml) without changing refresh intervals.
- Update the existing perf-changelog.yaml description for the DEP32 entry.
@AnishShah AnishShah added non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) and removed non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) labels Nov 24, 2026
cquil11 and others added 3 commits November 24, 2026 11:19
…ge staging fixture

srtctl in srt-slurm cc9db05d rejects frontend.type: llm-d unless frontend.enable_multiple_frontends: false is explicitly set.
@AnishShah

Copy link
Copy Markdown
Collaborator

/use 45332474419

@github-actions

Copy link
Copy Markdown
Contributor

@AnishShah Run 45332474419 cannot be staged because it is queued/null.

@cquil11

cquil11 commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator Author

/use 45332474419

@github-actions

Copy link
Copy Markdown
Contributor

@cquil11 Run 45332474419 cannot be staged because it is in_progress/null.

@cquil11

cquil11 commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator Author

/stage-results 45332474419

@github-actions

Copy link
Copy Markdown
Contributor

@cquil11 Run 45332474419 cannot be staged because it is queued/null.

@cquil11

cquil11 commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator Author

/stage-results 45332474419

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

@cquil11 staged run 45332474419.

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

Signed-off-by: Cam Quilici <cjquilici@gmail.com>
@cquil11
cquil11 merged commit 91fa7eb into main Nov 25, 2026
36 checks passed
@cquil11
cquil11 deleted the feat/kimik31-gb300-llmd-vllm branch November 25, 2026 19:41
@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 6 0 7 0 0
eval 5 5 0 0 0
trace 6 0 0 0 0
power 70 0 0 0 0

benchmarkFiles 7, rawBenchmarkRows 13, coveredByPerJobFiles 7, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 6595, gpuMetricSamplesNew 1487636, powerPublicationPoints 6, 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 时本评论会原地更新。

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

Labels

non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants