-
Notifications
You must be signed in to change notification settings - Fork 243
[AMD][MI355X] Update MinimaxM3 with TP2EP1 #2446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1840,10 +1840,10 @@ | |
| multinode: false | ||
| scenarios: | ||
| fixed-seq-len: | ||
| - isl: 8192 | ||
| osl: 1024 | ||
| search-space: | ||
| - { tp: 4, conc-start: 1, conc-end: 512 } | ||
| - { tp: 2, conc-start: 1, conc-end: 512 } | ||
|
Check failure on line 1846 in configs/amd-master.yaml
|
||
|
Comment on lines
1843
to
+1846
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 This PR's title, "[AMD][MI355X] Update MinimaxM3 with TP2EP1", is English-only and lacks the Simplified Chinese translation that AGENTS.md mandates for every PR (" / <中文标题>"). Fix: append the Chinese title (and ensure the PR description carries the mirrored 中文说明). Extended reasoning...AGENTS.md (linked from the repo's The PR under review is titled Why nothing else catches this: none of the automated checks visible in this PR (the Concrete proof: take the actual PR title string, Impact is limited to documentation/process compliance, not runtime behavior — the underlying config change in
Comment on lines
1843
to
+1846
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 The design-rationale comment above minimaxm3-fp4-mi355x-vllm still says the search space should 'mirror the MXFP8 MI355X search space for a direct precision comparison,' but this PR drops the fp4 entry to tp:2 while minimaxm3-fp8-mi355x-vllm elsewhere in the file stays at tp:4, so the two no longer mirror on parallelism. The comment should be updated to note the fp4 entry now runs at TP2 (smaller weight footprint) rather than mirroring the fp8 TP4 config. Extended reasoning...The comment block directly above This PR's only change is on line 1846, dropping the fp4 entry's Nothing in the existing code or config schema catches this kind of drift — the comment is free text next to the YAML entry, so there's no mechanism that would flag a TP mismatch against the stated intent. Anyone reading the two entries side-by-side to compare fp4 vs. fp8 throughput, using the comment as a guide, would incorrectly assume the sweeps are TP-matched. To reproduce the mismatch: (1) open This is purely a documentation-staleness issue — no runtime behavior changes, the sweep still executes correctly, and dropping fp4 to TP2 is a deliberate, reasonable tuning choice (MXFP4 weights are roughly half the byte footprint of MXFP8, so TP2 is a sensible fit). The concurrency range still mirrors exactly. Given that, and per the review rubric, this doesn't rise to a blocking issue — it's a one-word comment fix (e.g., "...mirror the MXFP8 MI355X search space's concurrency sweep, now at TP2 for the smaller FP4 footprint...") that avoids misleading future readers about how comparable the two configs are on parallelism. |
||
|
|
||
| # EAGLE3 speculative-decoding variant of minimaxm3-fp4-mi355x-vllm. Pair the | ||
| # amd/MiniMax-M3-MXFP4 target with Inferact/MiniMax-M3-EAGLE3 and three draft | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 This PR changes minimaxm3-fp4-mi355x-vllm's search-space
tpfrom 4 to 2 inconfigs/amd-master.yaml(line 1846) but doesn't add a matchingperf-changelog.yamlentry, which the repo's own review workflow flags as a blocking issue. Please append an entry to the end ofperf-changelog.yamldocumenting the TP2EP1 change, sinceperf-changelog.yamlis what triggers the dedicated benchmark sweep for this config.Extended reasoning...
The PR's only changed file is
configs/amd-master.yaml, where theminimaxm3-fp4-mi355x-vllmsearch-space is changed from{ tp: 4, conc-start: 1, conc-end: 512 }to{ tp: 2, conc-start: 1, conc-end: 512 }(lines 1843-1846). No corresponding entry was added toperf-changelog.yaml.This repository explicitly requires that master-config edits be paired with a perf-changelog entry.
.github/workflows/claude-pr-review.yml(lines 118-126) states verbatim: 'If either master config file was edited ANDperf-changelog.yamlwas NOT edited in the same PR: This is a 🔴 BLOCKING issue... Comment thatperf-changelog.yamlmust also be updated when master config files are changed.'AGENTS.mdcorroborates this in multiple places: line 39 describesperf-changelog.yamlas the 'benchmark trigger log,' line 78 states master configs define benchmark configurations whileperf-changelog.yaml'triggers which configs to benchmark,' and line 154 says an appended changelog entry is 'required — triggers benchmarks' whenever a master config's image/params change.The reason this matters functionally, not just procedurally:
perf-changelog.yamlis the path-filter trigger thatrun-sweep.ymlwatches to decide which benchmark configs get a dedicated validation run. Editingamd-master.yamlalone, without touchingperf-changelog.yaml, means thistp: 4 -> tp: 2change forminimaxm3-fp4-mi355x-vllmmay not get its own sweep validation before merge — exactly the failure mode this repo's review automation was built to catch.Step-by-step proof: (1) Diff the PR — only
configs/amd-master.yamlis touched, confirmed by the PR'schanged-files count=1. (2) Grepperf-changelog.yamlfor any reference to this PR/change — none exists, since the file wasn't touched. (3) Apply the exact BLOCKING rule fromclaude-pr-review.yml: master config edited (yes) AND perf-changelog.yaml not edited (yes, confirmed) => BLOCKING per the repo's own automated check. (4) Cross-check precedent: prior tp/search-space changes to master configs in this repo (e.g. PR #2213 for kimik2.5-fp4-mi355x-vllm) each paired the config edit with a perf-changelog entry, confirming this is the established, enforced convention and not merely aspirational guidance.The fix is small: append an entry to the end of
perf-changelog.yaml(never insert in the middle, perAGENTS.mdline 78 and the whitespace-sensitivity warning at line 178) describing theminimaxm3-fp4-mi355x-vllmTP2EP1 search-space change and linking this PR. This both satisfies the repo's mandated review check and ensures the sweep actually re-validates the new tp:2 configuration.