-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
[Model] Add support for Gemma 3 #14660
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
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
046e05a
Gemma3 1B working
WoosukKwon 669ae5a
Add modeling_gemma3.py
WoosukKwon e044645
remove
WoosukKwon bd78da5
[TMP] Add HF Gemma 3
WoosukKwon a50c2d5
Fix config:
WoosukKwon d2562cb
[TMP] image input
WoosukKwon 017239e
Update
WoosukKwon de0136a
Update
WoosukKwon 12b7e9d
update
WoosukKwon 26b6199
minor
WoosukKwon b99336a
Remove
WoosukKwon 004dc92
fix
WoosukKwon 2bb965b
Add kwargs
WoosukKwon b119945
Hew HF
WoosukKwon 4c67573
Fix scaling
WoosukKwon d90d410
bidirectional attn
WoosukKwon 366e4b5
sliding window
WoosukKwon 77b9dd7
Remove HF
WoosukKwon f0f8e9d
revert
WoosukKwon 28e757b
add placeholder str
WoosukKwon a935b24
Merge branch 'main' into woosuk-gemma3
WoosukKwon 285ffc4
minor
WoosukKwon 713766b
Add comments
WoosukKwon 6746086
Minor
WoosukKwon 6fa0336
cleanup
WoosukKwon 0384ceb
tmp
WoosukKwon 2beb199
minor
WoosukKwon 64ef15f
Docs
WoosukKwon d92c7c1
ruff
WoosukKwon 82acdcd
Update transformers version
WoosukKwon 2943443
minor
WoosukKwon 635e1a9
Minor
WoosukKwon 02bf606
gg-hf-g -> google
WoosukKwon a4c924b
Merge branch 'main' into woosuk-gemma3
WoosukKwon 7097fa8
Fix example
WoosukKwon ac72f69
minor
WoosukKwon 5ab60d0
minor
WoosukKwon 3c42695
fix docs
WoosukKwon 883c656
minor docs
WoosukKwon 1d2a064
polish
WoosukKwon 0230237
polish
WoosukKwon 32ebaf1
fix reqs
WoosukKwon 4b65deb
Remove hardcoded values
WoosukKwon 7ca73b1
Fix
WoosukKwon d5f2eef
Add min_transformers_version
WoosukKwon a4dbd56
fix
WoosukKwon 2a8e2fa
comment about pas
WoosukKwon 6ecd1ec
fix input indices
ywang96 e2e2a22
fix batch with mixed numbers of images
ywang96 49b29ca
update examples with instruct format
ywang96 4111004
update doc
ywang96 154c24c
Fix registry
DarkLight1337 a2d2062
Update doc
DarkLight1337 d328675
Clean up examples
DarkLight1337 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.