-
Notifications
You must be signed in to change notification settings - Fork 497
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
Enable CoreML by default on macOS wheel builds #9483
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9483
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New Failures, 1 PendingAs of commit 6488b44 with merge base 265b9b7 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
b69b9de
to
40f1586
Compare
899aaa9
to
4e1392f
Compare
a2189cd
to
8401ea6
Compare
4ca7508
to
1ec9fe8
Compare
8401ea6
to
3d18509
Compare
1ec9fe8
to
c953ad3
Compare
eaddcd2
to
dc338bd
Compare
c5b2718
to
a43c12c
Compare
5bc0bdc
to
7e51d3a
Compare
962c878
to
ab60961
Compare
1287a85
to
2f299ac
Compare
52ce71d
to
e7adb4c
Compare
9f1119a
to
840151e
Compare
ce38301
to
6c747a7
Compare
I will update the docs on usage of the install script in another PR. |
6c747a7
to
6488b44
Compare
This is awesome! |
@@ -67,6 +67,8 @@ dependencies=[ | |||
"sympy", | |||
"tabulate", | |||
"typing-extensions", | |||
# Keep this version in sync with: ./backends/apple/coreml/scripts/install_requirements.sh | |||
"coremltools==8.1; platform_system == 'Darwin'", |
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.
Niiice!
echo "${red}ExecuTorch: Failed to install coremltools." | ||
exit 1 | ||
fi | ||
cmake --build "$COREMLTOOLS_DIR_PATH/build" --parallel --target mlmodel |
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.
@YifanShenSZ @cymbalrush -- any reason why we still need to build mlmodel target from source, instead of using directly from pip install coremltools?
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.
It shouldn't be required any more but let me confirm
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.
Okay, let's not block it, but create an GH issue to track this...
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.
Done #9651
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.
Thank you!
### Summary * After #9483, we should have CoreML support out of the box for macOS * Unfortunately, we still need `backends/apple/coreml/scripts/install_requirements.sh` to use the [coreml_executorch_runner](https://github.com/pytorch/executorch/tree/main/examples/apple/coreml/executor_runner) (used for testing) * I should have caught all the usage ### Test plan Read
Summary
Context: #9481
executorchcoreml
pybinding in the buildsTest plan
CI
cc @larryliu0820 @lucylq