-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Require explicit inclusion of custom op support in a minimal build #6663
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
Require explicit inclusion of custom op support in a minimal build #6663
Conversation
…ntribute too much binary growth to an Android build. Add ability to explicitly enable custom op support in a minimal build. Change one minimal build CI to test adding custom op support (unit tests are run in that build to validate)
…xplicitInclusionOfCustomOpSupportInMinimalBuild
edgchen1
left a comment
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.
![]()
guoyu-wang
left a comment
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.
![]()
| # Disable python tests in a reduced build as we don't know which ops have been included and which | ||
| # models can run | ||
| if args.include_ops_by_config or args.minimal_build != 'off': | ||
| if args.include_ops_by_config or args.minimal_build: |
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.
one more place to update to args.minimal_build is not None
Description:
Remove support from custom ops from the base minimal build as they contribute too much binary growth to an Android build.
Add ability to explicitly enable custom op support in a minimal build.
Change one minimal build CI to test adding custom op support (unit tests are run in that build to validate)
Motivation and Context
Reduce base minimal build size on Android.