Skip to content

[AMD] GLM-5.2 MI355X MXFP4: bump image to 20260913, enable TOPK_V2 - #39406

Merged
sogalin merged 3 commits into
sgl-project:mainfrom
ChangLiu0709:amd/glm52-mi355x-topkv2
Sep 14, 2026
Merged

sogalin merged 3 commits into
sgl-project:mainfrom
ChangLiu0709:amd/glm52-mi355x-topkv2

Conversation

@ChangLiu0709

@ChangLiu0709 ChangLiu0709 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Motivation

This PR syncs the GLM-5.2 MI355X MXFP4 cookbook recipes with SemiAnalysisAI/InferenceX#3081.

Changes

docs/src/snippets/configs/zai-org/glm-5.2.jsx

  1. Docker image bump: lmsysorg/sglang-rocm:v0.5.19-rocm720-mi35x-20260910v0.5.19-rocm720-mi35x-20260913 (the mi355x|mxfp4 entry in dockerImages).
  2. Enable SGLANG_OPT_USE_TOPK_V2=true: added to all four MXFP4 cells (low-latency, balanced, high-throughput, mtp-314). The v2 fused top-k kernel is now available for GLM-5.x on ROCm after upstream [AMD] Enable deepseek-v4 topk_transform v2 kernel #36684 and [AMD] Enable topk v2 GLM ROCm #36851.

docs/cookbook/autoregressive/GLM/GLM-5.2.mdx

  1. MTP validation note: updated the pinned image reference from 20260910 to 20260913 and documented the SGLANG_OPT_USE_TOPK_V2=true enablement with links to the upstream PRs.

What is NOT changed

  • Concurrency redistribution (TP4/EP4 drops conc 1,2; TP8/EP1 gains them): this is an InferenceX benchmark-harness change, not a cookbook serving-command change.
  • No flags, model paths, or parallelism knobs are altered — only the image tag and one new env var.

CI States

Latest PR Test (Base): ✅ Run #34834663886
Latest PR Test (Extra): ❌ Run #34834663594
Latest PR Test (AMD ROCm 10): ➖ No AMD PR run found for this commit.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Sep 14, 2026
- Update Docker image from v0.5.19-rocm720-mi35x-20260910 to
  v0.5.19-rocm720-mi35x-20260913 for the MI355X MXFP4 cells.
- Add SGLANG_OPT_USE_TOPK_V2=true env to all four MXFP4 cells
  (low-latency, balanced, high-throughput, mtp-314): the v2 fused
  top-k kernel is now available for GLM-5.x on ROCm after upstream
  sgl-project#36684 and sgl-project#36851.
- Update the MTP validation note in the MDX cookbook page to
  reference the new image and document the TOPK_V2 enablement.

Upstream InferenceX PR: SemiAnalysisAI/InferenceX#3081
@ChangLiu0709
ChangLiu0709 force-pushed the amd/glm52-mi355x-topkv2 branch from a1b5b4b to 6e74a21 Compare September 14, 2026 10:33
Add a documentation note explaining the two-arm InferenceX sweep
from SemiAnalysisAI/InferenceX#3081:
- TP4/EP4 + HiCache DRAM offload at concurrency >= 4
- TP8/EP1 without KV offloading at low concurrency (c <= 2)

The portable cookbook commands intentionally omit HiCache knobs;
users can toggle them via the Playground's Hierarchical KV Cache card.

@1am9trash 1am9trash left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sogalin

sogalin commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

LGTM, SGLANG_OPT_USE_TOPK_V2=1 can help improve the performance for GLM.

@sogalin
sogalin merged commit 242d8a7 into sgl-project:main Sep 14, 2026
95 of 99 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants