Skip to content

[Docs] GLM-5.3-Flash cookbook: fixed MTP 5/1/6, EP1 + flashinfer_trtllm on Blackwell - #39213

Merged
zijiexia merged 1 commit into
mainfrom
xinyuan/docs-glm53flash-recipe-fixed-mtp-trtllm
Sep 12, 2026
Merged

zijiexia merged 1 commit into
mainfrom
xinyuan/docs-glm53flash-recipe-fixed-mtp-trtllm

Conversation

@JustinTong0323

@JustinTong0323 JustinTong0323 commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

Update the GLM-5.3-Flash cookbook recipe based on a 4x GB300 benchmarking campaign against vLLM (fixed workload: 80 random-token requests, chat 1000/1000 and summarization 8000/1000 at concurrency 1/16/80; evidence archived in the campaign run directory).

Changes, applied per hardware lane:

  • Remove --speculative-adaptive from the Low Latency recipe on all lanes. The adaptive policy caps draft steps to 3 at batch 8-16 and disables drafting at batch >=64; fixed MTP 5/1/6 recovers most of the gap (chat C80 4293 -> 8976 tok/s on stock source).
  • Delete the explicit --ep-size flag except on Hopper (EP1 is the sglang default, python/sglang/srt/arg_groups/fields/parallel.py).
  • Switch --moe-runner-backend deep_gemm -> flashinfer_trtllm on Blackwell lanes only (gb300/gb200/b200/b300). trtllm-gen MoE kernels are SM100-only, so H100/H200 keep EP8 + deep_gemm and only drop adaptive drafting. Divisibility checked: moe_intermediate_size 2048 gives 512 (TP4) / 256 (TP8) per partition, both multiples of 128.
  • Refresh the gb300 benchmark rows with stock-source numbers measured on the new recipe; mark re-measured-but-unverified cells in-progress and keep earlier numbers on the remaining cells with TODO notes.
  • Update strategy labels, hints, and the encoder-disaggregation section that restated the old flags.

Validation: mint validate, mint broken-links, pre-commit, and jsx module checks all pass. GSM8K on 11 campaign lanes using these flags: 90.75-92.72%, all natural stops. A cookbook-protocol (thinking, 32768 max tokens) GSM8K run on the new command is still pending; remaining TODO rows (DCP4, BF16+TileLang, NVFP4 LL, H100 LL, B200/B300 LL) need re-measurement on the new command.


CI States

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

…lm on Blackwell

- Low Latency cells draft from the MTP head at a fixed depth (5 steps, top-k 1,
  6 draft tokens) with natural acceptance; the Playground EAGLE preset matches.
- Blackwell FP8 cells run EP1 (the sglang default) with the flashinfer_trtllm
  MoE runner. Hopper keeps EP8 + deep_gemm: trtllm-gen MoE kernels are SM100-only.
- The gb300 Low Latency FP8 + TRT-LLM DSA benchmark row carries the 4x GB300
  measurement of this command (sglang b3dc038, 2026-09 perf campaign). Rows
  measured on the earlier command keep their numbers with a TODO, and cells whose
  command changed without a re-measurement report "Final Verification In Progress".
- The encoder-disaggregation language server and PD notes follow the same recipe.
@mintlify

mintlify Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
lmsysorg 🟢 Ready View Preview Sep 12, 2026, 12:56 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Sep 12, 2026
@zijiexia
zijiexia merged commit b5a2aeb into main Sep 12, 2026
97 of 101 checks passed
@zijiexia
zijiexia deleted the xinyuan/docs-glm53flash-recipe-fixed-mtp-trtllm branch September 12, 2026 19:56
mqhc2020 pushed a commit to mqhc2020/sglang that referenced this pull request Sep 15, 2026
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