Skip to content

GLM-5.3-Flash cookbook: restore --disable-shared-experts-fusion to every cell - #36535

Closed
JustinTong0323 wants to merge 1 commit into
sgl-project:mainfrom
JustinTong0323:docs/glm53-fusion-flag
Closed

JustinTong0323 wants to merge 1 commit into
sgl-project:mainfrom
JustinTong0323:docs/glm53-fusion-flag

Conversation

@JustinTong0323

@JustinTong0323 JustinTong0323 commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Motivation

The published cells are missing --disable-shared-experts-fusion, and with shared-experts fusion ON the model degenerates on the final GLM-5.3-Flash weights: empty content, verbatim repetition loops, and no stop (runaway to the token cap). The flag was present in every measured serve behind the published numbers but was dropped by the minimal-flags trim.

Isolation on 4x GB300 with the final weights (c5b82b63e37b): identical serves differing only in this flag — fusion ON degenerates (empty content + loops + finish_reason=length), fusion OFF answers correctly and stops. The failure is silent: no crash, no traceback.

This PR also disables the HiCache options for the Low Latency strategy: HiCache + MTP speculative decoding crashes at startup in the current build (the DSA draft pool lacks full_kv_pool — a code fix is being validated separately). High Throughput keeps the HiCache options.

Modifications

  • Add --disable-shared-experts-fusion to all twelve cells.
  • HiCache L1+L2 / +L3 options: disabled with a reason when strategy is Low Latency.

Tests

  • Fusion isolation matrix on 4x GB300, final weights: HT fusion-ON degenerate / HT fusion-OFF pass / LL fusion-OFF pass (correct answers, finish_reason=stop).
  • node docs/scripts/check_cookbook_configs.mjs — OK.

CI States

Latest PR Test (Base): ⏳ Run #32989879891
Latest PR Test (Extra): ⏳ Run #32989877568
Latest PR Test (AMD ROCm 7.2): ➖ No AMD PR run found for this commit.

…ery cell

Without it (shared-experts fusion on) the model degenerates on the final
weights: empty content, verbatim loops, never stops — isolated on 4x
GB300 with the fusion flag as the only difference. Every measured serve
behind the published numbers ran with the flag; the minimal-flags trim
dropped it by mistake.
@JustinTong0323

Copy link
Copy Markdown
Collaborator Author

Folded into #36519 per maintainer preference.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 26, 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.

1 participant