Repository navigation
[AgentX] MiniMax-M3.1-Flash GB200 SGLang: update config / [AgentX] MiniMax-M3.1-Flash GB200 SGLang:更新配置 - #4695
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Thanks for the contribution!
中文感谢你的贡献!
|
| - "Add disaggregated SGLang behind Dynamo for MiniMax-M3.1-Flash AgentX on GB200 with lmsysorg/sglang:nightly-cu134-20261030-e371881 (Dynamo 1.7.0.dev20261030, Mooncake transfer, minimax-msa kernels)." | ||
| - "2 DEP4 prefill workers with a DEP8 decode at conc 224 and 256, or 3 DEP4 prefill workers with a DEP16 decode at conc 320 and 360; MegaMoE, DSpark block 7 with fp8 draft KV, Dynamo KV router with fastokens for prefill and least-loaded routing across decode DP ranks." | ||
| - "Prefill: shortest-prefill-first, chunk 8192, mem-fraction-static 0.85, HiCache 180 GB per rank write_back." | ||
| pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXXX |
There was a problem hiding this comment.
🔴 The changelog check will fail on this PR, so the new config never gets scheduled. Its pr-link ends in pull/XXXX, with four X's. The validator only accepts XXX, https://github.com/SemiAnalysisAI/InferenceX/pull/XXX, or the PR's real URL (validate_perf_changelog.py:21-24). Fix: set pr-link to this PR's real URL, or to the exact .../pull/XXX placeholder.
Why this was flagged
The new entry at inferencex-e2e/perf-changelog.yaml:11750 sets pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXXX. On PR runs, validate_added_pr_link (inferencex-e2e/infx/workflows/validate_perf_changelog.py:105-116) accepts only a link in PR_LINK_PLACEHOLDERS ("XXX" or "https://github.com/SemiAnalysisAI/InferenceX/pull/XXX") or the PR's own URL. Four X's matches none of these, so it raises "new PR entry must use ... or an XXX placeholder". On main, CANONICAL_PR_LINK needs pull/\d+ and rejects it too. The changelog validation fails, so the sweep for minimaxm31flash-fp4-gb200-dynamo-sglang-agentic-dspark-disagg is never scheduled and the PR cannot get the /use <run_id> acceptance it needs.
Verification: Trigger: the PR goes through merge_with_reuse. The entry at inferencex-e2e/perf-changelog.yaml:11750 uses pull/XXXX, which matches neither placeholder (validate_perf_changelog.py:21-24). merge_with_reuse.py:688 calls canonicalize_changelog(pr, repo) and does not catch the exception, so the merge aborts. The PR-run changelog check does not call this validator.
There was a problem hiding this comment.
Resolved earlier: pr-link is the real PR URL.
| multinode: true | ||
| disagg: true | ||
| srt-recipe-dir: minimaxm31flash/sglang/gb200-fp4/agentx | ||
| scenarios: |
There was a problem hiding this comment.
🟡 (optional) Published results for this config will claim 901 GB of host KV per node, while the recipe only pins 720 GB. dram-utilization: 1.0 makes matrix generation record the whole gb200-nv node share (860_160 MiB, about 901 GB) as total-cpu-dram-gb. The prefill recipe pins hicache-size: 180 on 4 ranks, which is 720 GB. Fix: set dram-utilization: 0.80, which resolves to 721 GB. The single-node sibling minimaxm31flash-fp4-gb200-sglang-agentic-dspark uses that value for the same 180 GB-per-rank pool.
Why this was flagged
agentic_dram_offload_gb (infx/matrix/generate.py:475-518) computes the prefill share as available-cpu-dram-mib 860_160 (runners.yaml:572) × utilization × 4/4 GPUs. With 1.0 that comes to 901 GB. The value reaches TOTAL_CPU_DRAM_GB through infx/srt_slurm/generate.py:59. It is published as allocated_cpu_dram_gb (infx/results/agentic/init.py:205). The decode side also gets 901 GB as decode_allocated_cpu_dram_gb, even though decode runs no HiCache. The recipe really allocates 180 GB × 4 ranks = 720 GB per prefill node; its own comment says "720 of the node's ~900 GB host allowance". The same-cluster, same-pool sibling uses dram-utilization 0.80. Its recipe records TOTAL_CPU_DRAM_GB '721' (benchmarks/single_node/.../minimaxm31flash/sglang/gb200-fp4-mtp/agentic.yaml:148). So results with identical host pools would report different DRAM budgets, and this one overstates its pool by about 25%. Nothing checks the recorded value against hicache-size, because the recipe never reads TOTAL_CPU_DRAM_GB.
Verification: nit. This happens on every DRAM-offload point of the new config. In agentic_dram_offload_gb, share_gb returns 860160 MiB × 1.0 × 4/4, which is about 901 GB. infx/results/agentic/__init__.py:205 publishes this as allocated_cpu_dram_gb. The recipe really pins hicache-size: 180 on 4 ranks per prefill node, which is 720 GB. Nothing fails at runtime.
There was a problem hiding this comment.
No longer applies: the HiCache disaggregated config was removed; the aggregated HiCache points use dram-utilization 0.80.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-sglang-pd # Conflicts: # inferencex-e2e/perf-changelog.yaml
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-sglang-pd # Conflicts: # inferencex-e2e/perf-changelog.yaml
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
/use 41271615328 |
|
@nvpohanh staging run 41271615328. Existing staged runs will be preserved; a completion link will be posted here. |
|
[by Claude Code] The SGLang cookbook integration of this PR's AgentX configs ( The commands mirror the launch measured in run 41271615328, pinned by this PR's |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
[by Claude Code] sgl-project/sglang#47929 has been merged. This PR's AgentX configs ( The commands mirror the launch measured in run 41271615328, pinned by this PR's |
…oint Co-Authored-By: Claude Opus 5.5 <[email protected]>
Six, eight or ten TP2/EP2 prefill instances with layer-wise linker loads behind the DEP16 linker decode, on the 2026-11-17 staging nightly. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ging nightly One or two DEP8 prefill workers behind the DEP16 linker decode with the image's bundled Dynamo, and smaller infra-node stores. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The TP4 MonoKernel at conc 4 and 8 on the 11-17 staging nightly with the image's bundled Dynamo. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keep the aggregated points and the DEP8 + DEP16 linker points on the 11-17 staging nightly; drop the other disaggregated configs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
/use 44263569706 |
|
@zijiexia staging run 44263569706 failed. Inspect the staging workflow. |
|
/use 44263569706 |
|
@zijiexia staged run 44263569706. This run remains available across future |
edwingao28
left a comment
There was a problem hiding this comment.
plz expand the PR description based on what you added
| |-------|-------------|-----| | ||
| | `573-participating-gpus.patch` | [NVIDIA/srt-slurm#573](https://github.com/NVIDIA/srt-slurm/pull/573) | Record only the GPUs workers occupy on a worker node; an exclusive node's exporter (DCGM or AMD) reports every GPU, which the collector otherwise flags as `unexpected_device`. The pin includes #573, but upstream merged a different design: it keeps every row and excuses idle worker-node GPUs only after a DCGM worker GPU UUID probe. [`infx/results/power/multinode.py`](../../../infx/results/power/multinode.py) does not apply that excusal yet, so keep this filter until it does. | | ||
| | `900-pool-expected-devices.patch` | pending | Plan every service pool node's `gpus_per_node` GPUs as expected power-telemetry devices under the service's name (`worker_role=<service>`, `worker_index=<node ordinal in the pool>`), so a services-only recipe (`frontend.type: none`, one `services[].nodes` pool, `benchmark.type: custom`) reaches collector readiness and publishes instead of failing with `exporter_startup_timeout` + `expected_device_missing` + `unexpected_device`. A services-only job records `worker_identity_proof.error = "no engine workers to probe"` instead of a probe traceback, the identity gate only scopes engine-role devices, and the offline validator accepts pool roles. Engine-only manifests are unchanged. With `573-participating-gpus.patch` an exclusive pool node's unplanned exporter rows are dropped at scrape time, so a recipe whose `gpus_per_node` is below the node's physical GPU count still validates; upstream alone reports them as `unexpected_device`. | | ||
| | `903-dynamo1030-sglang-compat.patch` | none | Add `configs/compat/dynamo1030-sglang/sitecustomize.py`. A worker with that directory on `PYTHONPATH` imports `logging.config` and re-exports `MultimodalProcessorOutput` from `sglang.srt.managers.schedule_batch`, so Dynamo 1.7.0.dev20261030 starts on SGLang after sglang#48087. The GB200 MiniMax-M3.1-Flash linker point sets that `PYTHONPATH`, because Dynamo 1.7.0.dev20261111, which the 11-12 nightly ships, decodes slower. Delete when that point moves to a Dynamo release that decodes as fast. | |
There was a problem hiding this comment.
Could we drop patch 903? The recipes that ship don't use it.
There was a problem hiding this comment.
Done in 21f0fe2: patch 903 and its README row are removed; no shipped recipe sets its PYTHONPATH.
| AIPERF_USE_DYNAMO_CONV_AWARE_ROUTING: "0" | ||
| AIPERF_REQUIRED_SERVER_METRIC_PREFIX: "sglang:" | ||
|
|
||
| override_2p_dep4_dep8: |
There was a problem hiding this comment.
Could we delete the variants nvidia-master doesn't use? Only the two _d1115 ones here are used.
There was a problem hiding this comment.
Done in 21f0fe2: disagg-variants.yaml now holds only the two _d1115 overrides (the anchors they used moved into the 1P one), and the two unused MonoKernel overrides are gone from agg-variants.yaml. The rendered recipe fingerprint of all 14 points is unchanged, so the staged run 44263569706 still matches.
| - "Add SGLang behind Dynamo for MiniMax-M3.1-Flash AgentX on GB200, aggregated and disaggregated, with DSpark block 7 and the minimax-msa kernels." | ||
| - "Agg on lmsysorg/sglang:nightly-cu134-20261030-e371881 (Dynamo 1.7.0.dev20261030): TP4 at conc 1-16, a TP4 MSA-V1 MonoKernel point at conc 1 (page size 128, one-step DSpark with 8 draft tokens), and TP4 with HiCache 180 GB per rank at conc 32-56." | ||
| - "Disagg on lmsysorg/sglang-staging:nightly-cu134-20261117-209741e with its bundled Dynamo 1.7.0.dev20261115: DEP8 prefill workers with a DEP16 decode (MegaMoE), Mooncake transfer, and the unified-cache external linker (Mooncake, prefetch loads) in place of HiCache. 1 prefill worker at conc 288-352, 2 at conc 448 and 480." | ||
| - "Linker storage: every prefill rank contributes a 190 GB segment, each decode node hosts 4 x 4 x 190 GB stores and the infra node 4 x 150 GB. Prefill: 8192 tokens per DP rank per chunk, mem-fraction-static 0.88. Decode: 48 requests per DP rank, mem-fraction-static 0.85." |
There was a problem hiding this comment.
nit: this should be 4 x 190 GB per decode node; changelog entries can't be edited after merge.
There was a problem hiding this comment.
Fixed in 21f0fe2: "each of the 4 decode nodes hosts 4 x 190 GB stores".
|
|
||
| # The DEP8 + DEP16 linker points on the 2026-11-17 staging nightly with the | ||
| # Dynamo it bundles. | ||
| minimaxm31flash-fp4-gb200-dynamo-sglang-agentic-dspark-disagg-linker-d1115: |
There was a problem hiding this comment.
update the SGLang cookbook to this recipe's launch command after merge
There was a problem hiding this comment.
Will do after merge: the cookbook's AgentX launches are generated from InferenceX main, so the next refresh after this merges picks up the d1115 recipe.
Keep only the recipe variants the config uses, drop srt-slurm patch 903 and fix the decode store wording in the changelog. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Ingest report — ✅ Results ingested into the Ingest workflow · Merge Ingest run · Benchmark source run
benchmarkFiles 15, rawBenchmarkRows 28, coveredByPerJobFiles 14, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 10552, gpuMetricSamplesNew 988024, powerPublicationPoints 14, 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 报告 — ✅ 结果已写入 上表仅统计本次运行写入的数据,各行单位依次为 benchmark_results 行、eval_results 行、已关联 trace 的 agentic 行和 gpu_metrics 序列。重新运行 ingest 时本评论会原地更新。 |
Add SGLang behind Dynamo for MiniMax-M3.1-Flash AgentX on GB200, aggregated and disaggregated, with DSpark block 7 and the minimax-msa kernels.
Configs
minimaxm31flash-fp4-gb200-dynamo-sglang-agentic-dspark-agglmsysorg/sglang:nightly-cu134-20261030-e371881minimaxm31flash-fp4-gb200-dynamo-sglang-agentic-dspark-disagg-linker-d1115lmsysorg/sglang-staging:nightly-cu134-20261117-209741eDisaggregated points:
Recipes:
benchmarks/multi_node/srt-slurm-recipes/minimaxm31flash/sglang/gb200-fp4/agentx/{agg,disagg}-variants.yaml.Results
Sweep 44263569706: all 14 points and 8 eval points green, GSM8K 0.961-0.968. Interactivity is the p90 of
full_response_intvty.中文
为 GB200 上的 MiniMax-M3.1-Flash AgentX 增加 Dynamo + SGLang 的单机(agg)与分离式(disagg)配置,使用 DSpark block 7 和 minimax-msa kernel。
配置
minimaxm31flash-fp4-gb200-dynamo-sglang-agentic-dspark-agglmsysorg/sglang:nightly-cu134-20261030-e371881minimaxm31flash-fp4-gb200-dynamo-sglang-agentic-dspark-disagg-linker-d1115lmsysorg/sglang-staging:nightly-cu134-20261117-209741e分离式配置:
结果
Sweep 44263569706:14 个点和 8 个 eval 点全部通过,GSM8K 0.961-0.968。各点数据见上方英文表格;interactivity 为
full_response_intvty的 p90。AI model disclosure
Prepared with Claude Opus 5.5 (claude-opus-5-5).
🤖 Generated with Claude Code