Skip to content

[DCP] Add GLM-5.3 Flash EAGLE/MTP support - #40434

Closed
kpham-sgl wants to merge 1 commit into
codex/glm53-flash-dcp-basefrom
codex/glm53-flash-dcp-mtp
Closed

kpham-sgl wants to merge 1 commit into
codex/glm53-flash-dcp-basefrom
codex/glm53-flash-dcp-mtp

Conversation

@kpham-sgl

@kpham-sgl kpham-sgl commented Sep 20, 2026 •

Copy link
Copy Markdown
Collaborator

Split from #39117, which remains open for reference. Stacked on #40433; review against that branch. The base PR intentionally rejects DSA + DCP + speculative decoding.

Add GLM-5.3-Flash EAGLE/MTP support on top of target-only DCP:

  • Replicate draft KV/indexers through DSA pool constructor flags and budget their full global capacity. At DCP4/base 64, draft pool pages are 256; indexer kernels retain 64-entry blocks.
  • Initialize effective DCP size/rank from the worker role: targets use the global group, replicated drafts use (1, 0). Shared MLA forward and backend metadata use that geometry instead of is_nextn.
  • Translate target-verify KV indices, return LSE for the DCP merge, and keep draft execution out of target collectives. Restore the speculative e2e variant.
  • Replace the base's blanket rejection with a DSA-scoped EAGLE-family topk > 1 rejection pending relocation work. Generic MLA/GQA/SWA draft-accounting changes are excluded; existing K3 + DSpark accounting remains unchanged.

HiCache + DCP + EAGLE/MTP stays guarded. General dense-MLA draft pool replication and heterogeneous-DCP target KV transfer remain outside this change.

Validation: 68 existing CPU tests passed, one CUDA-only test skipped; 32 speculative guard checks, 540 backend role/metadata checks, and 248 pool/restore/boundary checks passed. GPU/transport operations used CPU substitutes. Pre-commit passed. GPU/e2e and GSM8K/AIME reruns remain pending; evaluation is paused.


CI States

Latest PR Test (Base): ❌ Run #36213108915
Latest PR Test (Extra): ❌ Run #36213108855
Latest PR Test (AMD ROCm 10): ❌ Run #36213109001

@kpham-sgl
kpham-sgl force-pushed the codex/glm53-flash-dcp-mtp branch from 7a5ff53 to 77f4309 Compare September 26, 2026 02:53
@kpham-sgl kpham-sgl closed this Nov 21, 2026
fy1214 added a commit to fy1214/sglang that referenced this pull request Nov 24, 2026
…40434) onto glm5.3-flash

Surgical overlay validated on 355461: allow EAGLE/MTP with DCP+HiCache,
role-aware dcp_size through hybrid/TBO, and flashmla_kv DCP gates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant