config: make aggregate multinode topology explicit - #2479
Conversation
|
Thanks for the contribution! Please reach out to respective companies' CODEOWNER to fill in the latest PR_REVIEW_CHECKLIST.md before pinging core maintainer on Slack for review. In order for the signoff PR check bot to trigger, you must follow the PR_REVIEW_CHECKLIST.md template correctly, including the phrase For PR verification, add the PR authors are responsible for ensuring that after merging, all GitHub Action jobs fully pass. A lot of the time, failures are just flakes and simply re-running the failed jobs will fix it. See GitHub's docs on re-running failed jobs 感谢你的贡献!请联系相应公司的 CODEOWNER 填写最新的 PR_REVIEW_CHECKLIST.md,然后再在 Slack 上联系核心维护者进行审阅。为了触发 signoff PR 检查机器人,你必须正确遵循 PR_REVIEW_CHECKLIST.md 模板,包括保留英文语句 如需进行 PR 验证,请为此 PR 添加 PR 作者有责任确保合并后所有 GitHub Action 任务完全通过。 很多时候失败只是偶发抖动(flake),重新运行失败的任务即可解决。参见 GitHub 关于重新运行失败任务的文档 |
There was a problem hiding this comment.
LGTM — this is a mechanical config backfill adding num-nodes to six existing multi-node search-space entries, and the values check out against each entry's tp/pp worker config.
Extended reasoning...
Overview
Single-file change to configs/nvidia-master.yaml adding a num-nodes field to six non-disaggregated multi-node search-space entries (aggregate TP4 GB300 entries → 1 node, aggregate TP8 GB300 entry → 2 nodes, Kimi K3 TP8/PP2 B200 entry → 2 nodes). No code, launcher, or scheduling logic is touched — this is pure data backfill in a YAML config consumed by existing matrix/launcher logic.
Security risks
None. This is a static config file with no executable logic, no secrets, and no user-controlled input paths.
Level of scrutiny
Low. I verified each added num-nodes value against the entry's tp/pp fields assuming 8 GPUs/node (e.g. tp4 → 1 node, tp8 → 2 nodes, and the Kimi K3 entry's own inline comment spells out tp*pp/gpus_per_node = 8*2/8 = 2, matching the added value). All six additions are internally consistent with their surrounding worker configuration, and the PR only touches already-existing entries (no new recipes or schema changes).
Other factors
The only finding from this run is a nit that the PR title/description isn't bilingual per the AGENTS.md convention — that's a process/metadata gap, not a code defect, and doesn't affect correctness of the config values themselves. The PR's own validation (pytest suite passing, full master-config generation succeeding) is consistent with a low-risk, mechanical change.
| - dram-utilization: 0.80 | ||
| search-space: | ||
| - spec-decoding: "mtp" | ||
| num-nodes: 1 |
There was a problem hiding this comment.
🟡 PR title and description are English-only, missing the Simplified Chinese translation that AGENTS.md mandates for every PR (<English title> / <中文标题> and a ## 中文说明 body section). This is a pre-existing repo convention this PR doesn't follow; please add the Chinese translation before merging.
Extended reasoning...
AGENTS.md line 7 states an explicit, non-negotiable convention: 'PR and GitHub-issue titles & descriptions must be bilingual — include a Simplified Chinese version in addition to English. Title format: <English title> / <中文标题>. In the PR/issue body, follow the English content with its Chinese translation (e.g. a ## 中文说明 section mirroring the summary...).' It goes on to say 'This applies to every PR and every issue.'
PR #2479's title is config: declare aggregate multinode allocation sizes — English only, with no trailing / <中文标题> segment. The description body (Summary + Validation sections) contains no Chinese text at all, and specifically no ## 中文说明 section as the convention requires.
Step-by-step verification:
- Read AGENTS.md line 7 — confirms the bilingual title/description rule is mandatory and applies to every PR.
- Read the PR title in the metadata:
config: declare aggregate multinode allocation sizes— no/ <中文>suffix present. - Read the PR description: contains only
## Summaryand## Validationsections, both English, no## 中文说明or any Chinese characters. - Conclusion: the PR as submitted violates the documented, mandatory bilingual convention.
Nothing in the diff or the PR's actual content (a YAML config change backfilling num-nodes fields) is affected by this — the change itself is fine. The gap is purely in the PR metadata (title/description), which the author can fix without touching code: rename the title to append / <中文标题> and add a ## 中文说明 section mirroring the Summary.
This does not cause any runtime failure, benchmark regression, or data-correctness issue — it's a process/metadata compliance gap against a documented repo convention, not a code defect. Per the review rubric, a normal-severity finding should represent something that fails or breaks if unaddressed; this doesn't. It also isn't a PR-description-mismatch case (the description isn't inaccurate, it's just monolingual), so it's evaluated directly against the AGENTS.md rule rather than downgraded under that heuristic. Given AGENTS.md explicitly designates this as mandatory for every PR, it still merits being called out, but as a nit the author can resolve in under a minute rather than a blocking issue.
3db9894 to
a81ab36
Compare
Require aggregate search-space entries to declare one worker and num-nodes, while reserving separate prefill and decode workers for disaggregated serving.\n\nBackfill every existing aggregate entry and translate the new master shape to the legacy runtime matrix representation.
a81ab36 to
f1b6df0
Compare
Summary
workertopology instead of fakeprefilland zero-countdecoderoles.num-nodesfor everymultinode: true, disagg: falsesearch-space entry.prefillanddecoderoles fordisagg: true, whereworkerandnum-nodesare rejected.This is the upper layer above #2440 in the native GitHub Stacked PR stack.
Example
Validation
python -m pytest utils/matrix_logic/ utils/test_ci_priority.py -q— 257 passed.git diff --checkpassed.