Skip to content

[AMD] Enable HiCache for GLM-5.2 MI355X throughput recipe - #40570

Merged
HaiShaw merged 2 commits into
sgl-project:mainfrom
jiejingzhangamd:docs/glm52-mi355x-hicache-high-throughput
Sep 21, 2026
Merged

HaiShaw merged 2 commits into
sgl-project:mainfrom
jiejingzhangamd:docs/glm52-mi355x-hicache-high-throughput

Conversation

@jiejingzhangamd

@jiejingzhangamd jiejingzhangamd commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

The GLM-5.2 MI355X MXFP4 High-Throughput cell uses the TP4/EP4 topology but currently omits the HiCache DRAM tier used by the corresponding InferenceX recipe. The pinned 20260916 image also predates the ROCm K-only host-pool enablement in #37152.

Modifications

  • Update the MI355X MXFP4 image to lmsysorg/sglang-rocm:v0.5.20-rocm720-mi35x-20260920 (SGLang c610c40399, including [ROCm] Widen the HiCache JIT copy rounds and enable the K-only host pool #37152).
  • Enable HiCache only for the MXFP4 High-Throughput TP4/EP4 cell with --enable-hierarchical-cache --hicache-ratio 1.0.
  • Keep the Low-Latency and Balanced cells unchanged.
  • Document that the current defaults are kernel, page_first, and write_through, so the generated command does not repeat those default flags.

This mirrors the HiCache path in SemiAnalysisAI/InferenceX#3329. The cell remains verified: false; this PR does not add a new performance claim.

Accuracy Tests

Not applicable: documentation/configuration-only change; model execution is unchanged.

Speed Tests and Profiling

Not included in this documentation PR. The recipe remains marked unverified.

Validation

  • node docs/scripts/check_cookbook_configs.mjs
  • mint validate
  • Targeted config assertion: only the MI355X/MXFP4/High-Throughput cell emits HiCache; Low-Latency and Balanced do not.
  • Verified the 20260920 image tag exists (digest sha256:9a866d8fed2d5638c35daed0cc9f64d4b48a6ef24d4ddfb68eb7756c27abe2b9).
  • Verified [ROCm] Widen the HiCache JIT copy rounds and enable the K-only host pool #37152 is an ancestor of the image commit.
  • git diff --check

Checklist

  • Format your code according to the project guidance.
  • Add unit tests or targeted validation where applicable.
  • Update documentation.
  • Provide new accuracy and speed benchmark results (not applicable; recipe remains unverified).
  • Follow the SGLang code style guidance.

CI States

Latest PR Test (Base): ✅ Run #35589565221
Latest PR Test (Extra): ❌ Run #35589564951
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 21, 2026
@HaiShaw
HaiShaw merged commit 66f19f5 into sgl-project:main Sep 21, 2026
93 of 97 checks passed
imvladikon added a commit to imvladikon/sglang that referenced this pull request Oct 1, 2026
glm-5.2.jsx conflicted as a whole file: upstream now stores it with CRLF
while core.autocrlf=input keeps LF here, so no line matched. Every content
difference was upstream moving ahead (--dp N --enable-dp-attention replaced by
--attn-dp-size N per sgl-project#41818, MI355X image bumped to 20260923), and our only
commit touching the file is upstream's own sgl-project#40570, so the file is taken from
upstream.
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.

2 participants