From 2d1c39bccbfd76f49f8eaa4ac254f956302ca8ee Mon Sep 17 00:00:00 2001 From: ZhengGong-amd Date: Mon, 2 Nov 2026 08:32:54 +0000 Subject: [PATCH 1/2] perf(minimaxm31flash-mi355x-sglang): opt into full-precision custom all-reduce Co-authored-by: Cursor --- .../minimaxm31flash/sglang/mi355x-fp4-mtp/agentic.yaml | 7 +++++++ inferencex-e2e/perf-changelog.yaml | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/minimaxm31flash/sglang/mi355x-fp4-mtp/agentic.yaml b/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/minimaxm31flash/sglang/mi355x-fp4-mtp/agentic.yaml index ff4c25706f..a188f88554 100644 --- a/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/minimaxm31flash/sglang/mi355x-fp4-mtp/agentic.yaml +++ b/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/minimaxm31flash/sglang/mi355x-fp4-mtp/agentic.yaml @@ -49,6 +49,13 @@ base: # Recompute the sparse index top-k in every layer (SGLang's ROCm default 2 shares # one selection across each pair of sparse layers). SGLANG_MINIMAX_M3_INDEX_TOPK_FREQ: '1' + # MiniMax-M3 on ROCm disables custom all-reduce unless opted in, leaving the small + # decode all-reduces on RCCL. + SGLANG_M3_ALLOW_CUSTOM_AR: '1' + # Keep it full precision: with custom all-reduce on, the image otherwise quantizes + # it through quick reduce, raised to INT4 for MiniMax-M3.1 by default. + ROCM_QUICK_REDUCE_QUANTIZATION: 'NONE' + SGLANG_ENABLE_MINIMAX_M3_AMD_QUICK_REDUCE_INT4: '0' benchmark: env: # Warmup can leave bytes unacknowledged past AIPerf's 30 s default. diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index b0cd1b0b76..0c558d17f5 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -11800,3 +11800,11 @@ - "Add aggregated SGLang behind Dynamo for MiniMax-M3.1-Flash AgentX on GB300 with lmsysorg/sglang:nightly-cu134-20261030-e371881: TP4 at conc 1-16; TP4 with HiCache 180 GB per rank, shortest-prefill-first and prefill-decode interval 32 at conc 24; TP2 with HiCache 180 GB per rank at conc 40 (with and without shortest-prefill-first) and 44." - "Disagg prefill chunk 16384 (8192 per DP rank); add 4 DEP2 prefill workers with a DEP8 decode at conc 224 and 256, 8 DEP2 prefill workers with a DEP8 decode at conc 440 and 480, conc 340 on the 6 DEP2 + DEP8 shape, and conc 360 and 400 on the 6 DEP2 + DEP16 shape." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4698 + +- config-keys: + - minimaxm31flash-fp4-mi355x-sglang-agentic-dspark + scenario-type: [agentic-coding] + description: + - "Opt into custom all-reduce on MI355X SGLang MiniMax-M3.1-Flash AgentX (SGLANG_M3_ALLOW_CUSTOM_AR=1): MiniMax-M3 on ROCm otherwise disables it and runs the decode all-reduces on RCCL." + - "Keep the all-reduce full precision: ROCM_QUICK_REDUCE_QUANTIZATION=NONE and SGLANG_ENABLE_MINIMAX_M3_AMD_QUICK_REDUCE_INT4=0, so the opt-in does not turn on the image's INT8/INT4 quick reduce." + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4745 From 8708b7ba17f3deee4034b608153d803804d27afd Mon Sep 17 00:00:00 2001 From: ZhengGong-amd Date: Mon, 2 Nov 2026 08:56:04 +0000 Subject: [PATCH 2/2] perf(minimaxm31flash-mi355x-sglang): drop redundant INT4 quick-reduce opt-out Co-authored-by: Cursor --- .../minimaxm31flash/sglang/mi355x-fp4-mtp/agentic.yaml | 7 ++----- inferencex-e2e/perf-changelog.yaml | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/minimaxm31flash/sglang/mi355x-fp4-mtp/agentic.yaml b/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/minimaxm31flash/sglang/mi355x-fp4-mtp/agentic.yaml index a188f88554..8ec10b2023 100644 --- a/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/minimaxm31flash/sglang/mi355x-fp4-mtp/agentic.yaml +++ b/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/minimaxm31flash/sglang/mi355x-fp4-mtp/agentic.yaml @@ -49,13 +49,10 @@ base: # Recompute the sparse index top-k in every layer (SGLang's ROCm default 2 shares # one selection across each pair of sparse layers). SGLANG_MINIMAX_M3_INDEX_TOPK_FREQ: '1' - # MiniMax-M3 on ROCm disables custom all-reduce unless opted in, leaving the small - # decode all-reduces on RCCL. + # MiniMax-M3 on ROCm disables custom all-reduce unless opted in. SGLANG_M3_ALLOW_CUSTOM_AR: '1' - # Keep it full precision: with custom all-reduce on, the image otherwise quantizes - # it through quick reduce, raised to INT4 for MiniMax-M3.1 by default. + # The image otherwise quantizes the all-reduce to INT8, or INT4 for M3.1. ROCM_QUICK_REDUCE_QUANTIZATION: 'NONE' - SGLANG_ENABLE_MINIMAX_M3_AMD_QUICK_REDUCE_INT4: '0' benchmark: env: # Warmup can leave bytes unacknowledged past AIPerf's 30 s default. diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 0c558d17f5..f848d6cbc3 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -11805,6 +11805,5 @@ - minimaxm31flash-fp4-mi355x-sglang-agentic-dspark scenario-type: [agentic-coding] description: - - "Opt into custom all-reduce on MI355X SGLang MiniMax-M3.1-Flash AgentX (SGLANG_M3_ALLOW_CUSTOM_AR=1): MiniMax-M3 on ROCm otherwise disables it and runs the decode all-reduces on RCCL." - - "Keep the all-reduce full precision: ROCM_QUICK_REDUCE_QUANTIZATION=NONE and SGLANG_ENABLE_MINIMAX_M3_AMD_QUICK_REDUCE_INT4=0, so the opt-in does not turn on the image's INT8/INT4 quick reduce." + - "Opt MI355X SGLang MiniMax-M3.1-Flash AgentX into custom all-reduce (SGLANG_M3_ALLOW_CUSTOM_AR=1), which MiniMax-M3 on ROCm otherwise disables, at full precision (ROCM_QUICK_REDUCE_QUANTIZATION=NONE)." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4745