Skip to content

Commit d311cab

Browse files
committed
feat(agentx): MiniMax-M3.1-Flash FP4 MI355X ATOM AgentX, Quark MXFP4 served as shipped / feat(agentx):新增 MiniMax-M3.1-Flash FP4 MI355X ATOM AgentX,Quark MXFP4 按原样服务
1 parent ce35bc9 commit d311cab

3 files changed

Lines changed: 168 additions & 0 deletions

File tree

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
base:
2+
schema: 2
3+
name: minimaxm31flash-fp4-mi355x-atom-agentic
4+
resources:
5+
gpu_type: mi355x
6+
gpus_per_node: 8
7+
frontend:
8+
type: atomesh
9+
container_image: rocm/atom-dev@sha256:857297cc5d6024ef9a5e9c5a4efa11b7d8bcde7ad69a7ef55a312f47a53860cb
10+
enable_multiple_frontends: false
11+
observability:
12+
enabled: false
13+
tachometer:
14+
enabled: false
15+
engine: atom
16+
roles:
17+
agg:
18+
nodes: 1
19+
workers: 1
20+
gpus: 4
21+
# The Quark MXFP4 export served as shipped: routed experts MXFP4,
22+
# attention, dense MLP and shared expert MXFP8, the dspark/ draft MXFP8.
23+
# No online quantization, no shared-expert fusion and no quick-reduce
24+
# quantization, so ATOM's mono decode (which needs per-token FP8 attention
25+
# and a fused shared expert) declines and every point runs the production
26+
# decode path.
27+
args:
28+
served-model-name: amd/MiniMax-M3.1-Flash-Quark-MXFP4
29+
trust-remote-code: true
30+
kv_cache_dtype: fp8
31+
index-cache-dtype: fp8
32+
block-size: 128
33+
gpu-memory-utilization: 0.9
34+
max-num-batched-tokens: 32768
35+
enable_prefix_caching: true
36+
# The checkpoint's bundled DSpark draft (dspark/, MXFP8 linears), seven
37+
# tokens. Throughput runs get the golden AL
38+
# (minimax-m3.1-flash__dspark__native__probabilistic-block thinking_on,
39+
# K7) from infx/srt_slurm/synthetic_acceptance.py; evals keep real
40+
# acceptance.
41+
method: dspark
42+
draft-model: /model/dspark
43+
num-speculative-tokens: 7
44+
env:
45+
PYTHONNOUSERSITE: '1'
46+
AITER_LOG_LEVEL: WARNING
47+
# Decode needs the Triton paged attention: with 16 query heads per KV head
48+
# at TP4, a verify step of more than one token breaks the ASM kernel's
49+
# qlen x gqa <= 16 bound.
50+
ATOM_FORCE_ATTN_TRITON: '1'
51+
benchmark:
52+
env:
53+
# Long AgentX stalls exceed AIPerf's 30 s TCP_USER_TIMEOUT default.
54+
AIPERF_HTTP_TCP_USER_TIMEOUT: '900000'
55+
AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'atom:'
56+
57+
# One variant per point. Admission is 2x CONC (at least 2); decode graphs cover
58+
# every batch size up to 8, then steps of 2 / 4 / 8 / 16 up to the admission.
59+
# C1-C16 run the TP-local prefill delayer: after a prefill, no new prefill is
60+
# admitted for 20000 scheduler passes while requests decode.
61+
62+
override_tp4_c1:
63+
roles:
64+
agg:
65+
args:
66+
max-num-seqs: 2
67+
cudagraph-capture-sizes: '[1,2]'
68+
env:
69+
ATOM_PREFILL_DECODE_INTERVAL: '20000'
70+
benchmark:
71+
env:
72+
CONC: '1'
73+
74+
override_tp4_c2:
75+
roles:
76+
agg:
77+
args:
78+
max-num-seqs: 4
79+
cudagraph-capture-sizes: '[1,2,3,4]'
80+
env:
81+
ATOM_PREFILL_DECODE_INTERVAL: '20000'
82+
benchmark:
83+
env:
84+
CONC: '2'
85+
86+
override_tp4_c4:
87+
roles:
88+
agg:
89+
args:
90+
max-num-seqs: 8
91+
cudagraph-capture-sizes: '[1,2,3,4,5,6,7,8]'
92+
env:
93+
ATOM_PREFILL_DECODE_INTERVAL: '20000'
94+
benchmark:
95+
env:
96+
CONC: '4'
97+
98+
override_tp4_c8:
99+
roles:
100+
agg:
101+
args:
102+
max-num-seqs: 16
103+
cudagraph-capture-sizes: '[1,2,3,4,5,6,7,8,10,12,14,16]'
104+
env:
105+
ATOM_PREFILL_DECODE_INTERVAL: '20000'
106+
benchmark:
107+
env:
108+
CONC: '8'
109+
110+
override_tp4_c16:
111+
roles:
112+
agg:
113+
args:
114+
max-num-seqs: 32
115+
cudagraph-capture-sizes: '[1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32]'
116+
env:
117+
ATOM_PREFILL_DECODE_INTERVAL: '20000'
118+
benchmark:
119+
env:
120+
CONC: '16'
121+
122+
override_tp4_c32:
123+
roles:
124+
agg:
125+
args:
126+
max-num-seqs: 64
127+
cudagraph-capture-sizes: '[1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64]'
128+
benchmark:
129+
env:
130+
CONC: '32'
131+
132+
override_tp4_c48:
133+
roles:
134+
agg:
135+
args:
136+
max-num-seqs: 96
137+
cudagraph-capture-sizes: '[1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96]'
138+
benchmark:
139+
env:
140+
CONC: '48'

