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) - #4875
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 链接指向 #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 #86. 按 digest 固定 lmsysorg/sglang-rocm:v0.5.23-rocm720-mi35x-20261105。它打包了 SGLang 1305b1830a 和 sgl-amd-mono e52803f9d2,后者包含 sgl-project/sgl-amd-mono#85 和 #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 的一个条目移到 文件末尾。
…-sglang-monokernel # Conflicts: # inferencex-e2e/perf-changelog.yaml
…-sglang-monokernel # Conflicts: # inferencex-e2e/perf-changelog.yaml
functionstackx
left a comment
There was a problem hiding this comment.
Thanks for the contribution! 1 quick question is if the monokernel is running in fp8 weights or r y'all online quantization it to fp4?
Sorry if this is dumb question as this might be the first time I seen an sglang fp8 mega/monokernel lol
The monokernel uses the FP8 weights of
If this answers your question, please review again. |
|
/use 42308722810 |
|
@edwingao28 staged run 42308722810. This run remains available across future |
|
/reuse-sweep-run 42308722810 |
刷新当前 PR 的复用检查,不启动新的 GPU sweep。
|
Ingest report — ✅ Results ingested into the Ingest workflow · Merge Ingest run · Benchmark source run
benchmarkFiles 5, rawBenchmarkRows 8, coveredByPerJobFiles 4, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 5276, gpuMetricSamplesNew 148272, powerPublicationPoints 4, changelogEntriesWritten 1 Counts cover only this run. Rows: benchmark_results, eval_results, agentic rows linked to a trace, gpu_metrics series. This comment updates if the ingest is rerun. 中文Ingest 报告 — ✅ 结果已写入 上表仅统计本次运行写入的数据,各行单位依次为 benchmark_results 行、eval_results 行、已关联 trace 的 agentic 行和 gpu_metrics 序列。重新运行 ingest 时本评论会原地更新。 |
Summary
InferenceX has no GLM-5.3 FP8 SGLang config on MI355X. The only MI355X GLM-5.3 entry is the TileRT prefill/decode-disaggregated one (FP8, concurrency 1); the open #4593 proposes an MXFP4 SGLang one. 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.infx generateon this branch renders the same four recipes as the local 3600-s runs. It replaces #4829, which came from a fork:run-sweep.ymlruns only on a same-repository branch. 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 averages 2.94 (median 2.95) in every agentic run, against the golden 2.94.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。本分支上infx generate生成的四个配方与本地 3600 s 测试所用的完全一致。本 PR 替代来自 fork 的 #4829:run-sweep.yml只在同仓库分支上运行。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。