-
Notifications
You must be signed in to change notification settings - Fork 751
Enumerated shape #13613
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
Enumerated shape #13613
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13613
Note: Links to docs will display an error until the docs builds have been completed. ❌ 4 New FailuresAs of commit d562816 with merge base 3db27cd ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@metascroy has imported this pull request. If you are a Meta employee, you can view this in D80848324. |
This PR needs a
|
cccclai
left a comment
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
|
@metascroy has imported this pull request. If you are a Meta employee, you can view this in D80848324. |
|
@metascroy has imported this pull request. If you are a Meta employee, you can view this in D80848324. |
Summary
This adds enumerated shape support for ExecuTorch's CoreML backend.
The CoreML backend supports dynamic shapes for the CPU/GPU. This enables enumerated shapes to support limit dynamism on the ANE.
These are done via compile specs:
At runtime, one of the enumerated shapes must be supplied, or an error will occur.
Test plan
New E2E tests