‎inferencex-e2e/configs/amd-master.yaml‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,25 @@ minimaxm31flash-fp4-mi355x-sglang-agentic-dspark:
952952
# High-Throughput: TP4 + HiCache, 180 GB of host KV per rank (720 of 735 GB).
953953
- { tp: 4, spec-decoding: mtp, kv-offloading: dram, kv-offload-backend: { name: hicache }, conc-list: [48, 64], srt-recipe: agentic.yaml }
954954

955+
# MiniMax-M3.1-Flash AgentX on MI355X with ATOM: AMD's Quark MXFP4 export served as
956+
# shipped (no online quantization, no shared-expert fusion, no quick-reduce
957+
# quantization) at TP4 with the bundled seven-token DSpark draft, FP8 KV and FP8
958+
# index cache. C1-C16 run the prefill delayer. Throughput runs use the
959+
# minimax-m3.1-flash__dspark__native__probabilistic-block golden AL.
960+
minimaxm31flash-fp4-mi355x-atom-agentic-dspark:
961+
image: rocm/atom-dev:nightly_202611060646@sha256:857297cc5d6024ef9a5e9c5a4efa11b7d8bcde7ad69a7ef55a312f47a53860cb
962+
model: amd/MiniMax-M3.1-Flash-Quark-MXFP4
963+
model-prefix: minimaxm31flash
964+
runner: cluster:mi355x-amds
965+
precision: fp4
966+
framework: atom
967+
multinode: false
968+
srt-recipe-dir: minimaxm31flash/atom/mi355x-fp4-mtp
969+
scenarios:
970+
agentic-coding:
971+
- search-space:
972+
- { tp: 4, kv-offloading: none, spec-decoding: mtp, conc-list: [1, 2, 4, 8, 16, 32, 48], srt-recipe: agentic.yaml }
973+
955974
# DeepSeek-V4.1-Flash on ATOM, following the upstream TP2 / TP4 AgentX recipe.
956975
# Five-token DSpark uses golden AL 3.51 for throughput and real acceptance for eval.
957976
dsv41flash-fp4-mi355x-atom-agentic-dspark:

‎inferencex-e2e/perf-changelog.yaml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12224,3 +12224,12 @@
1222412224
- "GPU-resident KV at concurrency 2-16; HiCache with SGLang's default auto-sized host tier (~119 GiB, 127 GB per rank; ~1,020 GB per node) at concurrency 20, 24, 28 and 32."
1222512225
- "Prefill CUDA graphs are disabled after a CUDA misaligned-address fault during ~336k-token single-request replay at concurrency 1."
1222612226
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4719
12227+
12228+
- config-keys:
12229+
- minimaxm31flash-fp4-mi355x-atom-agentic-dspark
12230+
scenario-type:
12231+
- agentic-coding
12232+
description:
12233+
- "Add MiniMax-M3.1-Flash AgentX on MI355X with ATOM (rocm/atom-dev:nightly_202611060646, ATOM e1295074f): AMD's Quark MXFP4 export served as shipped, with no online quantization, no shared-expert fusion and no quick-reduce quantization, at TP4 with FP8 KV and index cache, prefix caching and the bundled seven-token DSpark draft at its shipped MXFP8 precision."
12234+
- "Concurrency 1, 2, 4, 8 and 16 run the prefill delayer (ATOM_PREFILL_DECODE_INTERVAL=20000); 32 and 48 run without it. Admission is twice the concurrency; acceptance comes from the minimax-m3.1-flash golden AL curve (4.04 at seven draft tokens)."
12235+
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4860

0 commit comments

Comments
 (0)