Skip to content

[NV] MiniMax-M3.1-Flash H200 vLLM AgentX update / [NV] MiniMax-M3.1-Flash H200 vLLM AgentX 更新 - #5122

Merged
hshrivastava-droid merged 3 commits into
mainfrom
minimaxm31flash-h200-vllm-agentx-public
Nov 18, 2026
Merged

hshrivastava-droid merged 3 commits into
mainfrom
minimaxm31flash-h200-vllm-agentx-public

Conversation

@hshrivastava-droid

Copy link
Copy Markdown
Collaborator

Update the MiniMax-M3.1-Flash FP4 H200 vLLM AgentX config (minimaxm31flash-fp4-h200-vllm-agentic-dspark).

  • Image: vllm/vllm-openai:nightly-8ca766326652caf4b8e50d1b9118d8a22f6adc73
AI model disclosure
  • Model/version: claude-sonnet-5-5
  • Role: ported the config to this repository
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: full-sweep-enabled
  • Before merging via reuse, an authorized maintainer has commented /use <run_id> on this PR
中文

更新 MiniMax-M3.1-Flash FP4 H200 vLLM AgentX 配置(minimaxm31flash-fp4-h200-vllm-agentic-dspark)。镜像同上。

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@hshrivastava-droid
hshrivastava-droid requested a review from a team November 17, 2026 23:18
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@hshrivastava-droid hshrivastava-droid added the full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures label Nov 17, 2026
@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 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

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

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

# MiniMax-M3.1-Flash AgentX on H200: day-zero vLLM image from
# https://vllm.ai/blog/2026-10-23-minimax-m31-flash, multiarch manifest verified
# 2026-10-23 (amd64 is minimax-m31-flash-x86_64-cu134). Serve flags follow the
# MiniMax-M3.1-Flash AgentX on H200: vLLM nightly with FlashInfer SM90 MSA. Serve flags follow the

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.

🟡 nit (optional): The rewritten comment is still a config header that names the image, which the AGENTS.md comment rules forbid. The diff rewrote this line instead of dropping it. "vLLM nightly with FlashInfer SM90 MSA" only restates the image: tag two lines below. Fix: delete the header text. If the MSA note is needed, keep it as one short technical line explaining why this image is required, for example FlashInfer SM90 MSA kernels needing fp8 caches.

Why this was flagged

AGENTS.md:56-58 (Comments, mandatory in every file) bans header comments that describe a config and bans comments that restate the code. Its rewrite at nvidia-master.yaml:4156 opens with "MiniMax-M3.1-Flash AgentX on H200: vLLM nightly with FlashInfer SM90 MSA." That text labels the config and repeats the nightly tag set at nvidia-master.yaml:4161. The diff edited this line, so this is new text, not untouched pre-existing text. Nothing breaks at runtime. It only means the PR adds new text against a mandatory repo convention.

Verification: Nothing breaks at runtime. AGENTS.md:56 says "No header comments describing a file, topology, config, recipe, override, or section." The diff deletes the old header lines and replaces them with +# MiniMax-M3.1-Flash AgentX on H200: vLLM nightly with FlashInfer SM90 MSA. Serve flags follow the, directly above minimaxm31flash-fp4-h200-vllm-agentic-dspark:.

@hshrivastava-droid hshrivastava-droid added full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures and removed full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures labels Nov 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@Ankur-singh

Copy link
Copy Markdown
Collaborator

/use 44199027587

[by Claude Code]

@Ankur-singh

Copy link
Copy Markdown
Collaborator

As a PR reviewer and CODEOWNER, I have reviewed this and have:

Checklist items
  • Verified that as of the moment of typing this, this is the latest version of PR_REVIEW_CHECKLIST.md
  • Verified that the general code quality meets the InferenceX standard and does not make the code quality any worse.
  • Verified that this PR has passed PR validation. Please link to GitHub Action workflow that shows this.
  • Verified that this PR passes evals. Please link to GitHub Action workflow that shows this.
  • Verified that speculative decoding PRs uses chat templates to align the AL distribution to real world
  • Verified that every draft model and draft head is served as it ships: the draft that ships with the served checkpoint, at its stored precision, through the pinned upstream image's default handling, with the shipped and effective draft precision recorded in the additional detail section. No submission-side quantization, dtype override, checkpoint substitution, or patch may lower draft precision below that default, regardless of eval results or AL. Explicitly verified that SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is not enabled in the effective recipe, including inherited settings; enabling it is prohibited going forward, and historical runs do not grant an exception. See Draft-model precision for what counts as the default and the MLPerf comparison.
  • For agentic workloads: verified that speculative-decoding configs (EAGLE / MTP / draft models) run with simulated synthetic acceptance, with the acceptance-length value taken from the committed golden AL curve in infx/golden_al_distribution/ for that model, thinking mode, and draft length. A submission may choose any supported draft length, but it may not substitute a different acceptance target.
  • Verified against the current MODELS.md that this PR does not submit a deprecated model, scenario, or model-scenario combination.
  • Verified that the model architecture isn't changed with benchmark hacks like using --hf-overrides to skipping indexer for every x layers on models that don't natively support this. As a general rule, we won't accept optimizations that reduces the number of model architecture FLOPs. Anything that makes that same computation run faster is fair game; target/verifier FLOPs at lower precisions is fine, given that the config passes private evals, but this does not permit lowering draft-model or draft-head precision below what ships. As an general north star princple, we should only use optimizations which is used in production by customers that care about accuracy
  • Verified that new models disable integer all-reduce, with SGLang ROCm explicitly setting ROCM_QUICK_REDUCE_QUANTIZATION=NONE. Existing models are grandfathered per MODELS.md.
  • For affected Dynamo TRT-LLM benchmarks, verified that iteration/KV-cache metrics are collected and published under the pinned Dynamo implementation and effective engine settings. Resolve the installed Dynamo version separately from the container tag; use supported metrics controls without requiring KV events. Record the version and configuration evidence in the additional detail section. See verifier Check 17. N/A for unaffected serving paths or frameworks without these Dynamo settings.
  • If an company claims that they support vLLM/SGLang as first class LLM inference engines on their hardware, I have verified that the respective vLLM submission made using upstream https://hub.docker.com/u/vllm docker repo, upstream SGLang https://hub.docker.com/u/lmsysorg docker repo. The only exceptions are for new hardware, such as MI455X UALoE72, Vera Rubin NVL72, Rubin NVL8, etc., and for new model architectures where there is an actual reason why vLLM/SGLang does not fundamentally support them yet as supported by vLLM/SGLang community maintainers
  • For official InferenceX (non-preview), verified that established models use official upstream engine images built from main or master (or the equivalent default development branch), or meet the community-engine branch exception: the upstream maintainers (Inferact for vLLM, RadixArk for SGLang, and LightSeek for TokenSpeed) approve the branch/image for the submission, the upstream PRs must merge in a timely manner after submission, and the submission must then move to a main-branch image. For this exception, linked the upstream PRs, maintainer approval, and image build/source provenance in the additional detail section. New models using model-enablement branches must transition within a reasonable time after release. See MODELS.md.
  • If an company claims that they support vLLM/SGLang as first class upstream in-tree LLM inference engines on their hardware, I have have verified that the respective vLLM/SGLang submission has been made before additional frameworks (TRT-LLM, ATOM, etc.). The only exceptions are for new hardware, such as MI455X UALoE72, Vera Rubin NVL72, Rubin NVL8, etc., and for new model architectures where there is an actual reason why vLLM/SGLang does not fundamentally support them yet.
  • Verified that every affected vLLM/SGLang production serving configuration in this PR, including Dynamo deployments, is documented in the official vLLM recipes and/or the SGLang cookbook, for both single-node and multi-node aggregated and disaggregated serving. The documentation covers production-useful flags, environment variables, and launch commands (including prefill, decode, and router/frontend commands for disaggregation); InferenceX-only benchmark/harness settings are excluded with reasoning in the additional detail section:
    • I linked the corresponding upstream PR in the vLLM recipe repo or SGLang cookbook source repo and verified that it is MERGED before this InferenceX PR merges. An opened, draft, or closed-without-merge upstream PR does not satisfy this requirement. If the matching recipe was already published, I linked the published recipe/cookbook page in the additional detail section below.
  • Verified that this PR does not patch the inference engine or serving stack — the pinned image must run as shipped. This covers .patch files / git apply / patch, inline patches embedded in benchmark scripts (e.g. a python3/sed heredoc that rewrites installed engine sources before serving), in-place edits of site-packages, monkey-patching, overwriting container files, and installing forked/rebuilt engine wheels on top of the pinned image. The only exception is a patch covered by a filled-out waiver at docs/waiver/<PR_NUMBER>.md — named after the PR that introduces the patch and filed in that same PR, stating what is patched, why the unmodified upstream image cannot run this benchmark, the upstream PR/issue link, and the removal plan — which I have linked below in the additional detail section.
  • If this PR uses append-only: true, verified that it only adds generated points or recipe variants inside a selected existing config/scenario and existing same-image visual curve: every previously generated point remains present with the same recipe, no prior point is removed or rerun, and every benchmark-affecting change in the complete diff can affect only the corresponding newly appended points (never an existing point), regardless of which file contains it.
  • If any of the above criteria cannot reasonably be satisfied, I have provided additional reasoning below.
  • Reported measured throughput/E2EL Pareto counts and evidence per affected curve (≥5 points strongly recommended). Below 5 or unverifiable: tag a core maintainer for review; recorded admin bypass required before merge. N/A if no curves are affected. Details.

Additional detail section:

  • Assessed head: c8054c5d34b915eab437887cb4a5b7229452291f. Config minimaxm31flash-fp4-h200-vllm-agentic-dspark (H200, vLLM, TP8, 3-token DSpark) moves from the day-zero vllm/vllm-openai:minimax-m31-flash image to vllm/vllm-openai:nightly-8ca766326652caf4b8e50d1b9118d8a22f6adc73@sha256:b6d1cfc6…. Serve flags and the search space (c1–c24) are unchanged; the recipe change is a comment only.
  • PR validation + evals: run 44199027587 on the assessed head (attempt 2, success): canary c1, agentic c2/c4/c8/c12/c16/c20/c24 and the c24 eval all succeed. Attempt 1's c8 failed in AgentX warmup on a client ClientOSError(104, Connection reset by peer) with no server-side error; the attempt-2 rerun is used. /use 44199027587 is posted. gsm8k em_strict at c24 0.9644 ± 0.0051 vs 0.9682 ± 0.0048 on main's run 39903574233 for the same key (gap within threshold). The H200 eval and benchmark logs show MiniMax M3 sparse attention selected FlashInfer MSA (kv_cache_dtype=fp8, topk_blocks=16) and indexer: selected FlashInfer MSA; main's old image selected Triton, so the changed path is exercised.
  • Image: upstream vllm/vllm-openai nightly, digest b6d1cfc6 resolves (amd64 and arm64). Runtime 0.34.0rc1.dev672+g8ca766326; 8ca76632 is on vLLM main.
  • Golden AL: all benchmark servers run rejection_sample_method: synthetic with synthetic_acceptance_length: 2.88, matching minimax-m3.1-flash__dspark__native__probabilistic-block at 3 draft tokens (thinking_on). The report-only AL gate measured 2.883 / 2.880 on real verification.
  • Draft precision: the draft is the checkpoint's built-in dspark/ head at snapshot ce7f4df8, stored bf16 with MXFP8 (block [1,32]) dense weights and NVFP4 MoE; the DSpark fc/markov/confidence heads are in ignored_layers. No draft quantization, dtype override or checkpoint substitution; the draft KV cache is FP8, the same as the target. Unchanged from the merged config.
  • Pareto (run 44199027587, total tput/GPU vs p90 E2EL, curve h200_vllm / minimaxm31flash / agentic / fp4): 8 measured points, 4 on the frontier (c8, c12, c16, c20; c1/c2/c4 dominated by c8, c24 by c20); main also has 4. Below 5: @SemiAnalysisAI/core please review; an admin bypass is required before merge.
  • vs main (p90): throughput +3% to +41% at every point, interactivity +16% to +128%, E2EL −9% to −37%. The only regression is p90 TTFT at c1 (1.94 → 2.49 s, +29%), which the changelog does not yet disclose.
  • Team TTFT gate: p90 TTFT is below 3.5 s at c1–c16; c20 6.17 s is in the 5–10 s fallback band and c24 14.6 s is above the 10 s no-go (main was 34.1 s; KV usage peaks at 99.5% with up to 35 requests waiting). c24 is off the frontier, so dropping it loses no Pareto point.
  • Upstream recipe: vllm-project/vllm#68486 is MERGED (2026-11-18 19:15 UTC, 86e675ff). It adds the h200_agentx preset to recipes/models/MiniMaxAI/MiniMax-M3.1-Flash.yaml (Hopper fp8 variant), sourced from this key at c8054c5d: the nightly 8ca76632 image by digest, three-token DSpark (FLASH_ATTN drafter, FP8 draft KV, block verification), --enable-prefix-caching, --max-model-len 1048576, --max-num-batched-tokens 8192, --gpu-memory-utilization 0.90, --safetensors-load-strategy prefetch, VLLM_MARLIN_USE_ATOMIC_ADD=1, and per-point --max-num-seqs / --max-cudagraph-capture-size for c1–c24, matching agentic.yaml flag by flag; block size 128, FP8 KV/indexer caches and Marlin MoE come from the fp8 variant. recipes.vllm.ai/MiniMaxAI/MiniMax-M3.1-Flash still rendered vLLM main @ 0dd1aad1 (before the merge) when this was posted and should pick it up on its next rebuild. InferenceX-only settings excluded: concurrency lists, synthetic acceptance, AIPerf settings, Slurm/container options.
  • Not deprecated (MODELS.md). No --hf-overrides, no engine patch, not append-only, existing model (integer all-reduce grandfathered), no Dynamo. The PR conflicts with main in perf-changelog.yaml only. Nit: the rewritten nvidia-master header comment narrates the config's history, which AGENTS.md asks to avoid, and its "(run to c14)" note is stale.

