Skip to content

google/gemma-3-1b-it Bringup #2

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

MohammedTaherMcW
Copy link

@MohammedTaherMcW MohammedTaherMcW commented Jul 9, 2025

Ticket

Link to JIRA Issue

Problem description

Enabled Support for Gemma-3-1b-it Model.

What's changed

  • Added support for gemma-3-1b-it model
  • Updated model_config.py to support gemma-3-1b-it (BF16), including end-of-sequence (EoS) token handling and loading via Gemma3CausalLM.
  • Updated load_checkpoints.py to support gemma-3-1b-it weight loading.
  • Modified apply_scaling logic to handle both LLaMA and gemma-3-1b-it model.
  • Added repetition penalty support in common.py.

Checklist

@willwray
Copy link

willwray commented Jul 9, 2025

For review, it is useful to know the origin of the files in the initial commit,
i.e. a link to the source in original form before any changes to port to TT.

E.g. the initial commit could be the original files (with a source link in the commit message)
then a second commit with the initial changes, so they are easy to see in diff view.

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.

2 participants