-
Notifications
You must be signed in to change notification settings - Fork 204
Gemma4: Full DFlash Integration (Speculative Decode + BSA Prefill + Prefix Cache) #232
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
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d5f32bf
gemma4: fix loader + graph for actual GGUF format
howard0su 1315311
gemma4: implement DFlashTarget for speculative decode (G4)
howard0su 9b26a2b
gemma4: fix attention scale, tokenizer decode, and server integration
howard0su f99ff75
gemma4: implement real park/unpark for VRAM management
howard0su c4a7ba6
gemma4: implement G5 SWA ring-buffer, G6 fa_window, G3 compress
howard0su 1bfb720
gemma4: wire DFlash speculative decode into Gemma4 backend
howard0su 2065995
prefix_cache: add Gemma family detection for chat markers
howard0su 78aaa06
gemma4: fix DFlash spec-decode acceptance rate
howard0su f102502
gemma4 dflash: fix SWA causal masking and rope_theta
howard0su 106a59e
draft: use F16 mask directly, remove unnecessary F32 cast
howard0su 85bc4c3
draft: rename draft_dflash_graph.cpp → draft_graph.cpp to match header
howard0su 03aeda5
draft: remove DFLASH27B_ROPE_THETA constant, read from GGUF only
howard0su 9fe0ce4
gemma4 spec-decode: replace snapshot/replay with KV truncation
howard0su f854a11
gemma4: add BSA sparse-FA prefill path + unified flash_prefill_forwar…
howard0su 3c433a9
gemma4: full feature mirror resync after prefix cache restore
howard0su d399796
gemma4: check graph_compute return in prefill_bsa per-layer embed
howard0su dfaf999
gemma4: fix namespace dflash27b -> dflash::common after rebase
howard0su d3720b6
gemma4: fix MoE GELU contig + loader tensor name mismatches
a013349
Merge branch 'main' into gemma4
davide221 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
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.
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.