Skip to content

Conversation

metascroy
Copy link
Contributor

CoreML doc updates

Copy link

pytorch-bot bot commented Oct 13, 2025

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

As of commit 1662b25 with merge base a6a6dfb (image):
💚 Looks good so far! There are no failures yet. 💚

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

@meta-cla meta-cla 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 Oct 13, 2025
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@@ -0,0 +1,5 @@
# Op support

The Core ML backend supports almost all PyTorch operators.
Copy link
Contributor

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?

Copy link
Contributor Author

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()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious, not v3?

Copy link
Contributor Author

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)

Copy link
Contributor

@digantdesai digantdesai left a 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.

@metascroy metascroy merged commit 11c0b4f into main Oct 15, 2025
128 of 146 checks passed
@metascroy metascroy deleted the scroy-cml-doc branch October 15, 2025 23:11
@metascroy
Copy link
Contributor Author

@pytorchbot cherry-pick --onto release/1.0 -c docs

pytorchbot pushed a commit that referenced this pull request Oct 15, 2025
CoreML doc updates

(cherry picked from commit 11c0b4f)
@pytorchbot
Copy link
Collaborator

Cherry picking #15073

The cherry pick PR is at #15175 The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants