-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Weightless support for all initializers #29607
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
Chi Lo (chilo-ms)
merged 32 commits into
main
from
chilo-ms/weightless-all-initializers
Aug 10, 2026
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
7464a15
Add weightless support for all initializers (API surface)
chilo-ms fcc0a8d
Update GetWeightlessSupport comment: KernelContext is current path
chilo-ms 966a441
Fix comment: initializers provided at session creation, not inference…
chilo-ms 8729eac
Update session option comments: current JIT path and session creation…
chilo-ms cc481da
Add C APIs for weightless source model (file path and byte buffer)
chilo-ms b586726
Implement weightless source model and compilation APIs
chilo-ms ce87089
Auto-set drop_constant_initializers=false when weightless is enabled
chilo-ms 4a10750
Merge branch 'main' into chilo-ms/weightless-all-initializers
chilo-ms 5cf4612
Add weightless_support EpDevice metadata key and update to version 1.29
chilo-ms 580216a
Merge branch 'main' into chilo-ms/weightless-all-initializers
chilo-ms e54cc91
lintrunner -a
chilo-ms c5ca19b
address reviewer's comments
chilo-ms c69081c
Merge branch 'main' into chilo-ms/weightless-all-initializers
chilo-ms 4ca3f30
remove empty line
chilo-ms 218dba4
address reviewer's comment
chilo-ms 2966bb8
Add OrtEpApi getters for weightless source model path and buffer
chilo-ms 976808f
Remove unused weightless_enabled_ member and constructor query
chilo-ms d448547
Remove SessionOptionsSetWeightlessSourceModelPath and its getter
chilo-ms b2efda1
Add cross-references in API docs and unit tests for weightless APIs
chilo-ms 39c93f2
Add cross-reference to kOrtSessionOptionEpContextSourceModelPath in G…
chilo-ms d461060
add check for plugin ep weightless support
chilo-ms 4842c93
update the check
chilo-ms 41ad01f
add example ep's GetWeightlessSuppor
chilo-ms 6e3fde7
lintrunner -a
chilo-ms fbe8fe4
address reviewer's comments
chilo-ms 0dcf174
address reviewer's comments
chilo-ms 95025ed
address reviewer's comments
chilo-ms c2d1832
address reviewer's comments
chilo-ms c0985fa
update test
chilo-ms 523526f
Rename SetWeightlessMode to SetWeightlessEnabled for consistency with…
chilo-ms bfce65c
Use NOT_IMPLEMENTED instead of EP_FAIL when GetWeightlessSupport is m…
chilo-ms e62d1bd
lintrunner -a
chilo-ms 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
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.
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.