Uh oh!
There was an error while loading. Please reload this page.
Enable CoreML by default on macOS wheel builds - #9483
Merged
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. |
jathuforce-pushed
the
jathu/include-inmemoryfs
branch
from
March 21, 2025 02:49
b69b9de to
40f1586Comparejathuforce-pushed
the
jathu/include-inmemoryfs
branch
5 times, most recently
from
March 21, 2025 03:40
899aaa9 to
4e1392fComparejathuforce-pushed
the
jathu/inmemoryfs-binding
branch
from
March 21, 2025 03:42
a2189cd to
8401ea6Comparejathuforce-pushed
the
jathu/include-inmemoryfs
branch
2 times, most recently
from
March 21, 2025 03:47
4ca7508 to
1ec9fe8Comparejathuforce-pushed
the
jathu/inmemoryfs-binding
branch
from
March 21, 2025 03:51
8401ea6 to
3d18509Comparejathuforce-pushed
the
jathu/include-inmemoryfs
branch
from
March 21, 2025 03:52
1ec9fe8 to
c953ad3Comparejathuforce-pushed
the
jathu/inmemoryfs-binding
branch
3 times, most recently
from
March 21, 2025 14:57
eaddcd2 to
dc338bdComparejathuforce-pushed
the
jathu/include-inmemoryfs
branch
2 times, most recently
from
March 21, 2025 15:19
c5b2718 to
a43c12cComparejathuforce-pushed
the
jathu/inmemoryfs-binding
branch
2 times, most recently
from
March 25, 2025 00:11
5bc0bdc to
7e51d3aComparejathuforce-pushed
the
jathu/include-inmemoryfs
branch
2 times, most recently
from
March 25, 2025 00:24
962c878 to
ab60961Comparejathuforce-pushed
the
jathu/inmemoryfs-binding
branch
2 times, most recently
from
March 25, 2025 01:52
1287a85 to
2f299acComparejathuforce-pushed
the
jathu/include-inmemoryfs
branch
2 times, most recently
from
March 25, 2025 15:01
52ce71d to
e7adb4cComparejathuforce-pushed
the
jathu/include-inmemoryfs
branch
2 times, most recently
from
March 26, 2025 03:40
9f1119a to
840151eComparejathuforce-pushed
the
jathu/include-inmemoryfs
branch
from
March 26, 2025 15:05
ce38301 to
6c747a7Comparejathu
commented
Mar 26, 2025
ContributorAuthor
I will update the docs on usage of the install script in another PR. |
jathu
marked this pull request as ready for review
March 26, 2025 15:07
jathuforce-pushed
the
jathu/include-inmemoryfs
branch
from
March 26, 2025 15:31
6c747a7 to
6488b44Comparemergennachin
commented
Mar 26, 2025
Contributor
This is awesome! |
| "tabulate", | ||
| "typing-extensions", | ||
| # Keep this version in sync with: ./backends/apple/coreml/scripts/install_requirements.sh | ||
| "coremltools==8.1; platform_system == 'Darwin'", |
| echo "${red}ExecuTorch: Failed to install coremltools." | ||
| exit 1 | ||
| fi | ||
| cmake --build "$COREMLTOOLS_DIR_PATH/build" --parallel --target mlmodel |
Contributor
There was a problem hiding this comment.
@YifanShenSZ@cymbalrush -- any reason why we still need to build mlmodel target from source, instead of using directly from pip install coremltools?
Contributor
There was a problem hiding this comment.
It shouldn't be required any more but let me confirm
Contributor
There was a problem hiding this comment.
Okay, let's not block it, but create an GH issue to track this...
mergennachin
approved these changes
Mar 26, 2025
jathu added a commit
that referenced
this pull request
Mar 26, 2025
### 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
kirklandsign pushed a commit
that referenced
this pull request
Apr 11, 2025
### Summary Context: #9481 * Include the `executorchcoreml` pybinding in the builds * Remove separate installation option * Turn on CoreML by default for macOS builds * Add a dependency on coremltools for macOS ### Test plan CI ``` $ rm -rf cmake-out pip-out dist && ./install_executorch.sh $ ./examples/models/llama/install_requirements.sh $ .ci/scripts/test_llama.sh -model stories110M -build_tool cmake -dtype fp32 -mode coreml $ .ci/scripts/test_llama.sh -model stories110M -build_tool cmake -dtype fp32 -mode xnnpack+custom+quantize_kv ``` cc @larryliu0820@lucylq
kirklandsign pushed a commit
that referenced
this pull request
Apr 11, 2025
### 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Context: #9481
executorchcoremlpybinding in the buildsTest plan
CI
cc @larryliu0820@lucylq