-
Notifications
You must be signed in to change notification settings - Fork 688
[Executorch][Export][2/N] Add to_edge and to_backend stages #12937
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
[Executorch][Export][2/N] Add to_edge and to_backend stages #12937
Conversation
Address (6) in the rfc: #12660 1. Adds stage implementations for `to_edge` and `to_backend` 2. Adds unit tests for the two stages 3. Adds these two stages in the validation pipeline. Fixes #12932 Differential Revision: [D79120576](https://our.internmc.facebook.com/intern/diff/D79120576/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/12937
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 22 PendingAs of commit 9165f44 with merge base f497f7f ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D79120576 |
Address (6) in the rfc: #12660 1. Adds stage implementations for `to_edge` and `to_backend` 2. Adds unit tests for the two stages 3. Adds these two stages in the validation pipeline. Fixes #12932 Differential Revision: [D79120576](https://our.internmc.facebook.com/intern/diff/D79120576/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D79120576 |
This PR needs a
|
|
||
@property | ||
def valid_predecessor_stages(self) -> List["StageType"]: | ||
return [StageType.TO_EDGE] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nvm I see this here :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Address (6) in the rfc: #12660 1. Adds stage implementations for `to_edge` and `to_backend` 2. Adds unit tests for the two stages 3. Adds these two stages in the validation pipeline. Fixes #12932 Differential Revision: [D79120576](https://our.internmc.facebook.com/intern/diff/D79120576/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D79120576 |
Address (6) in the rfc: #12660 1. Adds stage implementations for `to_edge` and `to_backend` 2. Adds unit tests for the two stages 3. Adds these two stages in the validation pipeline. Fixes #12932 Differential Revision: [D79120576](https://our.internmc.facebook.com/intern/diff/D79120576/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D79120576 |
d35b8ce
into
gh/abhinaykukkadapu/2/base
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: #12937 by @abhinaykukkadapu ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/abhinaykukkadapu/2/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/abhinaykukkadapu/2/head Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/abhinaykukkadapu/1/orig Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/abhinaykukkadapu/2/orig @diff-train-skip-merge Co-authored-by: Abhinay Kukkadapu <[email protected]>
Stack from ghstack (oldest at bottom):
Address (6) in the rfc: #12660
to_edge
andto_backend
Fixes #12932
Differential Revision: D79120576