Skip to content
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
965b046
feat: MiniMax-M3 MXFP8 full sweep config for GB300
Oseltamivir Jun 13, 2026
e3fa89f
chore: update perf-changelog pr-link to #1735
Oseltamivir Jun 13, 2026
b915c89
Merge branch 'main' into feat/minimax-m3-gb300-sweep
Oseltamivir Jun 13, 2026
afc3f92
Update runner name in nvidia-master.yaml
Oseltamivir Jun 13, 2026
99a075b
fix: add sbatch_directives mem=0 + cpus-per-task=72 to M3 GB300 recipes
Oseltamivir Jun 13, 2026
26e2005
fix: run M3 GB300 workers cache-only (HF_HUB_OFFLINE=1) to avoid fetc…
Oseltamivir Jun 13, 2026
ce76bd7
Merge branch 'main' into feat/minimax-m3-gb300-sweep
Oseltamivir Jun 13, 2026
b660ddd
fix: re-pin utils/aiperf to live cjq/agentx-v0.3 tip (ff2b646c)
Oseltamivir Jun 13, 2026
7ea8b0b
Merge branch 'main' into feat/minimax-m3-gb300-sweep
Oseltamivir Jun 13, 2026
ef7c650
MiniMax-M3 GB300: disagg-only sweep + multi-node-NVLink KV transfer
Oseltamivir Jun 13, 2026
c94bf9f
Merge branch 'main' into feat/minimax-m3-gb300-sweep
Oseltamivir Jun 13, 2026
7fd8904
M3 GB300: add 8k1k disagg sweep; drop unschedulable collocated-1n
Oseltamivir Jun 13, 2026
5df0669
M3 GB300: add rack-saturating balanced-ratio TP-ep1 max-throughput di…
Oseltamivir Jun 14, 2026
88e99ce
Merge remote-tracking branch 'origin/main' into feat/minimax-m3-gb300…
Oseltamivir Jun 14, 2026
62fe18d
M3 GB300: replace dep16dec with 1P4D TP4-ep1; add prefill-heavy 10P7D…
Oseltamivir Jun 14, 2026
f4c6384
Merge branch 'main' into feat/minimax-m3-gb300-sweep
Oseltamivir Jun 14, 2026
1d71f49
[Klaud Cold]minimaxm3-fp8-mi300x-vllm-mtp: day-zero MiniMax-M3 EAGLE3…
functionstackx Jun 14, 2026
2bf5851
[AMD] perf: enable MiniMax M3 CUDA graphs on MI300X (#1750)
cquil11 Jun 14, 2026
fd922a6
[Klaud Cold] minimaxm3-fp8-mi300x-vllm-mtp: run with CUDA graphs (dro…
functionstackx Jun 14, 2026
805dc1c
M3 GB300: drop dominated configs, restore 1P1D full range
Oseltamivir Jun 14, 2026
a8d3eb5
Merge remote-tracking branch 'origin/main' into feat/minimax-m3-gb300…
Oseltamivir Jun 14, 2026
1be9cfe
M3 GB300 disagg: add DSV4-level decode optimizations
Oseltamivir Jun 14, 2026
e24318c
Switch GB300 M3 recipes to nightly-aarch64 + add Marlin MoE for TP-on…
Oseltamivir Jun 19, 2026
2a97ca2
Merge remote-tracking branch 'origin/main' into feat/minimax-m3-gb300…
Oseltamivir Jun 19, 2026
d4deb1e
fix: switch GB300 M3 runner from gb300-cw to gb300-nv
Oseltamivir Jun 19, 2026
0370cf4
fix: add minimaxm3-fp8 to gb300-nv launcher + switch recipes to alias…
Oseltamivir Jun 19, 2026
aa3df42
feat: redesign GB300 M3 recipes — DEP8 prefill, TEP8/TP8/DEP8 decode
Oseltamivir Jun 19, 2026
6bb84b0
feat: TEP4 prefill + B300-optimal decode for GB300 M3 disagg
Oseltamivir Jun 19, 2026
8e49bf3
Merge branch 'main' into feat/minimax-m3-gb300-sweep
Oseltamivir Jun 19, 2026
e5bc74e
feat: adapt NV B300 PR #1863 disagg configs for GB300 M3 sweep
Oseltamivir Jun 20, 2026
9707d9a
Merge branch 'main' into feat/minimax-m3-gb300-sweep
Oseltamivir Jun 20, 2026
cad3e01
fix: reduce GB300 DEP CUDA graph capture sizes
Oseltamivir Jun 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions .github/configs/nvidia-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12876,6 +12876,101 @@ minimaxm2.5-fp8-gb300-dynamo-vllm:
ep: 4
dp-attn: true

# MiniMax-M3 GB300 full sweep — safetensors-load-strategy removed from all
# GB300 recipes (host-memory OOM with prefetch on CW Grace Blackwell nodes).
# srun_options mem=0 required (DefMemPerCPU=4096 cgroup limit).
minimaxm3-fp8-gb300-dynamo-vllm:
image: vllm/vllm-openai:nightly-aarch64
model: MiniMaxAI/MiniMax-M3-MXFP8
model-prefix: minimaxm3
runner: gb300-cw
precision: fp8
framework: dynamo-vllm
multinode: true
disagg: true
scenarios:
fixed-seq-len:
# - isl: 1024
# osl: 1024
# search-space:
# # Disagg-only. Every recipe enables NixlConnector KV transfer over
# # multi-node NVLink (UCX_CUDA_IPC_ENABLE_MNNVL=y + --enable-cumem-allocator),
# # which moved the cross-node prefill->decode KV handoff off the RDMA/TCP
# # fallback (~268 MB/s) onto the NVL fabric (~1.4-1.7 GB/s): +17/+23/+49%
# # out tok/s/gpu @ conc 64/128/256 (1P1D). GB300-only win — B300's 8-GPU
# # IB islands cannot move KV over multi-node NVLink. GB300-cw is 4 GPU/node,
# # so prefill and decode each take whole 4-GPU nodes (no 8-GPU collocation).
# # 1P+1D TP4+EP4 split, 2 nodes (8 GPU). Best per-GPU efficiency:
# # peaks at ~1646 out/s/gpu @ conc 256 (1k1k). Covers latency-to-mid.
# - conc-list: [8, 16, 32, 64, 128, 256, 512]
# prefill:
# num-worker: 1
# tp: 4
# ep: 4
# dp-attn: false
# additional-settings:
# - "CONFIG_FILE=recipes/vllm/minimax-m3-gb300-fp8/1k1k/disagg-gb300-1p1d-tp4ep4-2n.yaml"
# decode:
# num-worker: 1
# tp: 4
# ep: 4
# dp-attn: false
#
# # Rack-saturating max throughput: 5 prefill + 12 decode, TP4 ep1 (17 nodes).
# # Balanced prefill:decode ratio (single prefill starved the decode pool)
# # + TP-only decode (Qwen3.5-A17B pattern; M3 wide-EP all-to-all was slower).
# - conc-list: [2048, 4096, 8192]
# prefill:
# num-worker: 5
# tp: 4
# ep: 1
# dp-attn: false
# additional-settings:
# - "CONFIG_FILE=recipes/vllm/minimax-m3-gb300-fp8/1k1k/disagg-gb300-5p12d-tp4ep1-17n.yaml"
# decode:
# num-worker: 12
# tp: 4
# ep: 1
# dp-attn: false

- isl: 8192
osl: 1024
search-space:
# 8k1k long context: prefill is heavier and KV is larger, so concurrency
# is lower than 1k1k. Same disagg shapes + multi-node-NVLink KV transfer.
# 1P+1D TP4+EP4 split, 2 nodes (8 GPU). Best per-GPU efficiency:
# peaks at ~1209 out/s/gpu @ conc 256 (8k1k). Covers latency-to-mid.
- conc-list: [8, 16, 32, 64, 128, 256]
prefill:
num-worker: 1
tp: 4
ep: 4
dp-attn: false
additional-settings:
- "CONFIG_FILE=recipes/vllm/minimax-m3-gb300-fp8/8k1k/disagg-gb300-1p1d-tp4ep4-2n.yaml"
decode:
num-worker: 1
tp: 4
ep: 4
dp-attn: false

# Prefill-heavy rack-saturating: 10P + 7D, TP4 ep1 (17 nodes).
# At 8k context, prefill is 8x heavier — 5P:12D showed 616-req prefill
# backlog. DSR1/DSV4 GB300 patterns use 6-10 prefill workers for 8k1k.
- conc-list: [1024, 2048, 4096]
prefill:
num-worker: 10
tp: 4
ep: 1
dp-attn: false
additional-settings:
- "CONFIG_FILE=recipes/vllm/minimax-m3-gb300-fp8/8k1k/disagg-gb300-10p7d-tp4ep1-17n.yaml"
decode:
num-worker: 7
tp: 4
ep: 1
dp-attn: false

qwen3.5-fp4-b200-trt:
image: nvcr.io#nvidia/tensorrt-llm/release:1.3.0rc18
model: nvidia/Qwen3.5-397B-A17B-NVFP4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/benchmark-multinode-tmpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ on:

env:
RANDOM_RANGE_RATIO: 0.8
# Day-zero models resolved via hf: ids download from the Hub inside the
# slurm job (srtctl pre-download + dynamo hub fetch). Anonymous requests
# get 429-rate-limited when several workers pull a 444 GB snapshot at
# once; sbatch/srun inherit this env so the token reaches the workers.
HF_TOKEN: ${{ secrets.INFERENCEX_OFFICIAL_RO_HF_TOKEN }}
EXP_NAME: ${{ inputs.exp-name }}
IMAGE: ${{ inputs.image }}
MODEL_PREFIX: ${{ inputs.model-prefix }}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
name: "minimax-m3-vllm-disagg-gb300-1p1d-tp4ep4-2n-1k1k"

# MiniMax-M3 disaggregated 1P+1D recipe for GB300, 2 nodes.
# 1 node prefill (4 GPUs, TP4+EP4) → NixlConnector → 1 node decode (4 GPUs, TP4+EP4).
# --block-size 128 is mandatory (MSA sparse/index cache alignment).
# safetensors-load-strategy omitted — prefetch OOMs on CW GB300 host memory.

model:
path: "hf:MiniMaxAI/MiniMax-M3-MXFP8"
container: "vllm/vllm-openai:nightly-aarch64"
precision: "fp8"

dynamo:
install: true
wheel: "1.2.0.dev20260526"

# CW gb300 has no per-GPU Slurm defaults: without sbatch-level mem=0 the
# job allocation is ntasks x DefMemPerCPU = 4 GB/node and worker cgroups
# OOM-kill during engine init; srun_options.mem=0 alone only grants a
# step what the job already holds. cpus-per-task=72 (one NUMA socket)
# keeps the gpu-less infra step (etcd/nats) off the 1-CPU default.
# Full rationale: vllm/deepseek-v4/agentic/disagg-gb300-1p6d-dep4-tp4-agentic.yaml.
sbatch_directives:
mem: "0"
cpus-per-task: "72"
srun_options:
mem: "0"

slurm:
time_limit: "8:00:00"

health_check:
max_attempts: 720
interval_seconds: 10

extra_mount:
- "__M3_HF_HOME__:__M3_HF_HOME__"

resources:
gpu_type: "gb300"
gpus_per_node: 4
prefill_nodes: 1
decode_nodes: 1
prefill_workers: 1
decode_workers: 1
gpus_per_prefill: 4
gpus_per_decode: 4

frontend:
type: dynamo
enable_multiple_frontends: false

backend:
type: vllm
connector: null

prefill_environment:
VLLM_ENGINE_READY_TIMEOUT_S: "3600"
VLLM_FLASHINFER_ALLREDUCE_BACKEND: "mnnvl"
HF_HOME: "__M3_HF_HOME__"
HF_HUB_OFFLINE: "1"
UCX_CUDA_IPC_ENABLE_MNNVL: "y"
NCCL_CUMEM_ENABLE: "1"
NCCL_MNNVL_ENABLE: "1"
NCCL_NVLS_ENABLE: "1"

decode_environment:
VLLM_ENGINE_READY_TIMEOUT_S: "3600"
VLLM_FLASHINFER_ALLREDUCE_BACKEND: "mnnvl"
HF_HOME: "__M3_HF_HOME__"
HF_HUB_OFFLINE: "1"
UCX_CUDA_IPC_ENABLE_MNNVL: "y"
NCCL_CUMEM_ENABLE: "1"
NCCL_MNNVL_ENABLE: "1"
NCCL_NVLS_ENABLE: "1"

vllm_config:
prefill:
kv-transfer-config: '{"kv_connector": "NixlConnector", "kv_role": "kv_both"}'
tensor-parallel-size: 4
pipeline-parallel-size: 1
enable-expert-parallel: true
enable-cumem-allocator: true
enforce-eager: true
max-model-len: 2304
max-num-seqs: 16
max-num-batched-tokens: 16384
kv-cache-dtype: fp8
block-size: 128
language-model-only: true
gpu-memory-utilization: 0.9
trust-remote-code: true
no-enable-prefix-caching: true
no-disable-hybrid-kv-cache-manager: true
enable-ep-weight-filter: true
stream-interval: 32

decode:
kv-transfer-config: '{"kv_connector": "NixlConnector", "kv_role": "kv_both"}'
tensor-parallel-size: 4
pipeline-parallel-size: 1
enable-expert-parallel: true
enable-cumem-allocator: true
max-model-len: 2304
max-num-seqs: 512
max-num-batched-tokens: 512
max-cudagraph-capture-size: 512
kv-cache-dtype: fp8
block-size: 128
language-model-only: true
gpu-memory-utilization: 0.9
compilation-config: '{"cudagraph_mode":"FULL_DECODE_ONLY","mode":0}'
trust-remote-code: true
no-enable-prefix-caching: true
no-disable-hybrid-kv-cache-manager: true
enable-ep-weight-filter: true
stream-interval: 50

benchmark:
type: "sa-bench"
isl: 1024
osl: 1024
concurrencies: "64x128x256x512"
Comment thread
cursor[bot] marked this conversation as resolved.
Outdated
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
name: "minimax-m3-vllm-disagg-gb300-5p12d-tp4ep1-1k1k"

# MiniMax-M3 GB300 max-throughput disagg, rack-saturating (17 nodes / 68 GPU).
# Lessons baked in (validated on gb300-cw): (1) TP-only decode (ep1, NO expert
# parallelism) per Qwen3.5-397B-A17B recipes — M3's MoE all-to-all overhead
# made wide-EP/DP-attention slower; (2) PREFILL is the bottleneck, not decode
# or KV transfer — a single prefill starved 64 decode GPUs (3967 reqs queued),
# so this balances 5 prefill : 12 decode TP4 workers (prefill backlog -> 0,
# +57% tok/s/gpu vs the 1-prefill ratio at conc 2048). NixlConnector KV
# transfer stays on multi-node NVLink (MNNVL + cumem). --block-size 128
# mandatory (MSA cache); text-only -> language-model-only.

model:
path: "hf:MiniMaxAI/MiniMax-M3-MXFP8"
container: "vllm/vllm-openai:nightly-aarch64"
precision: "fp8"
dynamo:
install: true
wheel: "1.2.0.dev20260526"
sbatch_directives:
mem: "0"
cpus-per-task: "72"
srun_options:
mem: "0"
slurm:
time_limit: "8:00:00"
health_check:
max_attempts: 720
interval_seconds: 10
extra_mount:
- "__M3_HF_HOME__:__M3_HF_HOME__"

resources:
gpu_type: "gb300"
gpus_per_node: 4
prefill_nodes: 5
decode_nodes: 12
prefill_workers: 5
decode_workers: 12
gpus_per_prefill: 4
gpus_per_decode: 4

frontend:
type: dynamo
enable_multiple_frontends: false

backend:
type: vllm
connector: null

prefill_environment:
VLLM_ENGINE_READY_TIMEOUT_S: "3600"
VLLM_FLASHINFER_ALLREDUCE_BACKEND: "mnnvl"
HF_HOME: "__M3_HF_HOME__"
HF_HUB_OFFLINE: "1"
UCX_CUDA_IPC_ENABLE_MNNVL: "y"
NCCL_CUMEM_ENABLE: "1"
NCCL_MNNVL_ENABLE: "1"
NCCL_NVLS_ENABLE: "1"

decode_environment:
VLLM_ENGINE_READY_TIMEOUT_S: "3600"
VLLM_FLASHINFER_ALLREDUCE_BACKEND: "mnnvl"
HF_HOME: "__M3_HF_HOME__"
HF_HUB_OFFLINE: "1"
UCX_CUDA_IPC_ENABLE_MNNVL: "y"
NCCL_CUMEM_ENABLE: "1"
NCCL_MNNVL_ENABLE: "1"
NCCL_NVLS_ENABLE: "1"

vllm_config:
prefill:
kv-transfer-config: '{"kv_connector": "NixlConnector", "kv_role": "kv_both"}'
tensor-parallel-size: 4
moe-backend: marlin
pipeline-parallel-size: 1
enable-cumem-allocator: true
enforce-eager: true
max-num-seqs: 16
max-num-batched-tokens: 16384
kv-cache-dtype: fp8
max-model-len: 2304
block-size: 128
language-model-only: true
gpu-memory-utilization: 0.9
trust-remote-code: true
no-enable-prefix-caching: true
no-disable-hybrid-kv-cache-manager: true
enable-ep-weight-filter: true
stream-interval: 32

decode:
kv-transfer-config: '{"kv_connector": "NixlConnector", "kv_role": "kv_both"}'
tensor-parallel-size: 4
moe-backend: marlin
pipeline-parallel-size: 1
enable-cumem-allocator: true
max-num-seqs: 512
max-num-batched-tokens: 512
max-cudagraph-capture-size: 512
kv-cache-dtype: fp8
max-model-len: 2304
block-size: 128
language-model-only: true
gpu-memory-utilization: 0.9
compilation-config: '{"cudagraph_mode":"FULL_DECODE_ONLY","mode":0}'
trust-remote-code: true
no-enable-prefix-caching: true
no-disable-hybrid-kv-cache-manager: true
enable-ep-weight-filter: true
stream-interval: 50

benchmark:
type: "sa-bench"
isl: 1024
osl: 1024
concurrencies: "2048x4096x8192"
Loading
Loading