Skip to content

[AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D: Dynamo sidecars / [AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D:Dynamo sidecar - #4865

Closed
Juntian777 wants to merge 16 commits into
mainfrom
minimaxm31flash-gb200-eplb-hbm-pool
Closed

Juntian777 wants to merge 16 commits into
mainfrom
minimaxm31flash-gb200-eplb-hbm-pool

Conversation

@Juntian777

@Juntian777 Juntian777 commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Runs the MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D engines behind Dynamo sidecars as the GB300 DeepSeek-V4.1-Flash vLLM recipes do, and updates the points.

Recipe (disagg-mooncake.yaml)

  • Decode: at most 8 running requests per DP rank (max-num-seqs 64 -> 8; max-cudagraph-capture-size 512 -> 64, 8 requests x 8 DSpark tokens), at most 64 in-flight async KV loads, 4 new per step.
  • Dynamo: native vLLM engines (Rust frontend over gRPC) behind Dynamo sidecars that parse tools and reasoning (minimax_m3), TCP request plane and ZMQ event plane, so the NATS service is dropped; as the GB300 DeepSeek-V4.1-Flash vLLM recipes.
  • Frontend: KV router without KV events (prefill kv_events: false) or busy thresholds (active-*-threshold and DYN_ROUTER_QUEUE_THRESHOLD None), temperature 0. Prefill uses dynamo-two-tier-cost-fn worker selection with cache_threshold: 1.0, which sends each request to the least-loaded prefill worker; decode keeps the default selection with soft session affinity (router-session-affinity-ttl-secs: 14400, DYN_ROUTER_SESSION_AFFINITY_MODE: soft), so each session stays on one decode rank. This is the GB300 DeepSeek-V4.1-Flash vLLM split with prefill and decode swapped. The frontend and the AgentX client share the dedicated node; no client runs on a worker node.
  • Points: keep 2 DEP4 prefill + DEP8 decode at conc 260 and 3 DEP4 prefill + DEP16 decode at conc 340 and 380. Drop 4 DEP4 prefill + DEP16 decode at conc 352, 3 DEP4 prefill + DEP16 decode at conc 280, 320 and 360, 3 DEP4 prefill + DEP8 decode at conc 256 and 288, and 2 DEP4 prefill + DEP8 decode at conc 224 and 256.
中文

与 GB300 DeepSeek-V4.1-Flash vLLM 配方一样让 MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D 的引擎跑在 Dynamo sidecar 后面,并调整测点。

配方

  • 解码:每个 DP rank 最多同时运行 8 个请求(max-num-seqs 64 -> 8;max-cudagraph-capture-size 512 -> 64,即 8 个请求 x 8 个 DSpark token),在途异步 KV 加载最多 64 个,每步新增最多 4 个。
  • Dynamo:原生 vLLM 引擎(Rust 前端,gRPC)配 Dynamo sidecar,由 sidecar 解析工具调用和推理内容(minimax_m3);请求面用 TCP、事件面用 ZMQ,因此去掉 NATS 服务;与 GB300 DeepSeek-V4.1-Flash vLLM 配方一致。
  • 前端:不用 KV events(预填充 kv_events: false)、不设忙碌阈值(active-*-threshold 和 DYN_ROUTER_QUEUE_THRESHOLD 为 None)的 KV 路由,temperature 0。预填充用 dynamo-two-tier-cost-fn 选择器配 cache_threshold: 1.0,把每个请求发给负载最低的预填充 worker;解码保留默认选择并开启 soft 会话亲和(router-session-affinity-ttl-secs: 14400、DYN_ROUTER_SESSION_AFFINITY_MODE: soft),同一会话固定在同一个解码 rank 上。即 GB300 DeepSeek-V4.1-Flash vLLM 的做法把预填充和解码对调。前端和 AgentX 客户端共用独立节点,客户端不在 worker 节点上。
  • 测点:保留 2 个 DEP4 预填充 + DEP8 解码 conc 260,以及 3 个 DEP4 预填充 + DEP16 解码 conc 340、380。去掉 4 个 DEP4 预填充 + DEP16 解码 conc 352,3 个 DEP4 预填充 + DEP16 解码 conc 280、320、360,3 个 DEP4 预填充 + DEP8 解码 conc 256、288,以及 2 个 DEP4 预填充 + DEP8 解码 conc 224、256。
AI model disclosure

Prepared with Claude Opus 5.5 (claude-opus-5-5).

🤖 Generated with Claude Code

…BM pool, load-aware routing

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

Beyond the inline finding, I checked whether the old vllm-mooncake.sh is now orphaned and should have been deleted. It isn't: the GB300 disagg-mooncake.yaml recipe and infx/srt_slurm/workload.py still use it, so keeping it is correct.

Extended reasoning...

The other files that reference vllm-mooncake.sh are the GB300 MiniMax-M3.1-Flash recipe, workload.py and its tests. So switching only the GB200 recipe to the new image-check script leaves no unused setup script behind.

Juntian777 and others added 2 commits November 6, 2026 10:48
@Juntian777 Juntian777 added agentx AgentX benchmarks, recipes, and infrastructure full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures labels Nov 6, 2026
@Juntian777 Juntian777 changed the title [AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D: EPLB, auto-sized HBM pool, load-aware routing / [AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D:EPLB、自动大小的 HBM 池与负载感知路由 [AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D: new image, EPLB, Dynamo sidecars / [AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D:新镜像、EPLB 与 Dynamo sidecar Nov 6, 2026
@Juntian777
Juntian777 force-pushed the minimaxm31flash-gb200-eplb-hbm-pool branch from 0a8518a to 1f754bb Compare November 6, 2026 20:53
@Juntian777 Juntian777 changed the title [AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D: new image, EPLB, Dynamo sidecars / [AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D:新镜像、EPLB 与 Dynamo sidecar [AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D: Dynamo sidecars / [AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D:Dynamo sidecar Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Juntian777 and others added 2 commits November 7, 2026 02:03
Its Mooncake sets the device before the on-device replica copy touches CUDA,
so no rank leaves a 682 MiB context on GPU 0, which ran prefill DP0 out of
memory in run 42292531054.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review found no issues

No high-confidence issues detected in this change.

Juntian777 and others added 3 commits November 7, 2026 09:33
…rker, drop prefill EPLB

Restore 3 DEP4 prefill + DEP8 decode at conc 256, drop conc 224 and 280, and
move 2 DEP4 prefill + DEP8 decode to conc 260.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-eplb-hbm-pool

# Conflicts:
#	inferencex-e2e/perf-changelog.yaml
Juntian777 and others added 4 commits November 7, 2026 10:00
GB300 MiniMax-M3.1-Flash Dynamo vLLM P/D takes the GB200 recipe and the
cu134-arm64-1107-mdev image, keeping the GB300 Mooncake segment and CPU count.
Points: 3 DEP4 prefill + DEP8 decode at conc 400, 2 DEP4 prefill + DEP8
decode at conc 278, 3 DEP4 prefill + DEP16 decode at conc 360 and 400.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Juntian777 Juntian777 changed the title [AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D: Dynamo sidecars / [AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D:Dynamo sidecar [AgentX] MiniMax-M3.1-Flash GB200/GB300 Dynamo vLLM P/D: Dynamo sidecars, GB300 DEP4 prefill / [AgentX] MiniMax-M3.1-Flash GB200/GB300 Dynamo vLLM P/D:Dynamo sidecar,GB300 改用 DEP4 预填充 Nov 10, 2026
@Juntian777 Juntian777 closed this Nov 10, 2026
@Juntian777 Juntian777 changed the title [AgentX] MiniMax-M3.1-Flash GB200/GB300 Dynamo vLLM P/D: Dynamo sidecars, GB300 DEP4 prefill / [AgentX] MiniMax-M3.1-Flash GB200/GB300 Dynamo vLLM P/D:Dynamo sidecar,GB300 改用 DEP4 预填充 [AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D: Dynamo sidecars / [AgentX] MiniMax-M3.1-Flash GB200 Dynamo vLLM P/D:Dynamo sidecar Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agentx AgentX benchmarks, recipes, and infrastructure full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant