Add partitioner, preprocess, and default passes (#21442) - #21442
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21442
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit db8fe18 with merge base c6213ae ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@metascroy has exported this pull request. If you are a Meta employee, you can view the originating Diff in D111753291. |
This PR needs a
|
Summary: NativePartitioner claims core ATen ops plus a small non-core opt-in set (matmul/linear/addmm/sdpa) and preserves them via ops_to_not_decompose. NativeBackend.preprocess serializes the delegated subgraph and ships constants through the NamedDataStore by fqn. get_default_passes() runs CSE, view_copy collapsing, and reinplace as pre-lowering transform passes. Differential Revision: D111753291
0c3b82d to
19b3d90
Compare
Summary: NativePartitioner claims core ATen ops plus a small non-core opt-in set (matmul/linear/addmm/sdpa) and preserves them via ops_to_not_decompose. NativeBackend.preprocess serializes the delegated subgraph and ships constants through the NamedDataStore by fqn. get_default_passes() runs CSE, view_copy collapsing, and reinplace as pre-lowering transform passes. Differential Revision: D111753291
19b3d90 to
78c0c8d
Compare
digantdesai
left a comment
There was a problem hiding this comment.
Review automatically exported from Phabricator review in Meta.
Summary: NativePartitioner claims core ATen ops plus a small non-core opt-in set (matmul/linear/addmm/sdpa) and preserves them via ops_to_not_decompose. NativeBackend.preprocess serializes the delegated subgraph and ships constants through the NamedDataStore by fqn. get_default_passes() runs CSE, view_copy collapsing, and reinplace as pre-lowering transform passes. Reviewed By: digantdesai Differential Revision: D111753291
78c0c8d to
db8fe18
Compare
Summary:
NativePartitioner claims core ATen ops plus a small non-core opt-in set
(matmul/linear/addmm/sdpa) and preserves them via ops_to_not_decompose.
NativeBackend.preprocess serializes the delegated subgraph and ships constants
through the NamedDataStore by fqn. get_default_passes() runs CSE, view_copy
collapsing, and reinplace as pre-lowering transform passes.
Reviewed By: digantdesai
Differential Revision: D111753291