Repository navigation
[AMD][AgentX] Add GLM-5.3 MXFP4 MI355X SGLang MTP AgentX recipe - #4575
xiaofei-zheng wants to merge 2 commits into
Conversation
|
Generally most InferenceX submissions don't need to add changes to the infx package. On the off chance they do, generally the diff is small. Please prompt your agent to clean your PR to keep your diff to only necessary & minimal changes too. We have an increased code quality bar for changes to the infx package. 中文大多数 InferenceX 提交通常不需要修改 infx 包。即使确实需要,改动通常也很小。请让你的 agent 清理 PR,使改动只包含必要且最小的内容。infx 包的改动有更高的代码质量要求。 |
|
@chunfangamd Could you add the The matching SGLang cookbook PR is sgl-project/sglang#46825. Thanks! |
|
Superseded by #4593, which uses a branch in this repository instead of a fork. Closing this one. |
Summary
InferenceX has no single-node GLM-5.3 SGLang AgentX config on MI355X; the only MI355X GLM-5.3 entry is the TileRT prefill/decode-disaggregated one at concurrency 1.
This adds
glm5.3-fp4-mi355x-sglang-agentic-mtpwith the two arms ofglm5.2-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.--speculative-num-steps 5andSGLANG_OPT_USE_TOPK_V2=true.The only
infxchange is a provisional K=5 cell (3.61) inglm5.3_mtp.yaml, copied from GLM-5.2 as its K=3 cell was, plus the matching README rows. Without it the harness cannot resolve the acceptance target for this draft depth.SGLang cookbook coverage: sgl-project/sglang#46825.
Local end-to-end runs with the InferenceX AgentX client on the pinned image chose the draft depth and the top-k kernel (3600 s replays, one fresh server per run):
SGLANG_OPT_USE_TOPK_V2GSM8K
em_strictwith real draft verification: 0.9719 ± 0.0045 on TP4/EP4 and 0.9757 ± 0.0042 on TP8/EP1.Validation details
quant=quarkin the server log): MXFP4 routed and shared experts, FP8 per-block attention, BF16eh_projand router gate.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.