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

Feat: Add support for gemma3 and add e2e for gemma2 #2406

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

NanoCode012
Copy link
Collaborator

Description

Requires transformers tag https://github.com/huggingface/transformers/tree/v4.49.0-Gemma-3

pip install git+https://github.com/huggingface/[email protected]

Upstream PR has just been merged: huggingface/transformers#36658

Motivation and Context

How has this been tested?

No, waiting on E2E to verify

Screenshots (if appropriate)

Types of changes

Social Handles (Optional)

@@ -13,7 +13,7 @@ liger-kernel==0.5.3
packaging==23.2

peft==0.14.0
transformers==4.49.0
transformers @ git+https://github.com/huggingface/transformers@v4.49.0-Gemma-3
Copy link
Contributor

Choose a reason for hiding this comment

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

should we point to main if support for Gemma3 has landed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

They recommended this branch. We can also point to main 50d3530aa04e7a7d003e6b255a98f79fd0447357. I just set this initially to see how E2E fairs first.

@winglian
Copy link
Collaborator

We may want to add validation that this doesn't work with liger atm

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.

3 participants