-
Notifications
You must be signed in to change notification settings - Fork 689
Core ML doc updates #15073
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
Core ML doc updates #15073
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15073
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 71 PendingAs of commit 1662b25 with merge base a6a6dfb ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
@@ -0,0 +1,5 @@ | |||
# Op support | |||
|
|||
The Core ML backend supports almost all PyTorch operators. |
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.
Is there a reference to the coreml repo page or something we want to link 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.
Not a doc page. There is a code page that people can search, but we'd also need to keep it synced with the commit that ET uses.
They also have a python utility that you can use to query whether an op is supported and this is what the partitioner uses.
from executorch.backends.apple.coreml.partition import CoreMLPartitioner | ||
from executorch.exir import to_edge_transform_and_lower | ||
|
||
mobilenet_v2 = models.mobilenetv2.mobilenet_v2(weights=MobileNet_V2_Weights.DEFAULT).eval() |
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.
curious, not v3?
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.
I didn't change the content, just rearranged into different places.
When I first put this page together for 0.6 I matched the example that XNNPACK used (which was mv2 I guess)
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.
Thanks @metascroy for a quick turn around on the new template.
@pytorchbot cherry-pick --onto release/1.0 -c docs |
CoreML doc updates (cherry picked from commit 11c0b4f)
Cherry picking #15073The cherry pick PR is at #15175 The following tracker issues are updated: Details for Dev Infra teamRaised by workflow job |
CoreML doc updates