-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Enable QNN EP weight sharing generation using public API #23702
base: main
Are you sure you want to change the base?
Conversation
…s if ep.share_ep_contexts is enabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can commit the suggested changes from lintrunner.
} | ||
|
||
Ort::SessionOptions so; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
Ort::SessionOptions so; | |
} | |
Ort::SessionOptions so; |
EXPECT_TRUE(file_size_2 > file_size_1); | ||
|
||
// clean up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EXPECT_TRUE(file_size_2 > file_size_1); | |
// clean up | |
EXPECT_TRUE(file_size_2 > file_size_1); | |
// clean up |
Description
Enable QNN EP weight sharing generation using public API instead of internal interfaces, so that user can integrate into their own toolchain.
Change the tool name from onnxruntime_qnn_ctx_gen to ep_weight_sharing_ctx_gen, so that it can be shared for other EPs.