Repository navigation
Add MiniMax-M3 GB300 Dynamo TensorRT-LLM AgentX recipes / 新增 MiniMax-M3 GB300 Dynamo TensorRT-LLM AgentX 配方 - #4383
RohitNagraj wants to merge 11 commits into
Conversation
新增 MiniMax-M3 GB300 Dynamo TensorRT-LLM AgentX 聚合式与分离式配方。
|
Thanks for the contribution!
中文感谢你的贡献!
|
|
View unofficial run (performance): https://inferencex.semianalysis.com/inference?unofficialRun=40396940628 View unofficial run (accuracy): https://inferencex.semianalysis.com/evaluation?unofficialRun=40396940628 |
There was a problem hiding this comment.
Code review found no new issues
No new issues were found in this update; 1 finding from earlier reviews is still open above.
Still open from earlier reviews (1):
- 🔴
inferencex-e2e/configs/nvidia-master.yaml:10036—Published GB300 MiniMax-M3 AgentX results will report about half the host DRAM the TP2 servers actually reserve for KV…
If you have decided not to act on one of these findings, resolve its thread (a reply alone leaves it open) and the next review stops counting it. To review this commit again now, use Re-run on its "Claude Code Review" check.
更新 MiniMax-M3 GB300 AgentX 服务配置、主机 KV 缓存及评测节点回归覆盖。
同步 main,并将 MiniMax-M3 GB300 配方变更记录保留在文件末尾。
更新 MiniMax-M3 GB300 TensorRT-LLM 镜像,新增双 TP4 解码 worker 的并发 72 配置,并同步 main 以解决变更记录冲突。
将 MiniMax-M3 GB300 配方的 OpenTelemetry 就绪等待时间延长至 600 秒,保留采集器并在其就绪后启动 worker。
将 MiniMax-M3 配方的服务名称和客户端请求名称设为 /model,与 Dynamo sidecar 对挂载模型的注册名称保持一致。
同步 main 并通过变更记录合并工具解决冲突,保留已完成 sweep 的提交历史和 MiniMax-M3 配方。
同步 main 并解决变更记录冲突;九份已验证配方及矩阵元数据保持不变,保留已成功完成的完整 sweep 提交。
|
Reuse selection withdrawn: this PR now changes the serving mode and engine metrics configuration, so it requires a fresh PR sweep. 中文撤回此前的复用选择:此 PR 现已修改服务运行模式和引擎指标配置,需要重新运行 PR 扫描。 |
|
@RohitNagraj staged run 40143047798. This run remains available across future |
Use regular Dynamo TRT-LLM workers, enable engine metric publication on every role, and require KV-cache metrics. Synchronize the changelog with main. 使用常规 Dynamo TRT-LLM worker,为所有角色启用引擎指标发布,并要求采集 KV 缓存指标。同步 main 分支的变更日志。
|
/use 40396940628 |
|
@RohitNagraj staged run 40396940628. This run remains available across future |
|
As a PR reviewer and CODEOWNER, I have reviewed this and have:
Additional detail section:
Signed: |
kedarpotdar-nv
left a comment
There was a problem hiding this comment.
As a PR reviewer and CODEOWNER, I have reviewed this and have:
- Verified that as of the moment of typing this, this is the latest version of PR_REVIEW_CHECKLIST.md
- Verified that the general code quality meets the InferenceX standard and does not make the code quality any worse.
- Verified that this PR has passed PR validation. Please link to GitHub Action workflow that shows this.
- Verified that this PR passes evals. Please link to GitHub Action workflow that shows this.
- Verified that speculative decoding PRs uses chat templates to align the AL distribution to real world
- Verified that every draft model and draft head is served as it ships: the draft that ships with the served checkpoint, at its stored precision, through the pinned upstream image's default handling, with the shipped and effective draft precision recorded in the additional detail section. No submission-side quantization, dtype override, checkpoint substitution, or patch may lower draft precision below that default, regardless of eval results or AL. Explicitly verified that
SGLANG_NVFP4_CKPT_FP8_NEXTN_MOEis not enabled in the effective recipe, including inherited settings; enabling it is prohibited going forward, and historical runs do not grant an exception. See Draft-model precision for what counts as the default and the MLPerf comparison. - For agentic workloads: verified that speculative-decoding configs (EAGLE / MTP / draft models) run with simulated synthetic acceptance, with the acceptance-length value taken from the committed golden AL curve in infx/golden_al_distribution/ for that model, thinking mode, and draft length. A submission may choose any supported draft length, but it may not substitute a different acceptance target.
- Verified against the current MODELS.md that this PR does not submit a deprecated model, scenario, or model-scenario combination.
- Verified that the model architecture isn't changed with benchmark hacks like using --hf-overrides to skipping indexer for every x layers on models that don't natively support this. As a general rule, we won't accept optimizations that reduces the number of model architecture FLOPs. Anything that makes that same computation run faster is fair game; target/verifier FLOPs at lower precisions is fine, given that the config passes private evals, but this does not permit lowering draft-model or draft-head precision below what ships. As an general north star princple, we should only use optimizations which is used in production by customers that care about accuracy
- For affected Dynamo TRT-LLM benchmarks, verified that iteration/KV-cache metrics are collected and published under the pinned Dynamo implementation and effective engine settings. Resolve the installed Dynamo version separately from the container tag; use supported metrics controls without requiring KV events. Record the version and configuration evidence in the additional detail section. See verifier Check 17. N/A for unaffected serving paths or frameworks without these Dynamo settings.
- If an company claims that they support vLLM/SGLang as first class LLM inference engines on their hardware, I have verified that the respective vLLM submission made using upstream https://hub.docker.com/u/vllm docker repo, upstream SGLang https://hub.docker.com/u/lmsysorg docker repo. The only exceptions are for new hardware, such as MI455X UALoE72, Vera Rubin NVL72, Rubin NVL8, etc., and for new model architectures where there is an actual reason why vLLM/SGLang does not fundamentally support them yet as supported by vLLM/SGLang community maintainers
- If an company claims that they support vLLM/SGLang as first class upstream in-tree LLM inference engines on their hardware, I have have verified that the respective vLLM/SGLang submission has been made before additional frameworks (TRT-LLM, ATOM, etc.). The only exceptions are for new hardware, such as MI455X UALoE72, Vera Rubin NVL72, Rubin NVL8, etc., and for new model architectures where there is an actual reason why vLLM/SGLang does not fundamentally support them yet.
- Verified that every affected vLLM/SGLang production serving configuration in this PR, including Dynamo deployments, is documented in the official vLLM recipes and/or the SGLang cookbook, for both single-node and multi-node aggregated and disaggregated serving. The documentation covers production-useful flags, environment variables, and launch commands (including prefill, decode, and router/frontend commands for disaggregation); InferenceX-only benchmark/harness settings are excluded with reasoning in the additional detail section:
- I linked the corresponding upstream PR in the vLLM recipe repo or SGLang cookbook source repo and verified that it is MERGED before this InferenceX PR merges. An opened, draft, or closed-without-merge upstream PR does not satisfy this requirement. If the matching recipe was already published, I linked the published recipe/cookbook page in the additional detail section below.
- Verified that this PR does not patch the inference engine or serving stack — the pinned image must run as shipped. This covers .patch files / git apply / patch, inline patches embedded in benchmark scripts (e.g. a python3/sed heredoc that rewrites installed engine sources before serving), in-place edits of site-packages, monkey-patching, overwriting container files, and installing forked/rebuilt engine wheels on top of the pinned image. The only exception is a patch covered by a filled-out waiver at docs/waiver/
<PR_NUMBER>.md— named after the PR that introduces the patch and filed in that same PR, stating what is patched, why the unmodified upstream image cannot run this benchmark, the upstream PR/issue link, and the removal plan — which I have linked below in the additional detail section. - If this PR uses
append-only: true, verified that it only adds generated points or recipe variants inside a selected existing config/scenario and existing same-image visual curve: every previously generated point remains present with the same recipe, no prior point is removed or rerun, and every benchmark-affecting change in the complete diff can affect only the corresponding newly appended points (never an existing point), regardless of which file contains it. - If any of the above criteria cannot reasonably be satisfied, I have provided additional reasoning below.
- Reported measured throughput/E2EL Pareto counts and evidence per affected curve (≥5 points strongly recommended). Below 5 or unverifiable: tag a core maintainer for review; recorded admin bypass required before merge. N/A if no curves are affected. Details.
Additional detail section:
-
Validation (sweep on head
50b821ee): authorized/use 40396940628byRohitNagraj. In https://github.com/SemiAnalysisAI/InferenceX/actions/runs/40396940628 (attempt 2), all 9multi-node agentic /jobs (agg TP2 c20, c25, c30, c35, c45; disagg 1P(TP2/EP2/DPA) × 2D TP4 c72, 3D TP4 c54, 5D TP4 c50, 2D TP8 c12) and all 17multi-node agentic eval /jobs succeeded. -
Evals (
nvcr.io/nvidia/tensorrt-llm/release:1.4.0a1.dev202610231815):minimax_m3_fullscored 0.99 on 8 points and 0.98 at agg c30. gsm8k em_strict: agg c20 0.9545, c25 0.9462, c30 0.9553, c35 0.9538, c45 0.9515; disagg c50 0.9538, c54 0.9477, c72 0.9447. c25 is now within 0.009 of its c30 sibling, inside the 2σ threshold of about 0.017. -
Upstream recipe: N/A.
dynamo-trtis not a vLLM/SGLang deployment. -
Image: NGC TensorRT-LLM release tag; Dynamo
1.6.0.dev20261016. For engine-first ordering, the open-sourceminimaxm3-fp4-gb300-dynamo-vllm-agentic-mtp-disaggentry already exists oncluster:gb300-nv. -
MODELS.md: MiniMax-M3 agentic coding is active;
Inferact/MiniMax-M3-EAGLE3-GQAis the agreed (PoR) draft. -
Golden AL:
minimaxm3_eagle3_gqa.yamlthinking_on, 3 draft tokens = 2.78. Job logs show the injectedTLLM_SPEC_DECODE_FORCE_NUM_ACCEPTED_TOKENS=1.78(AL − 1) on agg, prefill and decode. Eval-only jobs do not set it. -
Draft precision:
Inferact/MiniMax-M3-EAGLE3-GQAships BF16 (torch_dtype: bfloat16, noquantization_config). There is no draft dtype or quantization override.SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE: N/A (TRT-LLM). -
Architecture: no model overrides. The MSA sparse-attention settings match the merged GB200 recipe.
-
Patches:
post-eval-public-endpoint-node.patchbackports merged NVIDIA/srt-slurm#615 (eval node placement in srtctl). It is harness-only, not the serving stack. append-only: not used. -
Dynamo metrics: the sidecar is removed. Every role runs
python3 -m dynamo.trtllm --publish-metrics(publish_metrics: true,return_perf_metrics: true).AIPERF_REQUIRED_SERVER_METRIC_PREFIX: trtllm_kv_cache_utilizationis enforced, and logs show "Validated required AIPerf server metrics prefix 'trtllm_kv_cache_utilization'". Every result hasserver_metrics.adapter=trtllmwithkv_cache.gpu_usage_pctpopulated from the prefill and decode workers'/metricsendpoints. -
Host DRAM:
dram-utilizationequals ranks ×host_cache_size(agg 2 × 210 GiB → 0.934957; prefill 2 × 224 GiB → 0.997287). -
Pareto (run 40396940628, total tok/s/GPU vs P90 E2EL, gb300 dynamo-trt fp4 curve): 7/9 frontier points.
Point P90 E2EL Total tok/s/GPU disagg 2D TP8 c12 8.72 s 4,015 disagg 3D TP4 c54 13.97 s 27,501 agg c20 18.11 s 64,986 agg c25 18.84 s 80,346 agg c30 20.65 s 88,608 agg c35 25.83 s 100,740 agg c45 33.31 s 110,542 Disagg c50 and c72 are dominated.
-
Nit:
override_tp2_mtp5_c25runs 3 draft tokens like the other points; consider renaming it.
Signed: kedarpotdar-nv
✅✅✅ Verdict: PASS ✅✅✅Passed and not applicable checks✅ Check 0 (CODEOWNER): PASS — ✅ Check 1 (In-PR sweep): PASS — Run 40396940628 (attempt 2) ran on in-PR ✅ Check 2 (Evals pass): PASS — Evals ran on ➖ Check 3 (Upstream recipe): N/A — Both entries are ✅ Check 4 (Reuse command): PASS — ✅ Check 5 (Checklist template): PASS — All 18 items of the current PR_REVIEW_CHECKLIST.md are present and checked. ✅ Check 6 (Upstream image / ordering): PASS — ✅ Check 7 (Deprecated models): PASS — MODELS.md lists ✅ Check 8 (Architecture hacks): PASS — There are no ✅ Check 9 (Chat template): PASS — Both recipes set ✅ Check 10 (Engine patches): PASS — ✅ Check 11 (Golden AL): PASS — Logs show ➖ Check 12 (Append-only): N/A — No new changelog entry sets ✅ Check 13 (Draft precision): PASS — ✅ Check 14 (Pareto coverage): PASS — Curve gb300 dynamo-trt fp4 agentic, P90 E2EL vs total tok/s/GPU, from the ✅ Check 15 (PR description): PASS — The body's topology, concurrencies, batch sizes, three draft tokens, 210/224 GiB host caches, image and Dynamo pins, and metrics settings match the pinned recipes. ➖ Check 16 (NVIDIA overview): N/A — No vLLM/SGLang pair is affected; both entries are Dynamo TRT-LLM. ✅ Check 17 (Metrics publication): PASS — ✅ Check 18 (Recipe/image/sweep consistency): PASS — Both selectors generate without errors. Master TP/EP/DPA, worker counts and node math match the recipes. The NGC image resolves, and the Dynamo wheel is pinned. The changelog now records the NVFP4 KV cache (FP8 indexer KV) on all roles, and no points were removed or re-tuned. Assessed commit: |
…LM changelog entry [skip-sweep] Signed-off-by: Ankur-singh <ankusingh@nvidia.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@RohitNagraj the verifier rejected the sign-off on |
合并 main,并保留 MiniMax-M3 GB300 AgentX 的 NVFP4 KV 缓存说明。
functionstackx
left a comment
There was a problem hiding this comment.
left some comments in slack
|
Closing this due to FP4 KV. |
Add aggregated and disaggregated GB300 MiniMax-M3 NVFP4 AgentX configurations using Dynamo + TensorRT-LLM, EAGLE3-GQA, regular Dynamo wrapper serving, and native host-DRAM KV caching.
1.4.0a1.dev202610231815and Dynamo1.6.0.dev20261016; retain chat-template use and iteration statistics for every worker./modelconsistently as the worker and benchmark API model name.upbbackend. Enablepublish_metrics: true, return performance metrics on every worker role, and requiretrtllm_kv_cache_utilizationduring collection.modeling_v2MiniMax-M3 support.AI model disclosure
Claude Fable 5.1 (
claude-fable-5-1) contributed recipe drafting. GPT-6 via Codex prepared and updated the configurations, local checks, and PR text; its exact runtime model/version identifier could not be verified. No delegated agents were used.中文
新增 GB300 MiniMax-M3 NVFP4 的聚合式与预填充/解码分离式 AgentX 配置,使用 Dynamo + TensorRT-LLM、EAGLE3-GQA、常规 Dynamo 封装式部署及原生主机 DRAM KV 缓存。
1.4.0a1.dev202610231815与 Dynamo1.6.0.dev20261016;保留聊天模板,并为每个 worker 启用迭代统计。/model。upb后端。设置publish_metrics: true,为所有 worker 角色启用性能指标返回,并在采集时要求存在trtllm_kv_cache_utilization指标。modeling_v2支持。AI 模型使用说明:Claude Fable 5.1(
claude-fable-5-1)参与配方起草;GPT-6 通过 Codex 完成配置整理与更新、本地检查及 PR 文案,其运行时的精确模型/版本标识无法确认。未使用子代理。