diff --git a/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/minimaxm31flash/vllm/mi355x-fp4/agentic.yaml b/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/minimaxm31flash/vllm/mi355x-fp4/agentic.yaml index 676c7bf633..fcb6a1a041 100644 --- a/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/minimaxm31flash/vllm/mi355x-fp4/agentic.yaml +++ b/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/minimaxm31flash/vllm/mi355x-fp4/agentic.yaml @@ -1,12 +1,3 @@ -# MiniMax-M3.1-Flash AgentX on MI355X with vLLM, following the MI355X TP4 -# recipe at https://recipes.vllm.ai/MiniMaxAI/MiniMax-M3.1-Flash and -# https://vllm.ai/blog/2026-10-23-minimax-m31-flash, with native DSpark. -# Checkpoint: AMD's Quark export amd/MiniMax-M3.1-Flash-Quark-MXFP4 (routed -# experts stored in OCP MXFP4, run as W4A4 on the AITER MoE; every other layer -# and the dspark/ draft as in MiniMaxAI/MiniMax-M3.1-Flash). Long prefill -# steps run with dual-batch overlap (DBO). Sequence-parallel prefill -# (VLLM_ROCM_MINIMAX_M3_SP_PREFILL) stays off: the image does not -# enable it on this checkpoint. base: schema: 2 name: minimaxm31flash-fp4-mi355x-vllm-agentic @@ -82,21 +73,12 @@ base: env: AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'vllm:' -# Native zip expansion creates one variant per concurrency. TP4 is the -# upstream MI355X layout; admission is 2x CONC. Throughput runs replace block -# rejection with the golden acceptance length. - -# c1-c8: DSpark 7 with the recipe's mono decode. A pure decode step of up to -# 16 tokens (2 requests x 8) runs each layer as one fused kernel; larger steps -# and steps with prefill run on the normal path, eager. AgentX tool-call gaps -# keep fewer requests decoding than CONC, so c4 and c8 still reach it. Mono -# needs FP8 KV and indexer caches in the shuffled KV layout and no piecewise -# graphs. No DBO here: 8192-token prefill steps on the V1 runner. zip_override_tp4_dspark7_mono: roles: agg: args: gpu-memory-utilization: 0.85 + # Mono decode requires FP8 KV and indexer caches in the shuffled layout. kv-cache-dtype: fp8 attention-config: '{"indexer_kv_dtype":"fp8"}' compilation-config: '{"cudagraph_mode":"FULL_DECODE_ONLY"}' @@ -115,13 +97,13 @@ zip_override_tp4_dspark7_mono: env: CONC: ['1', '2', '4', '8'] -# c16-c64: DSpark 3 (the blog's MI355X draft length from c8) on the NVFP4 KV -# cache with DBO. -zip_override_tp4_dspark3: +zip_override_tp4_dspark7: roles: agg: args: - speculative-config: '{"method":"dspark","num_speculative_tokens":3,"attention_backend":"TRITON_ATTN","kv_cache_dtype":"fp8","draft_sample_method":"probabilistic","rejection_sample_method":"block"}' + # Index reuse is incompatible with mono decode at lower concurrency. + hf-overrides: '{"text_config":{"use_index_cache":true,"index_topk_freq":2}}' + speculative-config: '{"method":"dspark","num_speculative_tokens":7,"attention_backend":"TRITON_ATTN","kv_cache_dtype":"fp8","draft_sample_method":"probabilistic","rejection_sample_method":"block"}' max-num-seqs: [32, 64, 128] benchmark: env: diff --git a/inferencex-e2e/configs/amd-master.yaml b/inferencex-e2e/configs/amd-master.yaml index 6bba904af0..8dbf47c01a 100644 --- a/inferencex-e2e/configs/amd-master.yaml +++ b/inferencex-e2e/configs/amd-master.yaml @@ -1535,12 +1535,6 @@ dsv41flash-fp4-mi355x-vllm-agentic-dspark: - { tp: 4, kv-offloading: none, spec-decoding: mtp, conc-list: [1, 2], srt-recipe: agentic.yaml } - { tp: 2, kv-offloading: none, spec-decoding: mtp, conc-list: [1, 2, 4, 8, 16, 32, 64], srt-recipe: agentic.yaml } -# MiniMax-M3.1-Flash AgentX on MI355X: day-zero vLLM ROCm image from -# https://vllm.ai/blog/2026-10-23-minimax-m31-flash, verified 2026-10-23. -# AMD's Quark MXFP4 export (routed experts in MXFP4, W4A4 on the AITER MoE) -# at TP4 with native DSpark: 7 drafts, mono decode and an FP8 KV cache at -# c1-c8; 3 drafts, an NVFP4 KV cache and DBO from c16. Throughput runs use the -# minimaxm31flash_dspark golden AL. minimaxm31flash-fp4-mi355x-vllm-agentic-dspark: image: vllm/vllm-openai-rocm:minimax-m31-flash@sha256:ae8681212aa5291d8c27f06e90016435e3fca144a68fd5c439231f6475f74569 model: amd/MiniMax-M3.1-Flash-Quark-MXFP4 diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 518bc9b1ad..b242c82ce4 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -11210,3 +11210,12 @@ - "Add TP2 points with DRAM KV offload, and adjust the memory settings on the DRAM KV offload points." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXX scenario-type: [agentic-coding] + +- config-keys: + - minimaxm31flash-fp4-mi355x-vllm-agentic-dspark + description: + - "Use 7 DSpark draft tokens across the MiniMax-M3.1-Flash MI355X vLLM AgentX TP4 concurrency sweep, with the existing golden acceptance curve." + - "Enable index cache reuse every two sparse-attention layers at C16-C64; C1-C8 retain mono decode, which does not support index reuse." + - "Keep FP8 KV and mono decode at C1-C8, NVFP4 KV and DBO at C16-C64, and the per-concurrency admission limits." + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4528 + scenario-type: [agentic-coding]