-
Notifications
You must be signed in to change notification settings - Fork 551
[ET-VK][Op Redesign][4/n] Merge ArithmeticNode into ExecuteNode #2247
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
Conversation
This diff moves the logic of `ArithmeticNode` into its corresponding OpFunction `add_arithmetic_node()` and the `ExecuteNode` class. Our aim is to remove all derived classes of `ExecuteNode`, i.e., to make `ExecuteNode` a final class. All operator-specific logic will be handled in the OpFunction. Note the next change will move `StagingNode` into its OpFunction + this new ExecuteNode implementation. Until then, we can't tidy up the `ExecuteNode` class fully. Finally, we leave a few task TODOs. Differential Revision: [D53982441](https://our.internmc.facebook.com/intern/diff/D53982441/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/2247
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 7 PendingAs of commit df40507 with merge base 566209d ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D53982441 |
This diff moves the logic of `ArithmeticNode` into its corresponding OpFunction `add_arithmetic_node()` and the `ExecuteNode` class. Our aim is to remove all derived classes of `ExecuteNode`, i.e., to make `ExecuteNode` a final class. All operator-specific logic will be handled in the OpFunction. Note the next change will move `StagingNode` into its OpFunction + this new ExecuteNode implementation. Until then, we can't tidy up the `ExecuteNode` class fully. Finally, we leave a few task TODOs. Differential Revision: [D53982441](https://our.internmc.facebook.com/intern/diff/D53982441/) ghstack-source-id: 217394061 Pull Request resolved: #2247
…eNode" This diff moves the logic of `ArithmeticNode` into its corresponding OpFunction `add_arithmetic_node()` and the `ExecuteNode` class. Our aim is to remove all derived classes of `ExecuteNode`, i.e., to make `ExecuteNode` a final class. All operator-specific logic will be handled in the OpFunction. Note the next change will move `StagingNode` into its OpFunction + this new ExecuteNode implementation. Until then, we can't tidy up the `ExecuteNode` class fully. Finally, we leave a few task TODOs. Differential Revision: [D53982441](https://our.internmc.facebook.com/intern/diff/D53982441/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D53982441 |
Pull Request resolved: #2247 This diff moves the logic of `ArithmeticNode` into its corresponding OpFunction `add_arithmetic_node()` and the `ExecuteNode` class. Our aim is to remove all derived classes of `ExecuteNode`, i.e., to make `ExecuteNode` a final class. All operator-specific logic will be handled in the OpFunction. Note the next change will move `StagingNode` into its OpFunction + this new ExecuteNode implementation. Until then, we can't tidy up the `ExecuteNode` class fully. Finally, we leave a few task TODOs. ghstack-source-id: 217439330 @exported-using-ghexport Differential Revision: [D53982441](https://our.internmc.facebook.com/intern/diff/D53982441/)
This pull request has been merged in 862f755. |
Stack from ghstack (oldest at bottom):
This diff moves the logic of
ArithmeticNode
into its corresponding OpFunctionadd_arithmetic_node()
and theExecuteNode
class.Our aim is to remove all derived classes of
ExecuteNode
, i.e., to makeExecuteNode
a final class. All operator-specific logic will be handled in the OpFunction.Note the next change will move
StagingNode
into its OpFunction + this new ExecuteNode implementation. Until then, we can't tidy up theExecuteNode
class fully. Finally, we leave a few task TODOs.Differential Revision: D53982441