Repository navigation
[AMD][AgentX] Add GLM-5.3 FP8 MI355X SGLang MTP AgentX recipe with the AMD monokernel / [AMD][AgentX] 新增 GLM-5.3 FP8 MI355X SGLang MTP AgentX 配方(AMD monokernel) - #4829
Closed
jhinpan wants to merge 5 commits into
Conversation
…nokernel Add glm5.3-fp8-mi355x-sglang-agentic-mtp: zai-org/GLM-5.3 FP8 on one MI355X node at TP8 EP1 with EAGLE MTP 3-1-4, an FP8 E4M3 KV cache, and --enable-amd-monokernel at concurrency 1, 2, 4, and 10, as in section 3.6 of the SGLang GLM-5.3 cookbook (sgl-project/sglang#46662). 新增 glm5.3-fp8-mi355x-sglang-agentic-mtp:在一台 MI355X 上以 TP8 EP1 运行 zai-org/GLM-5.3 FP8,使用 EAGLE MTP 3-1-4、FP8 E4M3 KV cache 和 --enable-amd-monokernel,并发 1、2、4、10,与 SGLang GLM-5.3 cookbook 第 3.6 节(sgl-project/sglang#46662)一致。
将 perf-changelog 条目的 PR 链接指向 SemiAnalysisAI#4829。
Pin lmsysorg/sglang-rocm:v0.5.23-rocm720-mi35x-20261105 by digest. It bundles SGLang 1305b1830a and sgl-amd-mono e52803f9d2, which contains sgl-project/sgl-amd-mono#85 and SemiAnalysisAI#86. 按 digest 固定 lmsysorg/sglang-rocm:v0.5.23-rocm720-mi35x-20261105。它打包了 SGLang 1305b1830a 和 sgl-amd-mono e52803f9d2,后者包含 sgl-project/sgl-amd-mono#85 和 SemiAnalysisAI#86。
Resolve the perf-changelog.yaml conflict with infx.workflows.prepare_perf_changelog_merge resolve-conflict: main stays byte for byte, and this PR's one block moves to the physical end. 使用 infx.workflows.prepare_perf_changelog_merge resolve-conflict 解决 perf-changelog.yaml 的冲突:main 的内容逐字节保留,本 PR 的一个条目移到 文件末尾。
jhinpan
marked this pull request as ready for review
November 6, 2026 08:01
jhinpan
requested review from
1am9trash,
billishyahao,
chunfangamd,
seungrokj and
zijiecode
as code owners
November 6, 2026 08:01
…-sglang-monokernel # Conflicts: # inferencex-e2e/perf-changelog.yaml
5 of 11 tasks
jhinpan
added a commit
that referenced
this pull request
Nov 6, 2026
Collaborator
Author
|
Superseded by #4875, which carries the same commits from a same-repository branch so that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
InferenceX has no GLM-5.3 FP8 SGLang config on MI355X. The MI355X GLM-5.3 entries are the TileRT prefill/decode-disaggregated one (FP8, concurrency 1) and the MXFP4 SGLang one in #4593. The GLM-5.3 monokernel of sgl-amd-mono needs the FP8 block-128 checkpoint, so it cannot run in the MXFP4 config.
This adds
glm5.3-fp8-mi355x-sglang-agentic-mtp:zai-org/GLM-5.3FP8 on one MI355X node at TP8 EP1, with EAGLE MTP 3-1-4, an FP8 E4M3 KV cache, and--enable-amd-monokernelat concurrency 1, 2, 4, and 10. The recipe is the command of "MI355X FP8 deployment with the AMD monokernel" in the SGLang GLM-5.3 cookbook (sgl-project/sglang#46662). That section follows the MXFP4 recipe of #4593 (amd/GLM-5.3-Quark-MXFP4-AttnFP8); the monokernel accepts only the FP8 block-128 checkpoint. The image islmsysorg/sglang-rocm:v0.5.23-rocm720-mi35x-20261105(sha256:33efb7dc35be), the first MI35x nightly whose SGLang pins sgl-amd-monoe52803f9d2(sgl-project/sglang#45202), which contains sgl-project/sgl-amd-mono#85 and #86.sgl-project/sglang#46662 merged on 2026-11-06 (
c117e31f9f); it documents--enable-amd-monokerneland the 3-1-4 draft for this MI355X FP8 command. The branch is kept in sync with main, andinfx generaterenders the same four recipes as the local 3600-s runs. The sweep follows.Local 3600-s A/B on MI355X (not an InferenceX result): the pinned image as shipped, this recipe as bound by
infx generateon this branch, against the same recipe without--enable-amd-monokernel; golden accept length 2.94 in both arms.Validation details
aece39cb, agentx-harness 1.0.12); a 3600-s window per point; a fresh server per point and arm, with the arm order swapped per point.infx.bench evalwith real acceptance, all 1319 questions: 0.9735 → 0.9765 at concurrency 2 (exact McNemar p = 0.42) and 0.9757 → 0.9750 at concurrency 10 (p = 1.00), strict-match, without → with the monokernel.monokernel glm53_hip on gfx950: widths [4, 8] builtand the NextNglm53_nextn_hiplaunches in the monokernel arm; the realized accept length is 2.95 in every agentic run.SGLANG_NVFP4_CKPT_FP8_NEXTN_MOEis not set. The draft is the checkpoint's embedded NextN layer (model.layers.78): FP8 E4M3 routed experts, shared experts, and attention projections with block scales, and BF16eh_proj, router gate, and norms, as stored; the image loads it with its default handling.517040fbagainstca929b7dmounted over the 20261103 image): matched ITL −9.6 %, −10.6 %, −10.4 %, and −1.7 % at concurrency 1, 2, 4, and 10.AI model disclosure
PR checklist and change type
Type of Change
Checklist
python -m infx.matrix.changed --base origin/mainlists affected config keys, I have appended one new entry covering them to the physical end ofinferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entriesinferencex-e2e/perf-changelog.yamlentry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs):full-sweep-fail-fast(recommended),full-sweep-enabled, ornon-canary-full-sweep-enabled. Optional modifiersall-evals,evals-only, andagentx-fastrequire a primary label; the last two block reuse while applied.OWNER/MEMBER/COLLABORATOR) has commented/use <run_id>(or the legacy/reuse-sweep-run) on this PR. Do this only once there is a final full sweep that is all green with evals passing, since after this comment the primary sweep label will no longer automatically kick off new sweeps. Remove and re-add the primary sweep label to force a new sweep.中文
InferenceX 目前没有 MI355X 上的 GLM-5.3 FP8 SGLang 配置。MI355X 上现有的 GLM-5.3 条目是 TileRT 的 PD 分离配置(FP8,并发 1)和 #4593 的 MXFP4 SGLang 配置。sgl-amd-mono 的 GLM-5.3 monokernel 需要 FP8 block-128 权重,所以不能放进 MXFP4 配置。
本 PR 新增
glm5.3-fp8-mi355x-sglang-agentic-mtp:在一台 MI355X 上以 TP8 EP1 运行zai-org/GLM-5.3FP8,使用 EAGLE MTP 3-1-4、FP8 E4M3 KV cache 和--enable-amd-monokernel,并发 1、2、4、10。配方与 SGLang GLM-5.3 cookbook 中 "MI355X FP8 deployment with the AMD monokernel" 一节(sgl-project/sglang#46662)的命令一致。该节位于 #4593 的 MXFP4 配方(amd/GLM-5.3-Quark-MXFP4-AttnFP8)之后;monokernel 只接受 FP8 block-128 checkpoint。镜像为lmsysorg/sglang-rocm:v0.5.23-rocm720-mi35x-20261105(sha256:33efb7dc35be),这是第一个 SGLang pin 了 sgl-amd-monoe52803f9d2(sgl-project/sglang#45202)的 MI35x nightly,其中包含 sgl-project/sgl-amd-mono#85 和 #86。sgl-project/sglang#46662 已于 2026-11-06 合入(
c117e31f9f);该 PR 记录了这条 MI355X FP8 命令中的--enable-amd-monokernel和 3-1-4 draft。分支与 main 保持同步,infx generate生成的四个配方与本地 3600 s 测试所用的完全一致。sweep 随后进行。上方表格是 MI355X 上的本地 3600 秒 A/B(不是 InferenceX 结果):所固定的镜像按原样运行,对比本分支
infx generate绑定的配方与去掉--enable-amd-monokernel的同一配方,两臂 golden 接受长度均为 2.94。噪声、配对请求、覆盖率、GSM8K 质量和路由证明见 Validation details。AI 模型说明:Claude Opus 5.5(Cursor 运行环境给出的名称;无法确认确切的 API 标识),负责编写配方、master config 条目和 changelog,运行本地 A/B 与 GSM8K 评测,并起草本 PR。