[Spec Decode] Support Muse Glimmer DFlash checkpoints - #3528
Open
lming2001 wants to merge 1 commit into
Open
Conversation
Signed-off-by: Ming Lei <lming@meta.com>
lming2001
requested review from
Lumosis,
a1yssan13,
gxd3,
jrplatin,
kwang3939,
kyuyeunk,
lk-chen,
mrjunwan-lang,
sixiang-google and
wenxindongwork
as code owners
September 4, 2026 20:37
5 tasks
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.
Description
Add generic TPU DFlash compatibility for the released Muse Glimmer assistant checkpoint.
The existing JAX DFlash path already provides proposal and verification infrastructure. This PR makes it compatible with Muse's public checkpoint layout by:
MuseGlimmerAssistantModelandDFlashMuseGlimmerAssistantModel;dflash_configor top-level checkpoint fields;use_sliding_window=trueandsliding_window=2048in causal and non-causal draft attention;encoder.fcandencoder.output_norm_encweights;head_dim=128; andPR #3527 supplies Muse Glimmer's configured auxiliary hidden states. This PR itself is independent and can merge in either order.
FIXES: #3526
Tests
Results:
proxy.golang.org; this PR adds no new source files.The assistant's trained sliding window is correctness-critical: prior TPU validation measured aggregate draft-token acceptance rising from 11.1% to 47.6%, with per-position acceptance of 70.5%, 44.8%, and 27.6% for three proposals. A K+1 runtime-width hypothesis reduced acceptance to 7.1%, so this change intentionally preserves the checkpoint's
block_size=16.AI assistance was used to port the internally validated implementation and run tests. The human submitter remains responsible for reviewing and defending every changed line.
Checklist