Repository navigation
[AMD][AgentX] Add GLM-5.3 MXFP4 MI355X SGLang MTP AgentX recipe / [AMD][AgentX] 新增 GLM-5.3 MXFP4 MI355X SGLang MTP AgentX 配方 - #4593
Conversation
…-mi355x-sglang-agentx # Conflicts: # inferencex-e2e/perf-changelog.yaml
| # GLM-5.3 MXFP4 on MI355X via SGLang with MTP K=5, same arms as | ||
| # glm5.2-fp4-mi355x-sglang-agentic-mtp. Loading this Quark checkpoint needs | ||
| # sgl-project/sglang#40776, which v0.5.22 predates, hence the dated nightly. |
There was a problem hiding this comment.
🟡 nit (optional): Maintainers get two new header comments that break the repo's mandatory comment rules. The block above glm5.3-fp4-mi355x-sglang-agentic-mtp describes the config and says where its arms came from ("same arms as glm5.2-..."). The recipe's override-section header restates the overrides and claims a cap of 64 that no override reaches, since the highest is 32. Fix: drop both headers. Keep only a one-line note on the image: line saying the nightly is needed for sgl-project/sglang#40776. Same pattern at 2 sites (configs/amd-master.yaml:1626-1628, glm5.3/sglang/mi355x-fp4-mtp/agentic.yaml:51-52). [also at: inferencex-e2e/configs/amd-master.yaml:1626 - nit: Maintainers get descriptive header comments that the mandatory AGENTS.md comment rules forbid. The master-config header opens with "GLM-5.3 MXFP4 on MI355X via SGLang with MTP K=5, same arms as glm5.2-fp4-mi355x-sglang-agentic-mtp", which describes the config and where it came from.; +1 more]
Why this was flagged
AGENTS.md:56-58 (Comments, mandatory, every file) bans header comments that describe a config, recipe, override or section. It also bans history comments about where code came from, and comments that restate the code. The new amd-master.yaml:1626-1628 block opens with "GLM-5.3 MXFP4 on MI355X via SGLang with MTP K=5, same arms as glm5.2-fp4-mi355x-sglang-agentic-mtp", which is a config description plus a provenance note. The recipe at agentic.yaml:51-52 has a section header that restates the overrides below it. Its "up to 64" is also wrong for this recipe, because the largest cuda-graph-max-bs-decode is 32 (override_tp4_c16_hicache). The base branch has neither comment. The only part worth keeping is the reason for the dated nightly image (sgl-project/sglang#40776), and it belongs as a short line on image:.
Verification: The trigger is always present, since both comments are added by this diff. Site 1, inferencex-e2e/configs/amd-master.yaml lines 1626-1628, describes the config and where it came from. Site 2, glm5.3/sglang/mi355x-fp4-mtp/agentic.yaml lines 51-52, restates the override values and mentions a cap of 64 that no override reaches, since the highest is 32. Nothing breaks at runtime.
There was a problem hiding this comment.
Fixed in 83ca0bd: dropped both comments and kept a one-line note above image: on why the dated nightly is needed.
|
@chunfangamd The sweep is green: run 40621344245 passed all 9 points and the GSM8K eval ( The only conflict with main is the tail of |
…-mi355x-sglang-agentx # Conflicts: # inferencex-e2e/infx/golden_al_distribution/glm5.3_mtp.yaml # inferencex-e2e/perf-changelog.yaml
…-mi355x-sglang-agentx # Conflicts: # inferencex-e2e/configs/amd-master.yaml # inferencex-e2e/infx/golden_al_distribution/README.md # inferencex-e2e/infx/golden_al_distribution/README_zh.md # inferencex-e2e/infx/golden_al_distribution/glm5.3_mtp.yaml # inferencex-e2e/perf-changelog.yaml
…-mi355x-sglang-agentx # Conflicts: # inferencex-e2e/perf-changelog.yaml
…P4 MI355X SGLang AgentX
…-mi355x-sglang-agentx # Conflicts: # inferencex-e2e/perf-changelog.yaml
|
@chunfangamd The sweep on the current head ( On the dashboard axes (performance), every point is on the MI355X (SGLang) frontier. At equal tok/$, P90 interactivity is 3% (c8) to 56% (c16) above the current line, and c20 (55.4 tok/s/user, 58.5M tok/$) extends the line past the online c24 point. Changes since your last look: the TP8 arm and c4 are removed, HiCache runs write-back with Could you review and post |
…-mi355x-sglang-agentx Co-authored-by: Cursor <[email protected]> # Conflicts: # inferencex-e2e/perf-changelog.yaml
… MXFP4 MI355X SGLang AgentX The curve stopped at P90 interactivity 120 tok/s/user (TP4/EP4 c8). Restore TP8/EP1 at concurrency 1, 2 and 4 and TP4/EP4 write-back HiCache at concurrency 4 so it reaches the low-latency end, as the GLM-5.2 MXFP4 config does. TP8/EP1 c1/c2/c4 and TP4/EP4 c4 already passed on this image in run 40621344245, and write-back c4 passed as the canary of run 43336237720. The TP4/EP4 c8-c20 points are unchanged. Co-authored-by: Cursor <[email protected]>
…-5.3 MXFP4 MI355X SGLang AgentX entry List TP4/EP4 write-back HiCache at concurrency 4-20 and TP8/EP1 at concurrency 1, 2 and 4, state the 2x admission and decode CUDA graph rule for both arms, and say the Python TreeCore pin applies to every rank. Co-authored-by: Cursor <[email protected]>
|
Hi @xiaofei-zheng , could you create the corresponding SGLang cookbook PR? |
|
@chunfangamd The cookbook PR is up: sgl-project/sglang#50678. It updates the GLM-5.3 MI355X AgentX section from sgl-project/sglang#46825 to the current recipe (write-back HiCache, breakable prefill and the TreeCore variable on TP4/EP4, concurrency 4-20; the TP8/EP1 command is unchanged). I also updated the description for run 43742834521 and your restored TP8/EP1 arm and concurrency 4. I will ping you once the cookbook PR merges. |
|
/use 43742834521 |
|
@xiaofei-zheng staged run 43742834521. This run remains available across future |
|
@chunfangamd The SGLang cookbook PR sgl-project/sglang#50678 is merged, and run 43742834521 is pinned with |
| # Ranks pick the Rust or Python TreeCore on their own, and the two fold the write-back | ||
| # reclaim digest differently, so mixed ranks fail the HiCache sync assertion | ||
| # (sgl-project/sglang#48112); pin every rank to the Python core. | ||
| SGLANG_UNIFIED_RADIX_TREE_CORE_BACKEND: 'python' |
There was a problem hiding this comment.
In the image the PR uses, by default, SGLANG_UNIFIED_RADIX_TREE_CORE_BACKEND = EnvStr("rust"). @xiaofei-zheng, could you please update the SGLang cookbook and explicitly mention SGLANG_UNIFIED_RADIX_TREE_CORE_BACKEND: 'python'?
There was a problem hiding this comment.
@chunfangamd The SGLang cookbook already sets SGLANG_UNIFIED_RADIX_TREE_CORE_BACKEND=python: sgl-project/sglang#50678 (merged) adds it to the MI355X AgentX TreeCore note and the TP4·EP4 launch command (GLM-5.3.mdx L141-L147, published page). The TP8·EP1 command leaves it out because TP8/EP1 runs without HiCache, so the write-back reclaim check that the variable guards never runs there.
chunfangamd
left a comment
There was a problem hiding this comment.
As a PR reviewer and CODEOWNER, I have reviewed this and have:
Checklist items
- 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. https://github.com/SemiAnalysisAI/InferenceX/actions/runs/43742834521
- Verified that this PR passes evals. Please link to GitHub Action workflow that shows this. https://github.com/SemiAnalysisAI/InferenceX/actions/runs/43742834521
- 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
- Verified that new models disable integer all-reduce, with SGLang ROCm explicitly setting
ROCM_QUICK_REDUCE_QUANTIZATION=NONE. Existing models are grandfathered per MODELS.md. - 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
- For official InferenceX (non-preview), verified that established models use upstream engine images built from
master(or the equivalent default development branch), with new models transitioning within a reasonable time after release. See MODELS.md. - 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:
- Scope and validation: Reviewed head
6d82eff5against the current checklist and MODELS.md on 2026-11-16. Lint and Tests passed. Sweep 43742834521 passed all 10 benchmark points and its real eval; the later main merge does not change this recipe or its execution paths. Authorized sweep reuse is recorded. - Draft precision: The shipped checkpoint's native NextN uses MXFP4 routed/shared experts, FP8 attention/indexer projections, BF16 exclusions and FP32 router correction bias. Verified checkpoint headers and the pinned Quark loader preserve this scheme: expert W4A4 and dynamic FP8 linear inputs, with no submission-side draft requantization.
SGLANG_NVFP4_CKPT_FP8_NEXTN_MOEis absent and defaults false. Target and draft both use FP8 E4M3 KV. - Serving and policy: The digest-pinned official
lmsysorg/sglang-rocm:v0.5.22-rocm10-mi35x-20261025image uses upstream-main SGLangca4bedfffae1fb248bbb55aaf9177c37f95d7d19, without submission-side engine patches. GLM-5.3 AgentX is active; native index sharing is unchanged. Image-default INT8 all-reduce is allowed by the current GLM-5.3 grandfathering policy. Dynamo metrics and append-only checks are N/A. - AgentX: Chat-completions serving applies the checkpoint template. Performance runs use the committed GLM-5.3 NVFP4/native MTP golden curve at thinking-on K5, AL 3.48; accuracy eval uses real acceptance. Effective stream interval is 1.
- Cookbook—outstanding: SGLang #50678 is merged. Once the cookbook get updated with SGLANG_UNIFIED_RADIX_TREE_CORE_BACKEND: 'python'. It is OK.
- Pareto: Measured results yield 7/10 frontier points for the combined MI355X/SGLang FP4 AgentX curve, using total token throughput/GPU versus P90 E2EL: TP8/c4 and TP4/c8,10,12,14,16,20. No historical or interpolated points counted.
Signed: @chunfangamd
✅✅✅ Verdict: PASS ✅✅✅Passed and not applicable checks✅ Check 0 (CODEOWNER): PASS — @chunfangamd is a listed owner of ✅ Check 1 (Sweep on in-PR commit): PASS — In-PR commit ✅ Check 2 (Evals): PASS — GSM8K ✅ Check 3 (Upstream recipe): PASS — sgl-project/sglang#50678 is MERGED (2026-11-16T04:26:17Z). The GLM-5.3 cookbook MI355X section on ✅ Check 4 (Reuse command): PASS — ✅ Check 5 (Checklist template): PASS — All 21 current template items are present. The only unchecked item, the recipe-coverage parent, is explained in the additional detail section, and its sub-item is checked. ✅ Check 6 (Upstream image/ordering/provenance): PASS — ✅ Check 7 (Deprecated models): PASS — MODELS.md lists ✅ Check 8 (No arch hacks / integer all-reduce): PASS — No ✅ Check 9 (Chat template): PASS — AgentX trace replay goes through the chat-completions server path with the ✅ Check 10 (No engine patches): PASS — No patches, setup scripts, source edits or wheel installs; the recipe passes only args and env. ✅ Check 11 (Golden AL): PASS — The run's submission JSON shows ➖ Check 12 (Append-only): N/A — The new changelog entry does not set ✅ Check 13 (Draft precision): PASS — The draft is the embedded NextN layer 78 of ✅ Check 14 (Pareto coverage): PASS — Curve glm5.3 / agentic / MI355X-SGLang / fp4 / run 43742834521 / P90 E2EL has 7/10 frontier points: TP8 c4 and TP4 c8, 10, 12, 14, 16, 20. Inputs are ✅ Check 15 (PR description): PASS — The title, body and changelog match the pinned recipe: image and digest, TP4/EP4 c4–20 with write-back HiCache 180, TP8/EP1 c1–4, TreeCore pin, EAGLE K5, AL 3.48, INT8 default, and the eval score. ➖ Check 16 (NVIDIA overview): N/A — Only MI355X (AMD) configurations are affected. ➖ Check 17 (Metrics publication): N/A — This is a direct SGLang deployment; no Dynamo TRT-LLM path is affected. ✅ Check 18 (Recipe consistency): PASS — Master TP/EP and concurrency lists match the recipe overrides (tp4 c4–20, tp8 c1/2/4), and all 10 points generate. The digest-pinned image resolves. No orchestration or dispatch changes. No points removed, no retuned regressions. Stream interval is unset on every point, so it uses the SGLang default of 1 (60 or less). Assessed commit: |
edwingao28
left a comment
There was a problem hiding this comment.
Approving from Core. Reviewed head 6d82eff5 against run 43742834521 (attempt 1, tested SHA 92f3f1fb, part of this PR).
- 10/10 points passed: TP4/EP4 HiCache at concurrency 4–20 and TP8/EP1 at 1–4. The generator's recipe fingerprints at the main-merged tree match all 10. The recipe and master entry are byte-identical at
92f3f1fb,6d82eff5and after merging main. - Server logs show write-back HiCache at 180 GB/rank, breakable prefill only on TP4, the Python TreeCore on every rank, stream interval 1, and
SGLANG_SIMULATE_ACC_LEN=3.48(goldenglm-5.3-nvfp4, thinking on, K5). Measured mean accept length is 3.48. - GSM8K
em_strict0.9742 ± 0.0044 (n=1319) at TP4/EP4 c20 with real acceptance, above the 0.90 threshold. - The only conflict is the tail of
perf-changelog.yaml.merge_with_reusekeeps main's bytes and re-appends this PR's block, so the tested recipe does not change. - The new
glm5.3/mi355x/sglang/fp4curve hides no published point.
For the record: this checkpoint quantizes its NextN layer (MXFP4 W4A4 experts, FP8 attention). nvidia/GLM-5.3-NVFP4, the source of the 3.48 curve, excludes model.layers.78*, and amd/GLM-5.2-MXFP4 excludes its NextN experts. Synthetic AL does not show any acceptance cost. I'm treating it as served as shipped under the current draft-precision rule.
Follow-ups (non-blocking):
- Drop
SGLANG_UNIFIED_RADIX_TREE_CORE_BACKEND=pythonafter sgl-project/sglang#48112 merges and the image moves past it. - Add a
collectionblock to the GLM-5.3 golden curve so the agentic AL gate runs (separate PR). - The CODEOWNER checklist's cookbook item is satisfied by merged sgl-project/sglang#50678 (TreeCore variable included).
中文
以 Core 身份批准。已对照 run 43742834521(attempt 1,测试 SHA 92f3f1fb,属于本 PR)审阅 head 6d82eff5。
- 10 个测试点全部通过(TP4/EP4 HiCache 并发 4–20,TP8/EP1 并发 1–4);合并 main 后的 generator 指纹与 run 中 10 个点一致;recipe 与 master 条目在
92f3f1fb、6d82eff5及合并 main 后逐字节相同。 - server 日志确认:write-back HiCache 每 rank 180 GB,仅 TP4 使用 breakable prefill,所有 rank 使用 Python TreeCore,stream interval 为 1,
SGLANG_SIMULATE_ACC_LEN=3.48(goldenglm-5.3-nvfp4,thinking on,K5),实测平均 accept len 3.48。 - GSM8K
em_strict0.9742 ± 0.0044(n=1319,TP4/EP4 并发 20,真实 acceptance),高于 0.90 阈值。 - 唯一冲突在
perf-changelog.yaml末尾;merge_with_reuse保留 main 的字节并把本 PR 的条目追加到末尾,测试过的 recipe 不变。 - 新曲线
glm5.3/mi355x/sglang/fp4不会隐藏任何已发布的点。
备注:该 checkpoint 对 NextN 层做了量化(专家 MXFP4 W4A4,attention FP8)。golden 曲线 3.48 来自 nvidia/GLM-5.3-NVFP4,它排除了 model.layers.78*;amd/GLM-5.2-MXFP4 也排除了 NextN 专家。合成 AL 看不出 acceptance 上的代价。按现行 draft 精度规则,我视其为按发布形态使用。
后续事项(不阻塞):
- sgl-project/sglang#48112 合并且镜像更新后,删除
SGLANG_UNIFIED_RADIX_TREE_CORE_BACKEND=python。 - 为 GLM-5.3 golden 曲线补充
collection块,使 agentic AL gate 能运行(单独 PR)。 - CODEOWNER 清单中的 cookbook 项已由已合并的 sgl-project/sglang#50678 满足(含 TreeCore 变量)。
同步 main 并保留已验证的 sweep 提交及 changelog 历史。
|
/use 43742834521 |
|
@edwingao28 staged run 43742834521. This run remains available across future |
|
Ingest report — ✅ Results ingested into the Ingest workflow · Merge Ingest run · Benchmark source run
benchmarkFiles 11, rawBenchmarkRows 20, coveredByPerJobFiles 10, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 1319, gpuMetricSamplesNew 240332, powerPublicationPoints 10, 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
MI355X has GLM-5.3 SGLang AgentX only at FP8 on TP8 (#4875); from concurrency 8 up, the MI355X (SGLang) frontier is still the GLM-5.2 MXFP4 TP4/EP4 HiCache and DCP4 arms.
This adds
glm5.3-fp4-mi355x-sglang-agentic-mtp:amd/GLM-5.3-Quark-MXFP4-AttnFP8onlmsysorg/sglang-rocm:v0.5.22-rocm10-mi35x-20261025, pinned by digest. Loading this checkpoint needs [Fix] [AMD] Quark: fix Quark block-FP8 loading in DeepSeek loader sgl-project/sglang#40776, which the v0.5.22 release does not contain.--cuda-graph-backend-prefill breakable;--max-running-requestsand--cuda-graph-max-bs-decodeare twice the concurrency. Write-back copies pages to the host tier only on eviction, so the tier adds to device KV capacity instead of mirroring it. Against write-through on the same image (run 43234373287), P90 interactivity rises 7% at concurrency 14, 26% at 16 and 1% to 4% at 8 to 12.gemm_afp4wfp4on this image returns non-finite rows for the TP8 densedown_projshape.SGLANG_UNIFIED_RADIX_TREE_CORE_BACKEND=python: each rank otherwise picks the Rust or Python TreeCore on its own, and the two fold the write-back reclaim digest differently, so a mixed worker fails the HiCache sync assertion ([Fix] mem_cache: Agree on one TreeCore backend across ranks sharing a prefix tree sgl-project/sglang#48112).--speculative-num-steps 5; AgentX forces that depth's golden AL, 3.48, fromglm-5.3-nvfp4__mtp__native__default-default, with noinfxchange.ROCM_QUICK_REDUCE_QUANTIZATION=INT8); GLM-5.3 is grandfathered under the MODELS.md all-reduce policy.SGLang cookbook: sgl-project/sglang#50678 (merged) updates the MI355X AgentX section from sgl-project/sglang#46825 to these settings.
PR sweep run 43742834521 passed every point and the GSM8K eval (
em_strict0.9742 ± 0.0044 at TP4/EP4 concurrency 20). Dashboard axes (performance):TP4/EP4 concurrency 8 to 20 are on the pooled MI355X (SGLang) Pareto frontier: concurrency 8 to 16 sit 7% to 57% above the online line in P90 interactivity at equal tokens per dollar, and concurrency 20 dominates GLM-5.2 MXFP4 DCP4 concurrency 24, the online curve's highest-throughput point. TP4/EP4 concurrency 4 and the TP8/EP1 points are below the online line, which the GLM-5.2 MXFP4 TP4/EP4 and TP8/EP1 points and the GLM-5.3 FP8 TP8 points (#4875) set there.
Validation details
quant=quarkin the server log): MXFP4 routed and shared experts, FP8 per-block attention and indexerwq_b/wk, BF16eh_proj, router gate and indexerweights_proj.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./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.中文
概要
MI355X 上的 GLM-5.3 SGLang AgentX 目前只有 TP8 的 FP8 配置(#4875);从并发 8 起,MI355X(SGLang)的前沿仍是 GLM-5.2 MXFP4 的 TP4/EP4 HiCache 与 DCP4 两组配置。
本 PR 新增
glm5.3-fp4-mi355x-sglang-agentic-mtp:lmsysorg/sglang-rocm:v0.5.22-rocm10-mi35x-20261025上运行amd/GLM-5.3-Quark-MXFP4-AttnFP8。加载该 checkpoint 需要 [Fix] [AMD] Quark: fix Quark block-FP8 loading in DeepSeek loader sgl-project/sglang#40776,v0.5.22 正式版不包含这个改动。--cuda-graph-backend-prefill breakable;--max-running-requests与--cuda-graph-max-bs-decode都设为并发数的两倍。write-back 只在页被逐出显存时写入主机层,主机层因此叠加在显存 KV 容量之上,而不是复制一份显存池。与同一镜像上的 write-through(run 43234373287)相比,P90 interactivity 在并发 14 提高 7%,并发 16 提高 26%,并发 8 到 12 提高 1% 到 4%。gemm_afp4wfp4对 TP8 densedown_proj的形状会输出非有限值。SGLANG_UNIFIED_RADIX_TREE_CORE_BACKEND=python:否则各 rank 会各自选择 Rust 或 Python TreeCore,两者计算 write-back 回收摘要的方式不同,混用的 worker 会在 HiCache 同步断言处失败([Fix] mem_cache: Agree on one TreeCore backend across ranks sharing a prefix tree sgl-project/sglang#48112)。--speculative-num-steps 5;AgentX 强制使用该深度的 golden AL 3.48(来自glm-5.3-nvfp4__mtp__native__default-default),不改动infx。ROCM_QUICK_REDUCE_QUANTIZATION=INT8);GLM-5.3 在 MODELS.md 的 all-reduce 政策中属于豁免模型。SGLang cookbook:sgl-project/sglang#50678 (已合并)把 sgl-project/sglang#46825 新增的 MI355X AgentX 小节更新为上述设置。
PR 扫描 run 43742834521 的全部测试点与 GSM8K 评估均通过(TP4/EP4 并发 20 下
em_strict为 0.9742 ± 0.0044)。各点数据见上方表格(性能)。TP4/EP4 并发 8 到 20 都在 GLM-5.2 与 GLM-5.3 合并统计的 MI355X(SGLang)Pareto 前沿上:在相同 tokens/$ 下,并发 8 到 16 的 P90 interactivity 比线上曲线高 7% 到 57%;并发 20 支配线上曲线吞吐量最高的点 GLM-5.2 MXFP4 DCP4 并发 24。TP4/EP4 并发 4 与 TP8/EP1 的各点低于线上曲线,这一段由 GLM-5.2 MXFP4 的 TP4/EP4 与 TP8/EP1 点以及 GLM-5.3 FP8 TP8 的点(#4875)构成。
验证细节:
quant=quark):路由专家与共享专家为 MXFP4,attention 与 indexerwq_b/wk为按块 FP8,eh_proj、router gate 与 indexerweights_proj为 BF16。AI 模型使用说明:Claude Opus 5.5(Cursor agent)编写了配置、配方、changelog 条目和早期的本地测试计划,在 TP8/EP1 配置与并发 4 恢复后更新了本说明,并提交了 sgl-project/sglang#50678。claude-opus-5.5(Claude Code)设定了 write-back HiCache、TreeCore 固定和并发列表,运行了 PR 扫描和本地验证,并按 dashboard 前沿对比了扫描结果。其他 Claude Code agent 运行过早期本地基准测试,其具体模型版本无法确认。
改动类型:新功能、配置变更。
Found by Hyperloom; reviewed and measured on MI355X.