Skip to content

Add MI300X GLM-5.2 FP8 AgentX MTP - #2581

Open
cquil11 wants to merge 8 commits into
mainfrom
agent/mi300x-glm52-fp8-agentx-mtp
Open

Add MI300X GLM-5.2 FP8 AgentX MTP#2581
cquil11 wants to merge 8 commits into
mainfrom
agent/mi300x-glm52-fp8-agentx-mtp

Conversation

@cquil11

@cquil11 cquil11 commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add native upstream SGLang EAGLE MTP serving for GLM-5.2 FP8 on one 8xMI300X node
  • run the verified resident Pareto matrix: TP8 c1/c3 plus TEP8 c3
  • collect and require SGLang metrics from the aggregate localhost endpoint

Search-space rationale

Complete c1-c8 TP8/TEP8 fast discovery found a sharp content-quality cliff after c3. TP c1 is the low-latency point; at c3, TP has slightly higher input throughput while TEP materially lowers TTFT, so both remain. TP c2 exhausted HBM in two identical official long-context warmups and is excluded. TEP c1-c2 are dominated, and c4+ are unstable or off-frontier. An isolated TEP c3 HiCache test also exhausted device resources, so the official matrix remains GPU-resident.

Validation

  • generated and schema-validated the exact three-entry matrix
  • bash -n benchmarks/single_node/agentic/glm5.2_fp8_mi300x_mtp.sh
  • uv run pytest utils/matrix_logic -q (231 passed)
  • python3 utils/validate_perf_changelog.py --base-ref origin/main --head-ref HEAD

@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 关于重新运行失败任务的文档

1 similar comment
@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 AMD agentx AgentX benchmarks, recipes, and infrastructure agentx-fast Run AgentX throughput with 1 warmup request per lane and a 20-minute profile; not reusable labels Aug 12, 2026

@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 — new AgentX discovery recipe for GLM-5.2 FP8 on MI300X, following the established recipe pattern.

Extended reasoning...

Overview

This PR adds a new single-node AgentX benchmark recipe: a launch script (glm5.2_fp8_mi300x_mtp.sh), a config entry in configs/amd-master.yaml, and a perf-changelog.yaml entry. It enables native SGLang EAGLE MTP for GLM-5.2 FP8 on 8xMI300X, sweeping TP8/EP1 and TP8/EP8 across concurrency 1-8 to find the HBM/Pareto knee, mirroring the already-merged MI325X sibling recipe (glm5.2_fp8_mi325x_mtp.sh) and the same-SKU qwen3.5_fp8_mi300x_mtp.sh recipe.

Security risks

None. This is a benchmark harness invoking a pinned SGLang server image with fixed CLI flags derived from env vars validated via check_env_vars/require_agentic_kv_offload_none; there is no user-controlled input, credential handling, or network-facing service beyond the existing benchmark infrastructure.

Level of scrutiny

Low-to-moderate. This is config/recipe code (new model+hardware benchmark entry), not a change to core inference, scheduling, or shared library logic. It follows an established, widely-replicated template almost line-for-line.

Other factors

I diffed the new script against its two closest siblings (glm5.2_fp8_mi325x_mtp.sh and qwen3.5_fp8_mi300x_mtp.sh) and confirmed all helper calls (write_command, stop_background_process_tree, require_agentic_kv_offload_none, AIPERF_SERVER_METRICS_URLS/AIPERF_REQUIRED_SERVER_METRIC_PREFIX) exist in benchmark_lib.sh and are used with the current, more recently adopted calling convention (used by several other recent recipes, e.g. Kimi-K3 MI355X). The configs/amd-master.yaml entry (16 = 2 x 8 conc-list entries) and perf-changelog.yaml description are consistent with the PR's stated matrix. The bug hunting system found no issues, and the sweep is gated by CI labels per the standard recipe-reminder bot comment.

@cquil11
cquil11 force-pushed the agent/mi300x-glm52-fp8-agentx-mtp branch 2 times, most recently from 34ad8ba to 1e877d6 Compare August 12, 2026 22:38
@cquil11 cquil11 changed the title Add MI300X GLM-5.2 FP8 AgentX MTP discovery Add MI300X GLM-5.2 FP8 AgentX MTP Aug 13, 2026
@cquil11 cquil11 added full-sweep-enabled and removed agentx-fast Run AgentX throughput with 1 warmup request per lane and a 20-minute profile; not reusable labels Aug 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

@cquil11
cquil11 force-pushed the agent/mi300x-glm52-fp8-agentx-mtp branch from f396e86 to 6e26538 Compare August 13, 2026 06:29
@github-actions

Copy link
Copy Markdown
Contributor

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 AMD full-sweep-enabled

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant