Skip to content

Support effective Gemma 4 text weights#3587

Open
HueCodes wants to merge 1 commit into
huggingface:mainfrom
HueCodes:gemma4-effective-text
Open

Support effective Gemma 4 text weights#3587
HueCodes wants to merge 1 commit into
huggingface:mainfrom
HueCodes:gemma4-effective-text

Conversation

@HueCodes

@HueCodes HueCodes commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Adds support for Gemma 4 effective text checkpoints by loading PLE weights, shared KV layers, layer
scalars, and double-wide shared-layer MLPs.

Also updates the Gemma 4 example to handle text weights stored under model.language_model.

Fixes #3448.

Signed-off-by: Hugh Ryan <197298026+HueCodes@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gemma 4 Model download issues

1 participant