Skip to content
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

[ET-VK][Op Redesign][4/n] Merge ArithmeticNode into ExecuteNode #2247

Closed
wants to merge 2 commits into from

Conversation

jorgep31415
Copy link
Contributor

@jorgep31415 jorgep31415 commented Mar 4, 2024

Stack from ghstack (oldest at bottom):

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

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]
Copy link

pytorch-bot bot commented Mar 4, 2024

🔗 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 Pending

As of commit df40507 with merge base 566209d (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 4, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53982441

jorgep31415 added a commit that referenced this pull request Mar 4, 2024
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]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53982441

jorgep31415 added a commit that referenced this pull request Mar 5, 2024
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/)
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 862f755.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants