[AMD] GLM 5.2 MXFP4 SGLANG COOKBOOK - #34379
Merged
HaiShaw merged 9 commits intoAug 12, 2026
Merged
Conversation
Signed-off-by: Sirra <asirra@amd.com>
ajith-sirra-amd
requested review from
JustinTong0323,
sogalin,
wisclmy0611 and
zijiexia
as code owners
August 11, 2026 07:36
Contributor
Author
|
/tag-and-rerun-ci extra |
Signed-off-by: Sirra <asirra@amd.com>
…h-sirra-amd/sglang into amd_glm5.2_agentic_cookbook
Signed-off-by: Sirra <asirra@amd.com>
Contributor
|
@sogalin Hi Soga, can you plz review this We need this merged to push SGL perf data to SA. |
Collaborator
|
+viz @HaiShaw |
HaiShaw
approved these changes
Aug 12, 2026
saturn-acc
pushed a commit
to saturn-acc/sglang
that referenced
this pull request
Aug 16, 2026
Signed-off-by: Sirra <asirra@amd.com> Co-authored-by: giovanniguastiamd <giovanni.guasti@amd.com>
5 tasks
Atituiset
pushed a commit
to Atituiset/sglang
that referenced
this pull request
Sep 10, 2026
Signed-off-by: Sirra <asirra@amd.com> Co-authored-by: giovanniguastiamd <giovanni.guasti@amd.com>
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.
Motivation
AMD publishes a Quark-quantized MXFP4 build of GLM-5.2 for MI355X (
amd/GLM-5.2-MXFP4), alongside the existing FP8/BF16 (all AMD SKUs) and NVFP4 (NVIDIA Blackwell) options already documented in the GLM-5.2 cookbook. This PR adds MXFP4 as a selectable quantization in the GLM-5.2 cookbook so users deploying on MI355X (gfx950) have a documented, ready-to-run recipe, consistent with the precedent already set foramd/GLM-5.1-MXFP4.Modifications
docs/src/snippets/configs/zai-org/glm-5.2.jsx:mxfp4to thequantizationslist and mappeddefault|mxfp4→amd/GLM-5.2-MXFP4inmodelNames.dockerImages["mi355x|mxfp4"] = lmsysorg/sglang-rocm:v0.5.16-rocm720-mi35x-20260728), separate from the existing MI355X FP8/BF16 image.hw: "mi355x", quant: "mxfp4"(low-latency, balanced, high-throughput), mirroring the FP8/BF16 MI355X recipes but attp=4(4-bit MoE weights fit a 4-GPU slice), with--trust-remote-code(required for Quark's custom quant config) and--kv-cache-dtype fp8_e4m3, carried over from the validatedamd/GLM-5.1-MXFP4MI355X recipe (same DSA architecture family).verified: false— not yet benchmarked on GLM-5.2. MXFP4 is gfx950-only and not exposed for MI300X/MI325X (gfx942).docs/cookbook/autoregressive/GLM/GLM-5.2.mdx:amd/GLM-5.2-MXFP4row to the model variants table and a corresponding resource link.tp=4,--trust-remote-code, and--kv-cache-dtype fp8_e4m3requirements and the unverified status.No runtime/engine code is touched — this is a docs/cookbook-only change (config + Mintlify docs).
Accuracy Tests
Speed Tests and Profiling
Checklist
verified: false)Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ciCI States
Latest PR Test (Base): ✅ Run #31487083615
Latest PR Test (Extra): ❌ Run #31487083604