Skip to content

Conversation

@skottmckay
Copy link
Contributor

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.

…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)
@skottmckay skottmckay requested a review from a team as a code owner February 12, 2021 07:23
…xplicitInclusionOfCustomOpSupportInMinimalBuild
edgchen1
edgchen1 previously approved these changes Feb 12, 2021
Copy link
Contributor

@edgchen1 edgchen1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

guoyu-wang
guoyu-wang previously approved these changes Feb 12, 2021
Copy link
Contributor

@guoyu-wang guoyu-wang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@skottmckay skottmckay merged commit 25f7c93 into master Feb 13, 2021
@skottmckay skottmckay deleted the skottmckay/RequireExplicitInclusionOfCustomOpSupportInMinimalBuild branch February 13, 2021 02:42
# 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:
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants