Skip to content
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

Add support for converting Gemma 2 checkpoints #1700

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

mattdangerw
Copy link
Member

This is sadly a little hacky as the flax support for Gemma 2 is not yet complete. So output checking will not match up, but we can still convert checkpoints.

@github-actions github-actions bot added the Gemma Gemma model specific issues label Jul 19, 2024
@mattdangerw mattdangerw requested a review from grasskin July 19, 2024 19:27
@mattdangerw mattdangerw changed the title Add support for Gemma 2 checkpoints Add support for converting Gemma 2 checkpoints Jul 19, 2024
@mattdangerw mattdangerw force-pushed the gemma-2-convertion-support branch from 88f80b0 to 62145e7 Compare July 19, 2024 21:09
Copy link
Member

@SamanehSaadat SamanehSaadat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Matt! Just left one comment!

tools/checkpoint_conversion/convert_gemma_checkpoints.py Outdated Show resolved Hide resolved
This is sadly a little hacky as the flax support for Gemma 2 is not yet
complete. So output checking will not match up, but we can still convert
checkpoints.
@mattdangerw mattdangerw force-pushed the gemma-2-convertion-support branch from 62145e7 to 5f7af2e Compare July 19, 2024 21:37
@mattdangerw mattdangerw merged commit 9b20c6e into keras-team:master Jul 22, 2024
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gemma Gemma model specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants