Repository navigation
[K3.1-Pro] Add GB300 FP4 llmd-vllm AgentX configs / [K3.1-Pro] 新增 GB300 FP4 llmd-vllm AgentX 配置 - #5149
Conversation
|
Thanks for the contribution!
中文感谢你的贡献!
|
Signed-off-by: Cam Quilici <cjquilici@gmail.com>
|
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 包的改动有更高的代码质量要求。 |
| 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 |
There was a problem hiding this comment.
🔴 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.
| # 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. |
There was a problem hiding this comment.
🟡 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.
|
View unofficial run (performance): https://inferencex.semianalysis.com/inference?unofficialRun=45454002071 View unofficial run (accuracy): https://inferencex.semianalysis.com/evaluation?unofficialRun=45454002071 |
bb34a92 to
adb838f
Compare
…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.
adb838f to
e4cfef2
Compare
|
@cquil11 Run 45132929466 cannot be staged because it is in_progress/null. |
|
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.
…ge staging fixture srtctl in srt-slurm cc9db05d rejects frontend.type: llm-d unless frontend.enable_multiple_frontends: false is explicitly set.
|
/use 45332474419 |
|
@AnishShah Run 45332474419 cannot be staged because it is queued/null. |
|
/use 45332474419 |
|
@cquil11 Run 45332474419 cannot be staged because it is in_progress/null. |
|
/stage-results 45332474419 |
|
@cquil11 Run 45332474419 cannot be staged because it is queued/null. |
|
/stage-results 45332474419 |
|
@cquil11 staged run 45332474419. This run remains available across future |
Signed-off-by: Cam Quilici <cjquilici@gmail.com>
|
Ingest report — ✅ Results ingested into the Ingest workflow · Merge Ingest run · Benchmark source run
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 报告 — ✅ 结果已写入 上表仅统计本次运行写入的数据,各行单位依次为 benchmark_results 行、eval_results 行、已关联 trace 的 agentic 行和 gpu_metrics 序列。重新运行 ingest 时本评论会原地更新。 |
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.