Skip to content

Add GLM-5.2 recipe for RTX PRO 6000 / RTX 6000D (SM120) 8-GPU boxes - #57

Open
AliceChenyy wants to merge 4 commits into
sgl-project:mainfrom
AliceChenyy:feat/glm52-sm120-recipe
Open

Add GLM-5.2 recipe for RTX PRO 6000 / RTX 6000D (SM120) 8-GPU boxes#57
AliceChenyy wants to merge 4 commits into
sgl-project:mainfrom
AliceChenyy:feat/glm52-sm120-recipe

Conversation

@AliceChenyy

Copy link
Copy Markdown

Summary

Adds the first GLM-5.2 cookbook entry, focused on the first workstation/edge SM120 platform recipe (NVIDIA RTX PRO 6000 Blackwell 8x96GB / RTX 6000D 8x84GB): the NVFP4 checkpoint (433 GB) fits a single 8-GPU PCIe box, making this the most accessible way to serve a 753B-class model on-prem.

What's included

  • cookbook/llm/GLM/GLM-5.2.mdx, validated with the official lmsysorg/sglang:v0.5.15 image on 8x RTX 6000D:
    • required flags with rationale (--disable-shared-experts-fusion for sglang#29562; dense FlashInfer MLA + bf16 KV because SM120 has no DSA sparse kernels)
    • ops pitfalls hit during validation: NCCL init hang on ACS-enabled PCIe hosts (NCCL_P2P_DISABLE=1), zombie schedulers pinning GPU memory after SIGKILL (docker run --init)
    • measured GSM8K accuracy and ISL-8K latency/throughput at concurrency 1-16
  • navigation entry in docs.json

Scope notes

  • Datacenter (H200/B200/GB300) shapes are linked to the GLM-5 guide (shared model structure) rather than duplicated — we only list platforms we benchmarked.
  • MTP speculative decoding and TP4xPP2 recipes are blocked by Accept and ignore topk_indices in FlashInfer MLA dense backend sglang#30994 (dense MLA backend rejects the DSA indexer's topk_indices on spec-verify / non-overlap decode paths). With a patched build we measured TP4xPP2 ahead of TP8 by 3-6x at ISL 8K on RTX PRO 6000, so these are worth adding once it lands — noted in the doc.

(Originally prepared against sgl-cookbook before noticing it is archived; ported to this repo's mdx + docs.json structure.)

🤖 Generated with Claude Code

AliceChenyy and others added 3 commits July 13, 2026 00:23
First GLM-5.2 cookbook entry, focused on the SM120 workstation platform:
the NVFP4 checkpoint (433 GB) fits a single 8-GPU PCIe box. Validated with
the official lmsysorg/sglang:v0.5.15 image on 8x RTX 6000D; includes
required flags with rationale, ops pitfalls (NCCL ACS hang, zombie
schedulers pinning GPU memory), and measured GSM8K + latency numbers.

MTP and TP4xPP2 recipes are noted as pending sgl-project/sglang#30994.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Both variants validated end to end on 8x RTX 6000D with a v0.5.15 build
of sglang#30994 (GSM8K 0.90 each, greedy output identical to TP8):

- TP8 + MTP speculative decoding: median TPOT 11.4ms vs 24.4ms at
  concurrency 1 (low-latency / interactive use)
- TP4 x PP2: 2.8x lower TTFT and 28% more output tok/s than TP8 at
  concurrency 16 (throughput / batch use); documents the
  index_topk_pattern override needed because the PP2 stage boundary
  lands on a skip-topk layer

Benchmarks section split into per-config tables with selection guidance.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@AliceChenyy

Copy link
Copy Markdown
Author

Added validated MTP and TP4xPP2 recipes (commit 656a582). Both were run end to end on 8x RTX 6000D with a v0.5.15 build of sglang#30994 — GSM8K 0.90 each, greedy output identical to TP8. Benchmarks section now has per-config tables (TP8 / TP8+MTP / TP4xPP2) plus selection guidance. The two variant sections state the #30994 requirement explicitly; happy to hold this PR until it lands if preferred.

…chmarks

Major update based on the latest SM120 validation:
- Switch from dense bf16 KV (workaround) to FlashInfer sparse MLA with
  FP8 KV (#26928) as the recommended path
- Replace old three-config bench data (dense, #30994-based) with
  four-config real-weight benchmarks on 8x RTX 6000D:
  TP8 / TP4xPP2 / TP8+MTP / TP4xPP2+MTP
- Add pure decode section (ISL 1 / OSL 256) isolating TPOT from prefill
- TP4xPP2+MTP is the best config at every batch size in pure decode:
  bs1 TPOT 10.7ms (2.2x over TP8), bs32 throughput 611 tok/s (2.0x)
- Update all launch commands with fp8_e4m3 KV, mem-fraction tuning,
  disable-radix-cache, and disable-custom-all-reduce tips
- Document #26928 and #30775 dependencies clearly

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@AliceChenyy
AliceChenyy marked this pull request as ready for review July 15, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant