-
Notifications
You must be signed in to change notification settings - Fork 164
[OpenVINO] Add support for Granite-4.0 family (incl. models with MoE and Mamba2) #1514
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
echarlaix
merged 26 commits into
huggingface:main
from
rkazants:support_granitemoehybrid
Dec 10, 2025
+359
−44
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e79f9d4
[OpenVINO] Add support for Granite-4.0 family (incl. models with MoE …
rkazants 28f2cfa
Update tests/openvino/test_decoder.py
rkazants 695c633
Apply formatting
rkazants a734beb
Merge remote-tracking branch 'upstream/main' into support_granitemoeh…
rkazants 46238a5
Fix conversion of fully attention-based Granite 4.0
rkazants e8967e1
Update documentation
rkazants d0f907e
Add tests
rkazants 66cc1af
Update tests/openvino/utils_tests.py
rkazants 8f3604a
Fix patching for MoE
rkazants 284e6a2
Update tests/openvino/test_decoder.py
rkazants 9f0004b
Support use_cache=True and stateful=False
rkazants 1a57834
Apply formatting
rkazants 17b6b8a
Merge remote-tracking branch 'upstream/main' into support_granitemoeh…
rkazants adf88a6
Apply code-formatting
rkazants 9ae29e5
Fix syntax error
rkazants c0a6946
Patch update_causal_mask for GraniteMoeHybrid
rkazants b766fe5
Add a comment - why patch for update_causal_mask is needed
rkazants a0de668
Exclude beam search test for GraniteMoeHybrid
rkazants 368f985
Update minimal supported version for GraniteMoeHybrid
rkazants 625db96
Added a comment about lack support for beam search for hyrbid models
rkazants a4faee5
Simplify constructor for Zamba2HybridCacheDummyGenerator
rkazants 9080055
Simplify Inference class for hybrid models
rkazants 9db39e8
Update optimum/intel/openvino/modeling_decoder.py
rkazants 53d8509
Clarify attributes in config
rkazants bcdbabb
Clarify attributes in modeling_decoder
rkazants 5d7c2ca
Update optimum/exporters/openvino/__main__.py
rkazants 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
Some comments aren't visible on the classic Files Changed page.
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
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.