Skip to content

Refresh B200 MiniMax M3 TRT AgentX with stream interval 20 - #2686

Merged
functionstackx merged 3 commits into
mainfrom
agent/refresh-minimaxm3-b200-trt-stream-20
Aug 20, 2026
Merged

functionstackx merged 3 commits into
mainfrom
agent/refresh-minimaxm3-b200-trt-stream-20

Conversation

@cquil11

@cquil11 cquil11 commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Lower the MiniMax M3 B200 TensorRT-LLM AgentX stream interval from 100 to 20.
  • Refresh the affected AgentX sweep so client-side latency metrics use more frequent stream observations.

Why

A stream interval of 100 can collapse short generations into a single content update. That makes client-observed inter-token latency and interactivity unrepresentative for those requests. A lower interval provides enough intermediate observations to measure the client experience more faithfully.

Performance changelog

Refresh with lower stream interval to collect correct client metrics

Validation

  • bash -n benchmarks/single_node/agentic/minimaxm3_fp4_b200_trt_mtp.sh
  • git diff --check

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution! Please reach out to respective companies' CODEOWNER to fill in the latest PR_REVIEW_CHECKLIST.md before pinging core maintainer on Slack for review. In order for the signoff PR check bot to trigger, you must follow the PR_REVIEW_CHECKLIST.md template correctly, including the phrase As a PR reviewer and CODEOWNER, I have reviewed this and have.

For PR verification, add the full-sweep-fail-fast label (strongly recommended) to this PR — the benchmark sweep only runs on labeled PRs. Use full-sweep-enabled only if you need matrix jobs to keep running past a failure.

PR authors are responsible for ensuring that after merging, all GitHub Action jobs fully pass. A lot of the time, failures are just flakes and simply re-running the failed jobs will fix it. See GitHub's docs on re-running failed jobs


感谢你的贡献!请联系相应公司的 CODEOWNER 填写最新的 PR_REVIEW_CHECKLIST.md,然后再在 Slack 上联系核心维护者进行审阅。为了触发 signoff PR 检查机器人,你必须正确遵循 PR_REVIEW_CHECKLIST.md 模板,包括保留英文语句 As a PR reviewer and CODEOWNER, I have reviewed this and have。

如需进行 PR 验证,请为此 PR 添加 full-sweep-fail-fast 标签(强烈推荐)— 基准测试 sweep 仅在带有标签的 PR 上运行。仅当需要矩阵任务在失败后继续运行时才使用 full-sweep-enabled。

PR 作者有责任确保合并后所有 GitHub Action 任务完全通过。 很多时候失败只是偶发抖动(flake),重新运行失败的任务即可解决。参见 GitHub 关于重新运行失败任务的文档

@cquil11 cquil11 added the full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures label Aug 19, 2026
@cquil11
cquil11 marked this pull request as ready for review August 19, 2026 22:47
@cquil11
cquil11 requested a review from a team August 19, 2026 22:47
@claude

claude Bot commented Aug 19, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @cquil11's task in 1m 3s —— View job


Review

  • Gather context and read PR diff
  • Verify perf-changelog.yaml entry is appended at end of file
  • Verify config key exists in configs/nvidia-master.yaml
  • Check MTP benchmark script requirements

LGTM - no blocking issues found

The change is a single-value update (stream_interval: 100 → 20 in benchmarks/single_node/agentic/minimaxm3_fp4_b200_trt_mtp.sh:137). The perf-changelog.yaml entry is correctly appended to the end of the file, references the valid config key minimaxm3-fp4-b200-trtllm-agentic-mtp (present at configs/nvidia-master.yaml:7511), and links this PR. The MTP chat-template requirement is satisfied via --chat_template "$MODEL_PATH/chat_template.jinja", which implies --use-chat-template in benchmark_lib.sh.


@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.

LGTM — this is a single-line config change (stream_interval: 100 → 20) with a matching perf-changelog entry, and it is already merged into main matching this diff exactly.

Extended reasoning...

Overview

The PR changes one YAML key in minimaxm3_fp4_b200_trt_mtp.sh (stream_interval: 100 → 20) plus a corresponding perf-changelog.yaml entry referencing PR #2686. I confirmed against git log that this exact change is already present on main (commits 942386d and d377065), so the repository state matches the diff precisely.

