← Back to Pull requests

Use latest configs for MiniMax M3.1 B300 AgentX / 更新 MiniMax M3.1 B300 AgentX 配置 #4467

Merged
xinli-sw merged 3 files (125 lines) on Oct 27, 2026 20:53 UTC
View on GitHub
xinli-sw xinli-sw commented on Oct 24, 2026 12:26 UTC
Author

Use latest configs for MiniMax M3.1 B300 AgentX submission.

<details><summary>中文</summary>

更新 MiniMax M3.1 B300 AgentX 提交配置。

</details>

<details><summary>AI model disclosure</summary>

Prepared by Codex with delegated agents (exact model/version could not be verified from the runtime). Config update by Claude Opus 5.5 (claude-opus-5-5).

</details>

Diff: 125 lines (+92 / -33) across 3 files Reviewer: Ankur-singh Review duration: 4826m
All Vouch review confidence checks passed
Residual risk 0.13 = Change Risk (0.63) × (1 − Review Confidence (0.80)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 125 lines diff across 3 files
0.63
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.70 · 5 substantive comment(s)
0.70
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
79%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.289
Sensitive Paths sensitive_paths
0.063
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
15 items
github-actions[bot] github-actions[bot] commented on Oct 24, 2026 12:26 UTC
Bot

<!-- recipe-reminder -->
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.
  • <details>
    <summary>中文</summary>

    感谢你的贡献!

  • 审阅:如果 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 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。
  • </details>

    claude[bot] claude[bot] commented on code on Oct 24, 2026 12:34 UTC
    Code Review
    inferencex-e2e/configs/nvidia-master.yaml:1
    @@ -5597,6 +5597,26 @@ minimaxm3-fp4-b200-vllm-agentic-mtp-c10:
           - { tp: 4, spec-decoding: mtp, kv-offloading: dram, kv-offload-backend: { name: vllm-simple }, conc-list: [20], srt-recipe: agentic.yaml:override_cap3_tp4_c20_dram }
           - { tp: 4, spec-decoding: mtp, kv-offloading: dram, kv-offload-backend: { name: vllm-simple }, conc-list: [32], srt-recipe: agentic.yaml:override_cap6_tp4_c32_dram }
           - { tp: 4, spec-decoding: mtp, kv-offloading: dram, kv-offload-backend: { name: vllm-simple }, conc-list: [32], srt-recipe: agentic.yaml:override_cap16_tp4_c32_dram }
    +minimaxm31flash-fp4-b300-vllm-agentic-dspark:
    +  image: vllm/vllm-openai:minimax-m31-flash

    🟡 (optional) B300 MiniMax M3.1 Flash results can come from a different vLLM build than the sibling rows, and can change silently between reruns. The new entry uses the bare tag vllm/vllm-openai:minimax-m31-flash. Every other x86 entry on that same day-zero tag pins @ sha256:86f582dae25ea92802353727164ae4eb03b37b18baf9119b805ffaec2a7ef07c. Fix: pin the image by digest, either the same sha256 the h100/h200/b200 rows use or the digest this config was actually validated on, so B300 runs the exact build it was tuned against.

    <details>
    <summary>Why this was flagged</summary>

    The new key minimaxm31flash-fp4-b300-vllm-agentic-dspark sets image: vllm/vllm-openai:minimax-m31-flash at nvidia-master.yaml:5601 with no digest. The binder copies IMAGE from the master config into model.container (workload.py bind_workload), so each run pulls whatever the mutable tag points to at launch time. The sibling vLLM entries for the same model on h100, h200 and b200 (nvidia-master.yaml:5281, 5304, 5621) all pin this tag to sha256:86f582dae25e…. That shows the tag was deliberately frozen at a verified build. If upstream re-pushes the day-zero tag, the B300 sweep and later reruns use a different vLLM than the one these engine args were tuned for. The FLASHINFER_TS DSpark backend and the SimpleCPUOffloadConnector cpu_bytes_to_use settings depend on that build. Those B300 numbers are then not comparable with the other GPUs and can regress or fail to launch with nothing in the repo changing. No validation rejects unpinned images, so nothing catches this.

    Verification: Trigger: the vllm/vllm-openai:minimax-m31-flash tag gets re-pushed after this config was validated. The new entry at nvidia-master.yaml:5601 is image: vllm/vllm-openai:minimax-m31-flash with no digest. Every other entry on that x86 tag is pinned: h100 (5281), h200 (5304) and b200 (5621). If the tag moves, B300 runs pull a different vLLM build than the sibling rows, and nothing records it.

    </details>

    <!-- bhfn:1:nit -->

    claude[bot] claude[bot] commented on code on Oct 24, 2026 12:34 UTC
    Code Review
    inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/minimaxm31flash/vllm/b300-fp4-mtp/agentic.yaml:1
    @@ -0,0 +1,113 @@
    +schema: 2
    +base:
    +  name: minimaxm31flash-fp4-b300-vllm-agentic-dspark
    +  resources:
    +    gpu_type: b300
    +    gpus_per_node: 8
    +  frontend:
    +    type: vllm
    +    enable_multiple_frontends: false
    +  observability:
    +    enabled: false
    +    tachometer:
    +      enabled: false
    +  engine:
    +    type: vllm
    +    connector: null
    +  health_check:
    +    interval_seconds: 5
    +    max_attempts: 1440
    +  roles:
    +    agg:
    +      nodes: 1
    +      workers: 1
    +      args:
    +        served-model-name: MiniMaxAI/MiniMax-M3.1-Flash
    +        language-model-only: true
    +        trust-remote-code: true
    +        reasoning-parser: minimax_m3
    +        tool-call-parser: minimax_m3
    +        enable-auto-tool-choice: true
    +        block-size: 128
    +        kv-cache-dtype: nvfp4
    +        attention-config: '{"indexer_kv_dtype":"nvfp4","use_prefill_query_quantization":true}'
    +        disable-hybrid-kv-cache-manager: true
    +        enable-prefix-caching: true
    +        gpu-memory-utilization: 0.92
    +        max-model-len: 1048576
    +        max-num-batched-tokens: 16384
    +        compilation-config: '{"cudagraph_mode":"FULL_AND_PIECEWISE"}'
    +        speculative-config: '{"method":"dspark","num_speculative_tokens":7,"attention_backend":"FLASHINFER_TS","kv_cache_dtype":"fp8","draft_sample_method":"probabilistic","rejection_sample_method":"block"}'
    +        disable-uvicorn-access-log: true
    +        stream-interval: 20
    +      env:
    +        VLLM_FLOAT32_MATMUL_PRECISION: high
    +        PYTHONUNBUFFERED: '1'
    +        VLLM_ENGINE_READY_TIMEOUT_S: '7200'
    +        VLLM_CHAT_TEMPLATE_RENDER_TIMEOUT: '600'
    +        VLLM_USE_SIMPLE_KV_OFFLOAD: '1'
    +  benchmark:
    +    env:
    +      AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'vllm:'
    +
    +zip_override_tp4:
    +  roles:
    +    agg:
    +      gpus: 4
    +      args:
    +        tensor-parallel-size: 4
    +        max-num-seqs: [2, 8, 16, 32]
    +      env:
    +        VLLM_USE_SIMPLE_KV_OFFLOAD: '0'
    +  benchmark:
    +    env:
    +      CONC: ['1', '4', '8', '16']
    +
    +override_tp4_c32:
    +  roles:
    +    agg:
    +      gpus: 4
    +      args:
    +        tensor-parallel-size: 4
    +        max-num-seqs: 64
    +        kv-transfer-config: '{"kv_connector":"SimpleCPUOffloadConnector","kv_role":"kv_both","kv_connector_extra_config":{"cpu_bytes_to_use":1499000000000,"lazy_offload":true}}'
    +  benchmark:
    +    env:
    +      CONC: '32'
    +

    🟡 (optional) The B300 DRAM-offload points can publish a CPU-DRAM allocation that differs from the vLLM offload budget without failing. The B200 sibling would stop that. No variant declares KV_OFFLOADING or TOTAL_CPU_DRAM_GB in benchmark.env, so validate_recipe (single_node.py:144) skips both checks. Fix: give each variant its KV_OFFLOADING (none for zip_override_tp4, dram for the four DRAM overrides). Also give each DRAM override a TOTAL_CPU_DRAM_GB equal to its cpu_bytes_to_use, as the B200 recipe does: '1499' for the TP4 ones, '749' for the TP2 ones.

    <details>
    <summary>Why this was flagged</summary>

    select_recipe checks CONC, KV_OFFLOADING and TOTAL_CPU_DRAM_GB against the matrix point, but only for names the variant declares (single_node.py:144-146). The B200 sibling declares all three (b200-fp4-mtp/agentic.yaml:63, :81-82), so a mismatch fails at prepare. The new recipe declares only CONC. Its cpu_bytes_to_use literals (1499000000000 at agg-variants.yaml:75 and :109, 749000000000 at :87 and :99) equal today's share: min(3_976_192, MAX_AGENTIC_AVAILABLE_CPU_DRAM_MIB=2_861_022) MiB × dram-utilization: 1.0 × gpus/8 (generate.py:428-439). If that cap, the b300-dsxe DRAM figure or the master dram-utilization changes, the matrix total-cpu-dram-gb moves while vLLM keeps the old budget. Results still record allocated_cpu_dram_gb from TOTAL_CPU_DRAM_GB (results/agentic/__init__.py:192). The kv-offloading: none row uses the bare bundle (nvidia-master.yaml:5612), so it matches variants on CONC alone. A DRAM override that later shares a CONC of 1, 4, 8 or 16 makes that row fail with two matches instead of being filtered out.

    Verification: In single_node.py:144-146, validate_recipe only compares CONC, KV_OFFLOADING and TOTAL_CPU_DRAM_GB when the name is present in benchmark.env. Every variant in the new agg-variants.yaml declares only CONC under benchmark.env. Today the values agree. A later edit to the DRAM knob would publish an allocation that differs from the real offload budget, and nothing would fail.

    </details>

    <!-- bhfn:1:nit -->

    claude[bot] claude[bot] commented on Oct 24, 2026 12:34 UTC
    Reviewer

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

    <!-- bhrv:cbac46b381816b12 -->

    github-actions[bot] github-actions[bot] commented on Oct 24, 2026 12:55 UTC
    Bot

    <!-- inferencex-unofficial-run-visualizer -->

    View unofficial run (performance): https://inferencex.semianalysis.com/inference?unofficialRun=40340506758

    View unofficial run (accuracy): https://inferencex.semianalysis.com/evaluation?unofficialRun=40340506758

    xinli-sw xinli-sw commented on Oct 27, 2026 13:01 UTC
    Author

    /use 40340506758

    github-actions[bot] github-actions[bot] commented on Oct 27, 2026 13:02 UTC
    Bot

    @xinli-sw staged run 40340506758.

  • MiniMax-M3.1-Flash · agentic-traces · FP4 · b300_vllm · 2026-10-26
  • This run remains available across future /stage-results requests. Staging the same run ID again updates its staged data. Staging workflow

    Ankur-singh Ankur-singh commented on Oct 27, 2026 17:36 UTC
    Contributor

    /use 40340506758

    [by Claude Code]

    Ankur-singh Ankur-singh commented on Oct 27, 2026 17:36 UTC
    Contributor

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

  • 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

  • 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](../../.github/codeowner-signoff-verify-prompt.md#check-17--effective-metrics-collection-and-publication). 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

  • 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:

  • - [x] 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: 4d58756a439a6c7be49793259d0d21f495d1fdb3 (policy checked at InferenceX main @ 9b45b789). Config minimaxm31flash-fp4-b300-vllm-agentic-dspark (single-node vLLM on cluster:b300-dsxe, image vllm/vllm-openai:minimax-m31-flash@sha256:86f582da…, unchanged by this PR). The sweep ran on 615ee422; the only later commit, 4d58756a, appends description lines to this PR's perf-changelog entry (no config, recipe or matrix change; validate_perf_changelog passes).

  • PR validation + evals: run 40340506758 (pull_request on 615ee422, final attempt 3, success). All 13 benchmark points succeeded: TP4 GPU-resident c1/c4/c8/c16/c32, TP4 host-DRAM (SimpleCPUOffloadConnector) c24/c40/c48/c56, TP2 host-DRAM c24/c32/c40/c48. TP2 c24 failed in attempt 1 (worker hang, RPC call to sample_tokens timed out) and passed in attempt 2; per-point readers use the latest attempt. 0 error-dropped requests on every point. Eval: gsm8k em_strict 0.9651 ± 0.0051 (n=1319) on the selected eval point TP4 DRAM c56, within 2σ of the previous run for this key (run 39904040374: TP4 c32 0.9644, DEP4 c256 0.9689). Eval coverage note: the TP2 lanes use the FLASHINFER_TS draft attention backend while every TP4 lane (including the eval point) uses FLASH_ATTN; no eval runs a TP2 point in this sweep. /use 40340506758 was posted by @xinli-sw and staged.

  • Golden AL: every point drafts 7 DSpark tokens; minimaxm31flash_dspark.yaml thinking_on, 7 tokens = 4.04, and the job configs show rejection_sample_method: synthetic with synthetic_acceptance_length: 4.04. The eval-only point uses real block verification.

  • Chat template: AgentX replays chat traces against /v1/chat/completions.

  • Draft precision (verified): the draft is the DSpark head shipped in the served checkpoint's dspark/ subfolder (MiniMaxAI/MiniMax-M3.1-Flash @ 262ae683, DSparkMiniMaxDraftModel, 5 layers). Shipped: quantization_config: mxfp8 (dynamic, block 1x32); the safetensors header stores the decoder linear weights as MXFP8 (35 F8_E4M3 tensors, 1,667M params, with 35 E8M0 U8 scales) and the confidence head, fc and norms as BF16 (27 tensors, 291M params). Pinned-image default (read from vllm/vllm-openai@sha256:86f582da…, amd64, __commit_id__ = g8744dd2fb): _get_minimax_m3_dspark_draft loads the checkpoint's dspark/ subfolder; for DSparkMiniMaxDraftModel the draft keeps its own quantization_config (the target's is copied only when the draft has none); SpeculativeConfig.kv_cache_dtype defaults to None, documented as "the draft inherits the target model's --kv-cache-dtype", and llm_base_proposer.py overrides the draft cache dtype only when it is set. So the baseline is the MXFP8 drafter with nvfp4 draft KV (inherited from the target). Effective (run 40340506758 server logs: TP2 c32 attempt 3, TP4 c1, TP4 c56 eval): Resolved architecture: DSparkMiniMaxDraftModel, engine quantization=mxfp8, dtype=torch.bfloat16, target kv_cache_dtype=nvfp4; the draft loads in a separate 0.7-2 s pass with no quantization step, then Using KV cache scaling factor 1.0 for fp8_e4m3 for the draft cache. The only draft-related submission setting is "kv_cache_dtype": "fp8" in --speculative-config, which is higher precision than the nvfp4 default; there is no draft weight quantization, dtype override or checkpoint substitution. SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is SGLang-only and absent.

  • Upstream recipe (Check 3): satisfied by a merged PR. vllm-project/vllm#64108 is MERGED (2026-10-27 18:04 UTC, squash commit a75277a0 on main, approved by @wzhao18). It adds two opt-in B300 presets to recipes/models/MiniMaxAI/MiniMax-M3.1-Flash.yaml, both pinned to this lane's image and source.revision 615ee422: b300_agentx_tp4 (TP4, --gpu-memory-utilization 0.92, FLASH_ATTN draft attention; GPU-resident points c1/c4/c8/c16/c32 and SimpleCPUOffloadConnector host-DRAM points c24/c40/c48/c56 with cpu_bytes_to_use 1,499 GB and lazy_offload) and b300_agentx_tp2 (TP2, --gpu-memory-utilization 0.9, FLASHINFER_TS, host-DRAM offload with 749 GB at c24/c32/c40/c48), each point with its --max-num-seqs, plus the shared --max-num-batched-tokens 32768, capture-size list up to 8192, --stream-interval 20 and the 600 s keep-alive/chat-template-render timeouts. All 13 rendered points match this PR's effective lane settings, and the TP4 c24 and TP2 c24 renders match the launch commands logged in run 40340506758 (apart from synthetic acceptance). Publication: at the time of this edit recipes.vllm.ai still renders from vLLM main @ 5f1a5641, which predates the merge, so the presets will appear there after the site's next source update. InferenceX-only settings excluded: concurrency lists, synthetic acceptance, AIPerf settings, served-model-name, VLLM_ENGINE_READY_TIMEOUT_S, PYTHONUNBUFFERED, uvicorn access logging, and VLLM_USE_SIMPLE_KV_OFFLOAD (only read for --kv-offloading-backend native; these lanes set the connector explicitly).

  • Image / engine: upstream vllm/vllm-openai image, unchanged. The DEP4 vllm-router.sh setup script is removed; the head recipe has no setup script, patch or pip install.

  • Not deprecated: minimaxm31flash agentic coding is active in MODELS.md. No architecture overrides. Not append-only. Dynamo TRT-LLM metrics: N/A (plain vLLM).

  • Host DRAM: cpu_bytes_to_use equals the harness allocation for dram-utilization: 1.0 on b300-dsxe (1499 GB for 4 of 8 GPUs, 749 GB for 2 of 8); jobs run node-exclusive (--exclusive, --mem=0).

  • Pareto (run 40340506758, total tput/GPU vs p90 E2EL, one curve b300 / vllm / fp4 / agentic): 9 of 13 points on the frontier (TP4 c1, c4 and c8 are dominated by TP4 c16 at p90), computed with the repo's pareto_coverage.py.

  • Removed points: the DEP4 c64/c128/c256 points (run 39904040374) are each dominated by a head point (e.g. DEP4 c64 63.7k tput/GPU at 47.4 tok/s vs TP4 DRAM c40 70.2k at 260.6 tok/s; c128/c256 are below TP4 c16 on both axes). Retained TP4 resident points: tput/GPU −0.1% to +1.3%, interactivity +0.2% to +17.1%.

  • TTFT: p90 below 5 s on every point (max 4.16 s at TP2 c48).

  • Description: the PR body has no technical claims (Check 15 N/A). The perf-changelog entry now describes the DEP4 → TP4/TP2 host-DRAM change, 7-token DSpark everywhere, the per-lane draft attention backend and the serving settings (commit 4d58756a). NVIDIA overview: the NVIDIA LLM Inference Quick Start Recipes overview now lists MiniMax-M3.1-Flash in its Framework Recipes table, with the vLLM cell linking recipes.vllm.ai/MiniMaxAI/MiniMax-M3.1-Flash and the SGLang cell linking the MiniMax-M3.1 cookbook (published 2026-10-27).
  • Signed: Ankur-singh

    [by Claude Code]

    github-actions[bot] github-actions[bot] commented on Oct 27, 2026 17:42 UTC
    Bot

    <!-- codeowner-signoff-verify signoff=issuecomment-6449123962 -->

    ✅✅✅ Verdict: PASS ✅✅✅

    <details>
    <summary>Passed and not applicable checks</summary>

    ✅ Check 0 (CODEOWNER): PASS — Ankur-singh is a listed owner (@ankur-singh) of inferencex-e2e/configs/nvidia-master.yaml and the */b300-/ srt-slurm recipes; perf-changelog.yaml falls under the catch-all only.

    ✅ Check 1 (In-PR sweep + evals): PASS — In-PR commit 615ee422 has all 13 agentic / benchmark jobs and the agentic eval / job at success in run 40340506758 (attempt 3). The only later commit, 4d58756a, adds description lines to this PR's changelog entry and is non-material (same config key, no recipe, matrix or launch change).

    ✅ Check 2 (Evals): PASS — gsm8k em_strict 0.9651 ± 0.0051 (n=1319) at TP4 DRAM c56 on the pinned vllm/vllm-openai:minimax-m31-flash@sha256:86f582da… image, gap −0.0008 against the exact-topology cohort (0.9644, run 39904040374) with a 2σ threshold of 0.0144. The eval covers SimpleCPU host-DRAM offload. The TP2 lanes' FLASHINFER_TS draft backend only changes draft proposals, which block verification still checks; that backend is the upstream NVIDIA default and was evaluated on the GB300 TP4 lane at 0.9682 (run 39949684795).

    ✅ Check 3 (Upstream recipe): PASS — vllm-project/vllm#64108 is MERGED (2026-10-27T18:04Z, a75277a0); vllm-project/vllm recipes/models/ is now the vLLM recipe source, and recipes.vllm.ai now shows the b300_agentx_tp4 and b300_agentx_tp2 presets rendered from vllm-project/vllm@a75277a. Every point's TP, max-num-seqs, gpu-memory-utilization, max-num-batched-tokens 32768, capture sizes, stream-interval, draft backend, SimpleCPU offload budget/lazy_offload, timeouts, and the base NVFP4 KV/indexer, block-size, parser, text-only and DSpark-7 settings match. Excluded InferenceX-only settings are justified.

    ✅ Check 4 (Reuse command): PASS — /use 40340506758 was posted by COLLABORATORs xinli-sw (2026-10-27T13:01Z) and Ankur-singh (17:36Z); that run is the Check 1 run on in-PR commit 615ee422.

    ✅ Check 5 (Latest checklist): PASS — All 17 items in the current template, including the upstream-recipe sub-item, are present and checked.

    ✅ Check 6 (Upstream images / ordering): PASS — framework: vllm on B300 uses upstream vllm/vllm-openai:minimax-m31-flash@sha256:86f582da…, and the PR changes only an open-source engine entry.

    ✅ Check 7 (Deprecated models): PASS — According to MODELS.md, MiniMax-M3.1-Flash (minimaxm31flash) agentic coding is active (added 2026-10-23; no deprecations).

    ✅ Check 8 (No architecture hacks): PASS — There are no --hf-overrides, model-override args or config edits. NVFP4 KV/indexer caches and prefill query quantization are the upstream Blackwell defaults for this QAT checkpoint and are covered by the Check 2 eval.

    ✅ Check 9 (Chat template): PASS — AgentX replays traces through /v1/chat/completions (infx/bench/server.py, backend_request_func.py).

    ✅ Check 10 (No engine patches): PASS — The head recipe removes the DEP4 vllm-router.sh setup script and has no setup script, patch, source edit or pip install on any reachable path.

    ✅ Check 11 (Golden AL): PASS — All points draft 7 DSpark tokens. The harness injects rejection_sample_method: synthetic, synthetic_acceptance_length: 4.04 (seen in the TP2 c48 job log), which equals minimaxm31flash_dspark.yaml thinking_on for 7 tokens (4.04); only the eval-only point uses real block verification.

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

    ✅ Check 13 (Draft precision): PASS — The draft is the checkpoint's own dspark/ head (DSparkMiniMaxDraftModel, 5 layers, stored quantization_config: mxfp8). The recipe sets no draft quantization, dtype override or checkpoint substitution. Its only draft setting, kv_cache_dtype: fp8, is above the baseline nvfp4 that vLLM's SpeculativeConfig.kv_cache_dtype=None would inherit from the target. SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is absent (vLLM lane).

    ✅ Check 14 (Pareto coverage): PASS — Curve b300 / vllm / fp4 / agentic-coding, p90 E2EL vs total tput/GPU from run 40340506758 (615ee422, latest attempt per point): 9 of 13 measured points are on the frontier per pareto_coverage.py; TP4 c1/c4/c8/c56 are dominated.

    ➖ Check 15 (PR description): N/A — The PR body makes no technical configuration or validation claims beyond the title-level summary.

    ✅ Check 16 (NVIDIA overview): PASS — The NVIDIA overview Framework Recipes table lists MiniMax-M3.1-Flash with the vLLM cell linking recipes.vllm.ai.

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

    ✅ Check 18 (Recipe/image/sweep consistency): PASS — All 13 master srt-recipe selectors (zip_override_tp4[0-3], override_tp4_c32, override_tp4_c24, zip_override_tp4_dram[0-2], zip_override_tp2[0-3]) resolve with matching TP, GPU count, KV-offload mode and concurrency, and there are no generation errors. There are no new images or orchestration pins, and the changelog description matches the diff. The removed DEP4 c64/c128/c256 points are dominated (none undominated). Re-tuned TP4 deltas: tput/GPU −0.08% to +1.35%, interactivity +0.6% to +16.9%. TP2 c32 was rerun in attempt 3 (111.2k vs 96.8k tput/GPU in attempt 1), which does not change the frontier count.

    </details>

    Assessed commit: 4d58756a439a6c7be49793259d0d21f495d1fdb3.

    Ankur-singh Ankur-singh approved these changes on Oct 27, 2026 19:55 UTC
    Approved Reviewer

    Approved these changes.

    functionstackx functionstackx approved these changes on Oct 27, 2026 20:49 UTC
    Approved Reviewer

    Approved these changes.

    Ankur-singh Ankur-singh commented on Oct 27, 2026 20:51 UTC
    Contributor

    /reuse-sweep-run 40340506758

    github-actions[bot] github-actions[bot] commented on Oct 27, 2026 20:59 UTC
    Bot

    <!-- ingest-results-report merge-run=40582012375 -->
    Ingest report — ✅ Results ingested into the production database.

    Ingest workflow · Merge Ingest run · Benchmark source run

    | Category | new | duplicate | skipped | unmapped | failed |
    | --- | ---: | ---: | ---: | ---: | ---: |
    | benchmark | 13 | 0 | 1 | 0 | 0 |
    | eval | 1 | 1 | 1 | 0 | 0 |
    | trace | 13 | 0 | 0 | 0 | 0 |
    | power | 13 | 0 | 0 | 1 | 0 |

    <sub>benchmarkFiles 14, rawBenchmarkRows 14, coveredByPerJobFiles 0, purgedPoints 0, failedRunRows 1, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 1319, gpuMetricSamplesNew 236184, powerPublicationPoints 13, changelogEntriesWritten 1</sub>

    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.

    <details>
    <summary>中文</summary>

    Ingest 报告 — ✅ 结果已写入 production 数据库。

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

    </details>

    Reviewers
    Assignees
    xinli-sw xinli-sw
    Labels
    risk: low confidence: 79.8% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 63% (MEDIUM) · Higher = larger blast radius
    63%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 79.8% · Lower = rushed or shallow review
    79.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 12.7% · Safe to merge
    12.7%