Repository navigation
model :support Gemma4 DSpark draft backbone - #29226
Conversation
|
Hi @hthadicherla, thanks for your contribution! Per our contribution guidelines, the automated PR checker found the following issue(s) that need your attention:
Please note that maintainers reserve the right to make final decisions on PRs. If you believe there is a mistake, please comment below. |
CISC
left a comment
There was a problem hiding this comment.
Do we really need gemma4_backbone metadata? The only difference is the non/existence of some tensors and a different activation (we already have metadata for specifying that).
Add GGUF conversion and runtime support for full-attention and SWA Gemma 4 DSpark drafts, including tied output weights and boolean backbone metadata. Assisted-by: Codex
b635c44 to
37e1e37
Compare
Agreed. Removed gemma4_backbone in the latest commit; the runtime now uses tensor presence and the existing hidden_activation metadata. |
|
@CISC , addressed the review comments just now. Can you PTAL again ? |
|
@ggerganov , the reviewers have approved the changes. Can you PTAL at the PR once and merge if it looks okay ? |
* dspark: add Gemma 4 draft support Add GGUF conversion and runtime support for full-attention and SWA Gemma 4 DSpark drafts, including tied output weights and boolean backbone metadata. Assisted-by: Codex * dflash: infer Gemma draft features from metadata (cherry picked from commit 633733d)
Overview
Adds GGUF conversion and runtime support for Gemma 4 DSpark drafts, including full attention and SWA1024.
Additional information
Tested GPU inference with both full-attention and SWA1024 Gemma DSpark drafts. Both generated accepted draft tokens.
Requirements