Commit 1376407
[AMD] MiniMax-M3 FP4/FP8 MI355X ATOMESH (disagg): (0701) refactor config (#2000)
* [AMD] refactor server_atom.sh and models_atom.yaml for model-specific ATOM config; add minimaxm3-fp4-mi355x-atom-disagg
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* [AMD] add perf-changelog entry for minimaxm3-fp4-mi355x-atom-disagg and server_atom.sh refactor (PR #1940)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* [AMD] add env dump in server_atom.sh and minimaxm3-fp4-mi355x-atom-disagg launch script
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* [AMD] fix server_atom.sh YAML loading: safe source, EP string compare, SPEC_DECODING guard
- Replace fragile eval "$(python3 -c "...")" with heredoc + source tempfile to
avoid nested quote escaping issues that caused MODEL_ENVS to be empty at runtime
- Fix PREFILL/DECODE_ENABLE_EP comparison from numeric -gt 1 to string = "true"
to match the "true"/"false" values set by launch scripts
- Fix SPEC_DECODING guard from hardcoded "mtp" to any non-none/non-empty value
so EAGLE3 and future methods also activate SPEC_ARGS from models_atom.yaml
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* [AMD] cap minimaxm3-fp8-mi355x-atom-disagg conc to 256; fix missing newline in models_atom.yaml
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* [AMD] update amd-master.yaml: image bumps, search space tweaks for MiniMax-M3 ATOM recipes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* [AMD] restore minimaxm3-fp4/fp8-mi355x-atom recipes; bump all ATOM images to 20260623
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* [AMD] clean up minimaxm3-fp4-mi355x-atom search space; revert fp8-disagg image to 20260622
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* [AMD] add amd-master.yaml config
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [AMD] remove amd-master.yaml config
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [AMD] refactor ATOM disagg config: split per-role flags, move model defaults to YAML
- Split MODEL_TP_DP_FLAGS and MODEL_EP_DP_FLAGS into prefill/decode variants
- Move BLOCK_SIZE, MEM_FRAC_STATIC, MAX_MODEL_LEN, MAX_NUM_SEQS,
MAX_NUM_BATCHED_TOKENS from launch scripts into models_atom.yaml
- Add hf_overrides and online_quant_config (with DPA variant) to YAML
- Remove SPEC_DECODING gate; use MODEL_MTP_FLAGS + DECODE_MTP_SIZE > 0
- Add minimaxm3-fp4/fp8-mi355x-atom-disagg-mtp recipes to amd-master.yaml
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [AMD] fix YAML server-tuning defaults never taking effect
Shell defaults (BLOCK_SIZE=16, MEM_FRAC_STATIC=0.85) were set before
YAML loading, so the YAML values (128, 0.8) were never substituted.
Use three-tier fallback: env var > YAML > shell default.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [AMD] add perf-changelog entry for MiniMax-M3 ATOM disagg refactor (PR #2000)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [AMD] remove hf_overrides from models_atom.yaml and server_atom.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [AMD] fix server-tuning: YAML values must override job.slurm Docker defaults
job.slurm injects BLOCK_SIZE=16, MEM_FRAC_STATIC=0.85, MAX_NUM_SEQS=256
as Docker env vars with hardcoded defaults. The previous env-first fallback
(env > YAML > default) meant YAML values were always shadowed. Flip all
five server-tuning vars to YAML > env > default so models_atom.yaml
entries (e.g. block_size=128 for MiniMax-M3-MXFP4) actually take effect.
Also add set -x before YAML parsing for CI debuggability.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [AMD] fix MiniMax-M3 ATOM disagg: TBO prefill flag, cudagraph step-8, add spec-decoding keys
- models_atom.yaml: change MiniMax-M3-MXFP4 prefill_tp_dp_flags from
"--enable-tbo" to "--enable-tbo prefill" to match Slurm reference
- server_atom.sh: switch decode cudagraph-capture-sizes from step-4 (65
entries) to step-8 (33 entries) to match Slurm reference
- amd-master.yaml: add missing spec-decoding: "mtp" to all MiniMax M3
fp8/fp4 atom-disagg-mtp search-space entries
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [AMD] raise ulimit, drop MTP recipes, fix changelog for MiniMax-M3 ATOM disagg
- Raise file descriptor limit (ulimit -n 65536) in server_atom.sh to
prevent lm-eval "Too many open files" crashes with high num_concurrent
- Remove minimaxm3-fp4/fp8-mi355x-atom-disagg-mtp recipes from master config
- Update perf-changelog to reflect removed MTP entries
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Chun Fang <chun.fang@amd.com>1 parent 01af32e commit 1376407
7 files changed
Lines changed: 225 additions & 172 deletions
File tree
- benchmarks/multi_node
- amd_utils
- configs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 35 | | |
43 | 36 | | |
44 | 37 | | |
45 | 38 | | |
46 | 39 | | |
47 | 40 | | |
48 | 41 | | |
49 | | - | |
50 | | - | |
| 42 | + | |
| 43 | + | |
51 | 44 | | |
52 | 45 | | |
| 46 | + | |
| 47 | + | |
53 | 48 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 49 | + | |
| 50 | + | |
64 | 51 | | |
65 | 52 | | |
66 | 53 | | |
67 | | - | |
| 54 | + | |
| 55 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
39 | 28 | | |
40 | 29 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
47 | 40 | | |
48 | 41 | | |
49 | | - | |
50 | | - | |
51 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
0 commit comments