Signed: Ankur-singh

[by Claude Code]

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Verdict: WARN ⚠️

⚠️ Pareto coverage needs additional review. At least 5 points per affected throughput-versus-E2EL frontier are highly recommended. Below 5, or when coverage cannot be verified, merge only with an explicit, recorded admin bypass for the assessed commit; this advisory comment does not grant or enforce a bypass.

⚠️ Check 14 (Pareto coverage): WARN — Curve minimaxm31flash / agentic-coding / h200_vllm / fp4 / p90 E2EL from run 44199027587 (attempt 2, head c8054c5d, image vllm/vllm-openai:nightly-8ca76632…@sha256:b6d1cfc6…) has 4/5 frontier points (c8, c12, c16, c20 of 8 measured; c1/c2/c4/c24 dominated), confirmed with pareto_coverage; no admin bypass comment is posted on the PR, so admin bypass not verified.

⚠️ Check 18 (Recipe consistency): WARN — Dashboard regression at c1: p90 TTFT 1.94 s → 2.49 s (+28.5%) vs main's old-image run 39903574233; every other re-tuned point improves on every axis (throughput +3% to +41%, p90 E2EL −9% to −37%); requirements (a)-(e), (g) and (i) pass (key generates, TP8/8 GPUs and the c1-c24 lists match the recipe, image digest resolves, no orchestration or dispatch changes, no undominated removed point, vLLM default stream_interval=1).

Passed and not applicable checks

✅ Check 0 (CODEOWNER): PASS — nvidia-master.yaml and the h200-* srt-slurm recipe both list @ankur-singh as owner; perf-changelog.yaml falls under the catch-all.

✅ Check 1 (Sweep on in-PR commit): PASS — Pinned head c8054c5d has all agentic /, canary / and agentic eval / check-runs success in run 44199027587 (attempt 2); no later commits.

✅ Check 2 (Evals): PASS — gsm8k em_strict at c24 0.9644 ± 0.0051 (attempt 2) and 0.9659 ± 0.0050 (attempt 1) on the PR image versus the cohort's 0.9682 ± 0.0048 (run 39903574233); both gaps are inside the 2-sigma threshold. FlashInfer MSA is selected once at model init by minimax_m3_use_flashinfer_msa in vLLM 8ca76632, so concurrency does not change it, and the eval ran the identical image and recipe on h200-dgxc. This sandbox could not extract the server-log tarball to read the selection line directly.

✅ Check 3 (Upstream recipe): PASS — vllm-project/vllm#68486 is MERGED (2026-11-18T19:15:48Z, 86e675ff) in the canonical recipes/models source, and recipes.vllm.ai now renders the h200_agentx preset. Its args, env and per-point flags, together with the fp8 variant (FP8 KV/indexer, FULL_AND_PIECEWISE) and the base args (block size 128, hybrid KV manager off, parsers, text-only), match agentic.yaml. The only differences are InferenceX-only or logging settings.

✅ Check 4 (Reuse command): PASS — /use 44199027587 posted on its own line by Ankur-singh (permission write, role write), naming the Check 1 run.

✅ Check 5 (Latest template): PASS — All 21 current-template items are present and checked.

✅ Check 6 (Upstream image): PASS — The image is upstream vllm/vllm-openai, a nightly built from vLLM commit 8ca76632, which is on main (compare: 0 behind). This is a vLLM entry, so the engine-first ordering rule does not apply.

✅ Check 7 (Deprecated models): PASS — minimaxm31flash agentic coding is active in MODELS.md as of 2026-11-18.

✅ Check 8 (No architecture hacks): PASS — There is no --hf-overrides or config edit, and the FP8 KV/indexer caches follow the upstream Hopper variant and are covered by evals. Integer all-reduce: minimaxm31flash is grandfathered at the 2a45791d baseline, and on the CUDA path no quick-reduce control is set.

✅ Check 9 (Chat templates): PASS — The AgentX client replays traces through /v1/chat/completions, and the throughput acceptance is synthetic (Check 11).

✅ Check 10 (No engine patches): PASS — No patch, setup script, overlay or wheel install is reachable; the diff changes only the image and a comment.

✅ Check 11 (Golden AL): PASS — The benchmark job logs show rejection_sample_method: synthetic, synthetic_acceptance_length: 2.88. signoff_facts golden-al (dspark, 3 tokens, thinking_on, probabilistic, block) returns 2.88 from minimax-m3.1-flash__dspark__native__probabilistic-block.yaml.

➖ Check 12 (Append-only): N/A — The new changelog entry does not set append-only: true.

✅ Check 13 (Draft precision): PASS — The draft is the built-in checkpoint dspark/ head: bf16 with MXFP8 [1,32] dense weights and NVFP4 MoE, with its fc/markov/confidence heads in ignored_layers (HF config). No draft quantization, dtype override or substitution is set. The draft KV cache is FP8, matching the target. SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE does not apply to this vLLM path.

✅ Check 15 (PR description): PASS — The title, body and changelog claims (the new image, FlashInfer SM90 MSA selection, unchanged serve flags, DSpark and search space) match the diff and the pinned vLLM source.

✅ Check 16 (NVIDIA overview): PASS — MiniMax-M3.1-Flash with vLLM is listed in the NVIDIA overview's Framework Recipes table.

➖ Check 17 (Metrics publication): N/A — This is direct vLLM serving with no Dynamo or TRT-LLM settings.

Assessed commit: c8054c5d34b915eab437887cb4a5b7229452291f.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@hshrivastava-droid
hshrivastava-droid merged commit 5268db4 into main Nov 18, 2026
6 checks passed
@hshrivastava-droid
hshrivastava-droid deleted the minimaxm31flash-h200-vllm-agentx-public branch November 18, 2026 19:53
@github-actions

Copy link
Copy Markdown
Contributor

Ingest report — ✅ Results ingested into the production database.

Ingest workflow · Merge Ingest run · Benchmark source run

Category new duplicate skipped unmapped failed
benchmark 8 0 10 0 0
eval 1 3 2 0 0
trace 8 0 0 0 0
power 8 0 0 2 0

benchmarkFiles 10, rawBenchmarkRows 18, coveredByPerJobFiles 8, purgedPoints 0, failedRunRows 2, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 1319, gpuMetricSamplesNew 298384, powerPublicationPoints 8, 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 报告 — ✅ 结果已写入 production 数据库。

上表仅统计本次运行写入的数据,各行单位依次为 benchmark_results 行、eval_results 行、已关联 trace 的 agentic 行和 gpu_metrics 序列。重新运行 ingest 时本评论会原地更新。

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

Labels

full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants