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.
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
[onnxruntime/build] Add new flag enable_generic_interface to build primary EPs by default #23342
base: main
Are you sure you want to change the base?
[onnxruntime/build] Add new flag enable_generic_interface to build primary EPs by default #23342
Changes from all commits
bedddca
3cbbbf3
6e2f5d5
18950fb
17bceec
558df87
80c2c62
13952af
b971005
f53f373
18984d8
720280f
73c175c
f8b75b2
8210cd0
2115536
955bbae
7cfa2e2
c8ae7e6
bb115e5
1a4f582
9857e34
9f52af7
6761a93
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I think we should have a CI build that builds onnxruntime with this
--enable_generic_interface
option (without explicitly enabling any EPs). This would help us ensure that the basic build works and would catch future regressions. Let me see if I can think of where we could add this.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.
Maybe we can add a new build stage to the existing Windows CPU CI Pipeline: https://github.com/microsoft/onnxruntime/blob/06fc73b7d4d80bd97e140776590d98b868c7bc3a/tools/ci_build/github/azure-pipelines/win-ci-pipeline.yml#L160C1-L179C1
Maybe something like:
Do you think this is appropriate @snnn ?
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.
And maybe in a future PR, we could enable
--enable_generic_interface
with each EP combination and run unit tests. That is:--enable_generic_interface --use_tensorrt
and run unit tests--enable_generic_interface --use_qnn
and run unit testsWe would have to allow building unit tests with
--enable_generic_interface
as long as only we're only building with one non-cpu EP.Just a thought.
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.
That's a good consideration.
Few Qs?
Check warning on line 1547 in tools/ci_build/build.py
GitHub Actions / Optional Lint