Skip to content

Support for gemma3 model#1374

Merged
baijumeswani merged 3 commits into
mainfrom
baijumeswani/gemma
Apr 8, 2025
Merged

Support for gemma3 model#1374
baijumeswani merged 3 commits into
mainfrom
baijumeswani/gemma

Conversation

@baijumeswani
Copy link
Copy Markdown
Collaborator

This pull request adds support for the gemma 3 model.

  • It adds the gemma processor that prepares the inputs for the vision component
  • It updates the multi modal model code to support gemma input shapes
  • It adds support for both the gemma text as well as the multimodal model.

Comment thread src/models/model.cpp Outdated
Comment thread src/models/model.cpp Outdated
Comment thread src/models/multi_modal.h
Comment thread src/models/multi_modal_features.cpp
Comment thread src/models/multi_modal_features.cpp Outdated
@baijumeswani baijumeswani merged commit ab3dd3d into main Apr 8, 2025
14 checks passed
@baijumeswani baijumeswani deleted the baijumeswani/gemma branch April 8, 2025 21:24
@baijumeswani
Copy link
Copy Markdown
Collaborator Author

Thank you for the review. :)

aciddelgado pushed a commit that referenced this pull request Apr 10, 2025
aciddelgado pushed a commit that referenced this pull request Apr 10, 2025
aciddelgado added a commit that referenced this pull request Apr 10, 2025
kunal-vaishnavi added a commit that referenced this pull request Dec 20, 2025
### Description

This PR adds a tutorial to show how to create the ONNX models for
Gemma-3 vision (4B, 12B, 27B).

### Motivation and Context

This PR requires the changes from the following PRs.
- #1374
- #1687
- #1701
- #1786

This PR also resolves the following issues.
- #1329
- #1536
- #1655
- #1698
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