馃殌 The feature, motivation and pitch
Currently, there are three ways a user can enable the selective build process:
- Disable selective build and include all operators.
- Specify a string list of operators.
- Provide a YAML file to enumerate which operators and dtypes should be included.
- Provide a exported model (pte) to tailor the executorch build to the operators and tensor dtypes used in the model.
Right now, these APIs are treated as mutually exclusive, but there are use cases where a mixture of methods would be desirable. It would be ideal if there was a clearer/default way to enable selective builds without exposing too much of the configuration burden onto a user.
Example Use Case
A user wants to run two different models, where the second model only contains one differing operator. The user could determine the complete union of operators used by the two models, and manually specify them using the list API, but it would be easier if they could simply pass in one of the models and augment the selected operator set with the single differing operator (i.e. use the model API in conjunction with the list API).
Alternatives
No response
Additional context
No response
RFC (Optional)
No response
馃殌 The feature, motivation and pitch
Currently, there are three ways a user can enable the selective build process:
Right now, these APIs are treated as mutually exclusive, but there are use cases where a mixture of methods would be desirable. It would be ideal if there was a clearer/default way to enable selective builds without exposing too much of the configuration burden onto a user.
Example Use Case
A user wants to run two different models, where the second model only contains one differing operator. The user could determine the complete union of operators used by the two models, and manually specify them using the list API, but it would be easier if they could simply pass in one of the models and augment the selected operator set with the single differing operator (i.e. use the model API in conjunction with the list API).
Alternatives
No response
Additional context
No response
RFC (Optional)
No response