Repository navigation
[Feature] Support GLM-5.3 DFlash2 speculative decoding - #5246
Draft
RunningLeon wants to merge 2 commits into
Draft
RunningLeon wants to merge 2 commits into
RunningLeon wants to merge 2 commits into
Conversation
RunningLeon
force-pushed
the
feat/dflash2
branch
from
December 4, 2026 14:54
e634c3b to
acbf858
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Add experimental DFlash2 speculative decoding for GLM-5.3 and GLM-5.3-Flash while preserving the existing DFlash interface and v1 behavior.
Modification
Validation
Draft follow-ups
mainand revalidate. This PR preserves the tested00dbc4199caabase; currentmainhas six newer commits, with merge conflicts including the newer Store recovery interfaces.BC-breaking
Compact Store objects use a new publication-tag namespace. Existing untagged compact entries are not reused, so upgrading starts cold. Non-compact keys are unchanged. Rejecting mixed publications does not repair remote objects; retries may continue to fall back until eviction/expiry or namespace isolation.
Use cases
Use
--speculative-algorithm dflashwith a matching DFlash2 checkpoint. See the updated speculative-decoding documentation for separate GLM-5.3 and Flash examples and supported combinations. The non-Flash pair does not support DP/EP or prefix/Store reuse.Checklist