-
Notifications
You must be signed in to change notification settings - Fork 166
refactor(spec-decode): simplify Qwen3.5 NextN attention path for #217 (2/3) #429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rjzhb
merged 28 commits into
lightseekorg:main
from
rjzhb:refactor/qwen-attention-hooks
Jun 17, 2026
Merged
Changes from 22 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
d7882e7
refactor(spec-decode): wrap Eagle3 attention via base llama._attn
rjzhb 6fbab67
update
rjzhb 399b793
feat(spec-decode): extend Llama Eagle3 dispatch B to prefill catch-up
rjzhb 90ec73a
update
rjzhb 3dbdb30
Merge branch 'main' into refactor/llama-attention-hooks
rjzhb 2ca7ebe
fix(spec-decode): correct LlamaForCausalLMEagle3 import path
rjzhb cc698bf
fix(spec-decode): cover EXTEND/MIXED catch-up in dispatch B flag broaden
rjzhb b0b485d
Merge remote-tracking branch 'upstream/main' into refactor/llama-atte…
rjzhb bad01b8
Merge branch 'main' into refactor/llama-attention-hooks
rjzhb 5ac5d79
fix(spec-decode): fall back when fused KV prewrite arg is None
rjzhb 555252f
refactor(spec-decode): wrap Qwen3.5 NextN attention via base hooks
rjzhb f01a2ab
Merge remote-tracking branch 'upstream/main' into refactor/qwen-atten…
rjzhb fafc901
fix(qwen3.5-nextn): drop idle-mode early return in draft attn
rjzhb 404279b
fix(spec-decode): pad decode seq_lens to spec_num_tokens
rjzhb c8f0632
Merge remote-tracking branch 'upstream/main' into refactor/qwen-atten…
rjzhb e9e39d0
Revert "fix(spec-decode): pad decode seq_lens to spec_num_tokens"
rjzhb ca10fca
fix(spec-decode): clamp catch-up trim result to avoid negative seq_lens
rjzhb 263ef70
chore(qwen3.5-nextn): move sigmoid_mul import below first-party group
rjzhb 4364323
chore(qwen3.5-nextn): drop isort skip markers, accept canonical order
rjzhb e2c032f
Merge branch 'main' into refactor/qwen-attention-hooks
LorrinWWW 72ddde0
fix(pd): record draft layerwise cache step on EXTEND catch-up
rjzhb 4d52f2f
Merge branch 'main' into refactor/qwen-attention-hooks
rjzhb 2806ea4
fix(spec-decode): route draft attn via self.attn; guard step_counter
rjzhb b9645c4
docs(spec-decode): clarify draft catch-up attention comments
rjzhb af1ab65
refactor(spec-decode): centralize draft cache-step record via record_…
rjzhb f8c9490
refactor(attn): share pre/post cache-step record via record_cache_step
rjzhb d609578
refactor(attn): rename helper to record_pd_cache_step
rjzhb 3290daf
Merge branch 'main' into refactor/qwen-attention-hooks
rjzhb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.