Skip to content

perf: improve MiniMax M3.1 vLLM C16/C32 on MI355X / perf: 提升 MI355X 上 MiniMax M3.1 vLLM 的 C16/C32 性能 - #4537

Open
jiacao-amd wants to merge 6 commits into
mainfrom
codex/minimax-m31-k7-only
Open

jiacao-amd wants to merge 6 commits into
mainfrom
codex/minimax-m31-k7-only

Conversation

@jiacao-amd

@jiacao-amd jiacao-amd commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Improve MiniMax-M3.1-Flash MI355X vLLM AgentX performance at C16/C32 using K7 DSpark with GPU memory utilization 0.85. C1–C8 retain their existing K7/0.85 settings, and C64 retains the published K3/0.90 configuration.

The 3600-second sweep passed all seven performance points and both evals. Compared with the published baseline:

Concurrency Total throughput/GPU Output throughput/GPU P90 interactivity
C16 +4.98% +2.07% +19.63%
C32 +9.40% +5.71% +19.65%

These are single-run comparisons. C64 was approximately flat (+0.49% output throughput, +1.55% P90 interactivity). C1–C8 showed mixed results with unchanged recipe fingerprints; C4/C8 P90 interactivity fell 11.59%/7.06%. The measured optimization benefit is specific to C16/C32.

C64 passed with the published 0.90 memory budget, which leaves less runtime headroom under the extra GPU occupancy observed in earlier CI. Upstream recipe coverage for the affected Quark MXFP4, K7, and memory settings still needs verification under the review checklist.

Validation details

Sweep 40646047986 tested C1/C2/C4/C8/C16/C32/C64 for 3600 seconds each. GSM8K evals passed at C8 K7 (mono) and C64 K3 (DBO).

Performance uses the committed golden acceptance curve: K7 = 4.04, K3 = 2.88. Evals use real block rejection. TP4, the pinned upstream image, model, draft precision, cache formats, DBO/mono split, and admission limits are unchanged. The published vLLM recipe covers MI355X DBO; coverage of the affected settings remains a review item.

AI model disclosure

Codex, identified by the runtime as based on GPT-6; the exact deployed model identifier could not be verified. Role: experiments, failure analysis, configuration changes, and PR preparation and performance reporting.

PR checklist and change type

Type of Change

  • Bug fix
  • New feature
  • Configuration change
  • Documentation update
  • Other (please describe)

Checklist

  • I have completed the AI model disclosure and kept it current
  • I have tested my changes locally
  • I have updated documentation if necessary
  • If python -m infx.matrix.changed --base origin/main lists affected config keys, I have appended one new entry covering them to the physical end of inferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entries
  • If this PR appends an inferencex-e2e/perf-changelog.yaml entry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs): full-sweep-fail-fast (recommended), full-sweep-enabled, or non-canary-full-sweep-enabled. Optional modifiers all-evals, evals-only, and agentx-fast require a primary label; the last two block reuse while applied.
  • Before merging via reuse, an authorized maintainer (OWNER/MEMBER/COLLABORATOR) has commented /use <run_id> (or the legacy /reuse-sweep-run) on this PR. Do this only once there is a final full sweep that is all green with evals passing, since after this comment the primary sweep label will no longer automatically kick off new sweeps. Remove and re-add the primary sweep label to force a new sweep.
中文

通过 K7 DSpark 和 0.85 GPU 显存利用率,改善 MiniMax-M3.1-Flash MI355X vLLM AgentX 在 C16/C32 下的性能。C1–C8 保留原有 K7/0.85 配置,C64 保留已发布的 K3/0.90 配置。

本次 3600 秒 sweep 的七个性能点和两个精度评测均通过。相比官网基线,C16/C32 总吞吐分别提升 4.98%/9.40%,输出吞吐提升 2.07%/5.71%,P90 interactivity 提升 19.63%/19.65%。

以上为单次 CI 对比。C64 基本持平,输出吞吐和 P90 interactivity 分别变化 +0.49%/+1.55%。C1–C8 的 recipe 指纹未变,结果有升有降,其中 C4/C8 的 P90 interactivity 下降 11.59%/7.06%。本 PR 的实测优化收益集中在 C16/C32。

C64 在原有 0.90 显存预算下通过了本次 CI,但在此前 CI 出现的额外显存占用下,运行时余量较少。合并前仍需按 review checklist 核实官方 recipe 对 Quark MXFP4、K7 及显存设置的覆盖。

精度评测覆盖 C8 K7(mono)和 C64 K3(DBO)的 GSM8K。性能测试使用 committed golden AL:K7 为 4.04,K3 为 2.88;精度评测使用真实 block rejection。TP4、镜像、模型、draft 精度、缓存格式、DBO/mono 分工和请求上限保持不变。

改动类型:性能及配置调整。AI:运行环境标识为基于 GPT-6 的 Codex,无法确认完整部署模型标识;用于实验、故障分析、配置修改及 PR 编写和结果说明。

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

@jiacao-amd jiacao-amd added the non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) label Oct 26, 2026

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

Code review found no issues

No high-confidence issues detected in this change.

This review covers commit add8dd1, which is no longer the latest commit on this pull request; later commits are not covered by it.

@jiacao-amd jiacao-amd added full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) and removed non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) labels Oct 26, 2026
@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

@jiacao-amd jiacao-amd changed the title perf: use K7 DSpark for MiniMax M3.1 vLLM AgentX / perf: 为 MiniMax M3.1 vLLM AgentX 启用 K7 DSpark perf: tune MiniMax M3.1 vLLM DSpark and memory headroom / perf: 调整 MiniMax M3.1 vLLM DSpark 与显存余量 Oct 27, 2026
@jiacao-amd jiacao-amd removed the full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) label Oct 28, 2026
…only

# Conflicts:
#	inferencex-e2e/perf-changelog.yaml
@jiacao-amd jiacao-amd changed the title perf: tune MiniMax M3.1 vLLM DSpark and memory headroom / perf: 调整 MiniMax M3.1 vLLM DSpark 与显存余量 perf: tune MiniMax M3.1 vLLM DSpark by concurrency / perf: 按并发调整 MiniMax M3.1 vLLM DSpark Oct 28, 2026
@jiacao-amd jiacao-amd added the full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) label Oct 28, 2026
@jiacao-amd jiacao-amd changed the title perf: tune MiniMax M3.1 vLLM DSpark by concurrency / perf: 按并发调整 MiniMax M3.1 vLLM DSpark perf: improve MiniMax M3.1 vLLM C16/C32 on MI355X / perf: 提升 MI355X 上 MiniMax M3.1 vLLM 的 C16/C32 性能 Oct 29, 2026
Fangzhou-Ai added a commit that referenced this pull request Nov 2, 2026
…/C32, CPU offload at C64 / 合并 #4537 与 #4463:MiniMax-M3.1-Flash MI355X vLLM C16/C32 使用 K7、C64 使用 CPU 卸载 (#4671)

This branch has not been deployed

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

Labels

full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended)

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant