Skip to content

MI355X MiniMax M3 MTP - #2458

Closed
cquil11 wants to merge 2 commits into
mainfrom
agent/mi355x-minimax-m3-agentx
Closed

MI355X MiniMax M3 MTP#2458
cquil11 wants to merge 2 commits into
mainfrom
agent/mi355x-minimax-m3-agentx

Conversation

@cquil11

@cquil11 cquil11 commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Run MiniMax-M3 MXFP4 on MI355X with the validated EAGLE3-GQA recipe: three speculative tokens, synthetic acceptance length 2.78, block-128 Triton attention for target and draft, FP8 KV cache, AITER MoE, and INT4 QuickReduce.
  • Keep TP4 concurrency 1-24 GPU-resident, use vLLM native DRAM KV offload at concurrency 28, and use TEP8 at concurrency 20, 28, and 36.
  • Rename the benchmark script and configuration as the MTP variant.

Validation

中文说明

  • 在 MI355X 上使用已验证的 EAGLE3-GQA 方案运行 MiniMax-M3 MXFP4:3 个投机 token、合成接受长度 2.78、目标模型与草稿模型均采用 block-128 Triton 注意力,并启用 FP8 KV 缓存、AITER MoE 和 INT4 QuickReduce。
  • TP4 并发 1-24 保持 KV 缓存驻留 GPU,并发 28 使用 vLLM 原生 DRAM KV 卸载;TEP8 使用并发 20、28、36。
  • 将基准脚本和配置重命名为 MTP 版本。

验证

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

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 As a PR reviewer and CODEOWNER, I have reviewed this and have.

For PR verification, add the full-sweep-fail-fast label (strongly recommended) to this PR — the benchmark sweep only runs on labeled PRs. Use full-sweep-enabled only if you need matrix jobs to keep running past a failure.

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 模板,包括保留英文语句 As a PR reviewer and CODEOWNER, I have reviewed this and have

如需进行 PR 验证,请为此 PR 添加 full-sweep-fail-fast 标签(强烈推荐)— 基准测试 sweep 仅在带有标签的 PR 上运行。仅当需要矩阵任务在失败后继续运行时才使用 full-sweep-enabled

PR 作者有责任确保合并后所有 GitHub Action 任务完全通过。 很多时候失败只是偶发抖动(flake),重新运行失败的任务即可解决。参见 GitHub 关于重新运行失败任务的文档

@cquil11
cquil11 force-pushed the agent/mi355x-minimax-m3-agentx branch from e49338f to 94074fb Compare August 3, 2026 01:49
@cquil11 cquil11 changed the title perf(agentx): refresh MI355X MiniMax M3 / 刷新 MI355X MiniMax M3 AgentX 基准测试 perf(agentx): refresh MI355X MiniMax M3 Aug 3, 2026
@cquil11
cquil11 force-pushed the agent/mi355x-minimax-m3-agentx branch from 94074fb to 100b98b Compare August 3, 2026 01:49
@cquil11
cquil11 marked this pull request as ready for review August 3, 2026 01:51
@cquil11
cquil11 requested a review from a team August 3, 2026 01:51
@claude

claude Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Claude finished @cquil11's task in 1m 24s —— View job


Review

  • Gather context and read the PR diff
  • Verify perf-changelog entry placement (must be appended at end)
  • Verify referenced config key exists in master configs
  • Post review

LGTM - no blocking issues found

Verified: the new entry is appended at the end of perf-changelog.yaml (correct chronological position), the referenced config key minimaxm3-fp4-mi355x-vllm-agentic exists in configs/amd-master.yaml:2233, the pr-link correctly points to #2458, and the config's concurrency list [1, 4, 8, 16] matches the four AgentX jobs described in the PR body.

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

LGTM aside from the inline nit — this is a minor, low-risk config-only change.

Extended reasoning...

Overview

The PR adds a single new changelog entry to perf-changelog.yaml (lines 5359-5363), registering the minimaxm3-fp4-mi355x-vllm-agentic config for its initial MI355X MiniMax M3 submission via the new AgentX harness. No other files are touched. I confirmed this is genuinely the first changelog entry for this config key (only other reference is the config definition itself in configs/amd-master.yaml), so the 'Initial' description is accurate and the ruled-out mislabeling concern does not apply.

Security risks

None. This is a declarative YAML changelog entry with no code execution, credentials, or user input involved.

Level of scrutiny

Low. This follows the repo's well-established append-only changelog pattern (list of config-keys/description/pr-link entries) with no schema changes or logic modifications. The change is purely additive and mechanical.

Other factors

The one inline finding is a nit about the PR title/description missing the bilingual (English/Chinese) format mandated by AGENTS.md — a real, actionable process gap, but purely metadata and not something that affects correctness or functionality. Recent merged PRs (#2457, #2455) show this convention is not currently CI-enforced, so it's not a blocker here either. No outstanding unaddressed reviewer comments exist on this PR.

Comment thread perf-changelog.yaml
Comment on lines +5359 to +5363
- config-keys:
- minimaxm3-fp4-mi355x-vllm-agentic
description:
- "Initial MI355X MiniMax M3 with new AgentX harness"
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/2458

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.

🟡 This PR's title and description are English-only, but AGENTS.md mandates bilingual PR titles (<English title> / <中文标题>) and a ## 中文说明 section in the body for every PR / 本 PR 的标题和描述仅为英文,但 AGENTS.md 要求所有 PR 标题必须为双语格式(<英文标题> / <中文标题>),并在正文中包含 ## 中文说明 部分。请补充中文标题和说明以符合仓库规范。

Extended reasoning...

AGENTS.md line 7 (a checked-in, mandatory repository convention, not subjective style) states verbatim: "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...). ... This applies to every PR and every issue."

This PR's title is perf(agentx): refresh MI355X MiniMax M3 — there is no / <中文标题> suffix. Its body has only ## Summary and ## Validation sections, both in English, with no ## 中文说明 section translating the summary. The only documented exceptions in AGENTS.md are the CODEOWNER sign-off template (which must stay English-verbatim so the sign-off verifier bot can match it) and bot-generated comments following their own workflow templates — neither applies here, since this is a human-authored PR title and description.

Step-by-step proof:

  1. AGENTS.md:7 requires: title format <English> / <中文>, and body with an English section followed by a ## 中文说明 mirror.
  2. PR MI355X MiniMax M3 MTP #2458 title: perf(agentx): refresh MI355X MiniMax M3 → no / separator, no Chinese text at all.
  3. PR MI355X MiniMax M3 MTP #2458 body: ## Summary (3 bullets, English) + ## Validation (2 bullets, English) → no ## 中文说明 section exists anywhere in the body.
  4. Checking the stated exceptions: CODEOWNER sign-off template (not applicable — no sign-off here) and bot comment templates (not applicable — this is the PR author's own title/description). Neither exempts this PR.
  5. Conclusion: the PR violates the checked-in bilingual convention as written, with no applicable exception.

Why existing tooling doesn't catch this: there's no CI gate that lints PR titles/descriptions for a Chinese section — this convention is enforced only by human/agent review, not automation. That's corroborated by recent history: PR #2457 (fix(agentx): pin AIPerf v1 timing watchdog) and PR #2455 also merged with English-only titles, showing the rule is currently unenforced by any hard gate.

Impact of merging as-is: purely PR-metadata hygiene — the underlying YAML change (adding the MiniMax M3 config entry) is unaffected and nothing breaks functionally. Fix is trivial: the author (or a maintainer/bot) can edit the PR title to perf(agentx): refresh MI355X MiniMax M3 / perf(agentx):更新 MI355X MiniMax M3 and append a ## 中文说明 section mirroring the Summary/Validation bullets.

Severity: since this causes no runtime failure, crash, or data loss, and AGENTS.md does not declare the bilingual rule a hard merge-blocker (nor is it CI-enforced), this is a nit — a real, actionable convention violation worth flagging, but not one that should hold up the merge.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

@functionstackx functionstackx left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cquil11 can this be with EAGLE?

@cquil11 cquil11 changed the title perf(agentx): refresh MI355X MiniMax M3 perf(agentx): enable MI355X MiniMax M3 EAGLE3 / perf(agentx):为 MI355X MiniMax M3 启用 EAGLE3 Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

@cquil11

cquil11 commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator Author

Updated the MI355X recipe to EAGLE3-GQA with 3 speculative tokens and the committed thinking-on golden AL 2.78 for throughput; eval-only retains real verification. Replacement sweep: https://github.com/SemiAnalysisAI/InferenceX/actions/runs/30846281719 / 已将 MI355X 配方更新为 EAGLE3-GQA,使用 3 个投机 token;吞吐量测试采用已提交的 thinking-on 黄金接受长度 2.78,eval-only 保留真实校验。替代扫描:https://github.com/SemiAnalysisAI/InferenceX/actions/runs/30846281719

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

cquil11 added 2 commits August 4, 2026 13:04
Align the MI355X MXFP4 server with the supported MiniMax-M3 ROCm and EAGLE3-GQA configuration: block-128 Triton attention for target and draft, FP8 KV cache, AITER MoE, INT4 QuickReduce, three speculative tokens, and the validated synthetic acceptance length.

Keep TP4 concurrency 1-24 GPU-resident, add a validated native DRAM offload point at concurrency 28, and add TEP8 concurrency 20, 28, and 36 for the higher-throughput range. Rename the benchmark and configuration as the MTP variant.

中文:将 MI355X MXFP4 服务配置与受支持的 MiniMax-M3 ROCm 和 EAGLE3-GQA 方案对齐:目标模型与草稿模型均使用 block-128 Triton 注意力,并启用 FP8 KV 缓存、AITER MoE、INT4 QuickReduce、3 个投机 token 以及经验证的合成接受长度。

TP4 并发 1-24 保持 KV 缓存驻留 GPU,在并发 28 增加已验证的原生 DRAM KV 卸载点,并增加 TEP8 并发 20、28、36 以覆盖高吞吐区间。基准脚本和配置重命名为 MTP 版本。
Append the performance changelog entry for the corrected AgentX harness.

中文:追加使用修正后 AgentX 测试框架的性能变更日志条目。
@cquil11
cquil11 force-pushed the agent/mi355x-minimax-m3-agentx branch from 972bb3b to 73e2f4f Compare August 4, 2026 18:05
@cquil11 cquil11 changed the title perf(agentx): enable MI355X MiniMax M3 EAGLE3 / perf(agentx):为 MI355X MiniMax M3 启用 EAGLE3 perf(agentx): refresh MI355X MiniMax M3 / perf(agentx):刷新 MI355X MiniMax M3 Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

@functionstackx functionstackx changed the title perf(agentx): refresh MI355X MiniMax M3 / perf(agentx):刷新 MI355X MiniMax M3 MI355X MiniMax M3 MTP Aug 4, 2026
@functionstackx

Copy link
Copy Markdown
Collaborator

@cquil11 plz coordinate with #2487 FYI

@cquil11

cquil11 commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

Closing in favor of #2487

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

Projects

Development

Successfully merging this pull request may close these issues.

2 participants