-
Notifications
You must be signed in to change notification settings - Fork 524
[exir] Allow verifiers in _transform #10274
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
[exir] Allow verifiers in _transform #10274
Conversation
This is to allow users to transform an ExportedProgram using passes in places where it may result in a dialect that is not compliant with the original creation context. For example, if an ExportedProgram was created in an edge dialect and now needs to be run and transformed in a way that is not compliant with the EdgeDialectVerifier, such as in a delegate preprocess() function, then the user may want to override the verifier with their own or simply disable it. Differential Revision: [D73205727](https://our.internmc.facebook.com/intern/diff/D73205727/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10274
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 3 New Failures, 1 Cancelled Job, 6 Unrelated FailuresAs of commit a6cb006 with merge base 06f912d ( NEW FAILURES - The following jobs have failed:
CANCELLED JOB - The following job was cancelled. Please retry:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D73205727 |
This is to allow users to transform an ExportedProgram using passes in places where it may result in a dialect that is not compliant with the original creation context. For example, if an ExportedProgram was created in an edge dialect and now needs to be run and transformed in a way that is not compliant with the EdgeDialectVerifier, such as in a delegate preprocess() function, then the user may want to override the verifier with their own or simply disable it. Differential Revision: [D73205727](https://our.internmc.facebook.com/intern/diff/D73205727/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D73205727 |
This is to allow users to transform an ExportedProgram using passes in places where it may result in a dialect that is not compliant with the original creation context. For example, if an ExportedProgram was created in an edge dialect and now needs to be run and transformed in a way that is not compliant with the EdgeDialectVerifier, such as in a delegate preprocess() function, then the user may want to override the verifier with their own or simply disable it. Differential Revision: [D73205727](https://our.internmc.facebook.com/intern/diff/D73205727/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D73205727 |
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.
Can you add a unit test
This is to allow users to transform an ExportedProgram using passes in places where it may result in a dialect that is not compliant with the original creation context. For example, if an ExportedProgram was created in an edge dialect and now needs to be run and transformed in a way that is not compliant with the EdgeDialectVerifier, such as in a delegate preprocess() function, then the user may want to override the verifier with their own or simply disable it. Differential Revision: [D73205727](https://our.internmc.facebook.com/intern/diff/D73205727/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D73205727 |
This is to allow users to transform an ExportedProgram using passes in places where it may result in a dialect that is not compliant with the original creation context. For example, if an ExportedProgram was created in an edge dialect and now needs to be run and transformed in a way that is not compliant with the EdgeDialectVerifier, such as in a delegate preprocess() function, then the user may want to override the verifier with their own or simply disable it. Differential Revision: [D73205727](https://our.internmc.facebook.com/intern/diff/D73205727/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D73205727 |
66b1f8c
into
gh/digantdesai/34/base
Stack from ghstack (oldest at bottom):
This is to allow users to transform an ExportedProgram using passes in places where it may result in a dialect that is not compliant with the original creation context.
For example, if an ExportedProgram was created in an edge dialect and now needs to be run and transformed in a way that is not compliant with the EdgeDialectVerifier, such as in a delegate preprocess() function, then the user may want to override the verifier with their own or simply disable it.
Differential Revision: D73205727