Security risks

None. This is a purely internal benchmark tuning parameter for TensorRT-LLM's streaming response cadence — no auth, credential, or network-surface changes.

Level of scrutiny

Minimal scrutiny is warranted: this is a mechanical, single-value config tweak in a non-critical benchmarking script, well justified by the stated rationale (avoiding collapsed streaming updates for short generations skewing client-side latency metrics), and it follows the exact pattern of prior similar refresh PRs in this repo's history.

Other factors

No outstanding review comments beyond the automated CODEOWNER/labeling reminder, which is boilerplate and not a substantive concern. No bugs were reported by the bug hunting system.

@functionstackx

Copy link
Copy Markdown
Collaborator

/reuse-sweep-run

@functionstackx
functionstackx merged commit 108bf4f into main Aug 20, 2026
28 checks passed
@functionstackx
functionstackx deleted the agent/refresh-minimaxm3-b200-trt-stream-20 branch August 20, 2026 03:33
seungrokj added a commit that referenced this pull request Nov 9, 2026
…h the diff

- New MiniMax-M3.1-Flash AgentX config on MI355X with ATOM: image rocm/atom-dev:nightly_202611060646 (sha256:857297cc, ATOM 0.1.10.dev36+ge1295074f, AITER b0e8ce03d), serving amd/MiniMax-M3.1-Flash-Quark-MXFP4 as shipped.
- Points: TP4 at concurrency 1, 2, 4 and 8 GPU-resident, and at concurrency 16, 32 and 48 with the LMCache 0.5.6.dev139+gf22dec28 CPU tier (dram-utilization 0.58).
- Server settings: FP8 KV and index cache, 128-token blocks, prefix caching, gpu-memory-utilization 0.9, max-num-batched-tokens 32768, ATOM_FORCE_ATTN_TRITON=1, max-num-seqs at twice the concurrency with matching decode graphs, the prefill delayer on concurrency 1 to 16, 200 GiB of LMCache per rank, and the bundled seven-token DSpark draft at golden AL 4.04.
- Relevant ATOM changes in the image: ROCm/ATOM#2678 and the MiniMax-M3 LMCache offload layout (#2140, #2166); #2686 changes only mono decode, which is not enabled.
- Draft data type: the DSpark draft runs as shipped (MXFP8 linears, BF16 heads, FP8 draft KV); no accuracy-sensitive optimization is enabled.
- Drop the header comments that restated the config and override section (AGENTS.md comment rule); keep the line-level reasons. Comments only, no setting changes.

- 新增 MI355X 上 ATOM 的 MiniMax-M3.1-Flash AgentX 配置:镜像 rocm/atom-dev:nightly_202611060646(sha256:857297cc,ATOM 0.1.10.dev36+ge1295074f,AITER b0e8ce03d),按原样服务 amd/MiniMax-M3.1-Flash-Quark-MXFP4。
- 点位:TP4,并发 1、2、4、8 只用显存;并发 16、32、48 使用 LMCache 0.5.6.dev139+gf22dec28 CPU 层(dram-utilization 0.58)。
- 服务配置:FP8 KV 和 index cache,128-token block,开启 prefix caching,gpu-memory-utilization 0.9,max-num-batched-tokens 32768,ATOM_FORCE_ATTN_TRITON=1,max-num-seqs 为并发数 2 倍并配套 decode graph,并发 1 到 16 开启 prefill delayer,每个 rank 200 GiB LMCache,自带的 7-token DSpark draft,golden AL 4.04。
- 镜像中相关的 ATOM 变更:ROCm/ATOM#2678 以及 MiniMax-M3 LMCache offload layout(#2140、#2166);#2686 只改 mono decode,本配置未启用。
- Draft 数据类型:DSpark draft 按出厂精度运行(MXFP8 线性层、BF16 head、FP8 draft KV);未启用任何精度敏感优化。
- 删除重复描述配置和 override 段落的头部注释(AGENTS.md 注释规则),保留逐行说明。仅改注释,不改设置。

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants