-
Notifications
You must be signed in to change notification settings - Fork 607
[CoreML Backend] Update coreml runner to only profile model when prof… #2574
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/2574
Note: Links to docs will display an error until the docs builds have been completed. ❌ 13 New Failures, 31 Unrelated FailuresAs of commit 6990acd with merge base 3152d7f ( NEW FAILURES - The following jobs have failed:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchbot label ciflow/trunk |
Can't add following labels to PR: ciflow/trunk. Please ping one of the reviewers for help. |
@guangy10 I am unable to add |
@cymbalrush I'm a bit surprised that you were not added to the repo as a contributor. Just added you in. Can you try it again? |
@pytorchbot label ciflow/trunk |
Can't add following labels to PR: ciflow/trunk. Please ping one of the reviewers for help. |
@guangy10 still the same issue |
@pytorchbot label ciflow/trunk |
Can't add following labels to PR: ciflow/trunk. Please ping one of the reviewers for help. |
@cymbalrush will add that tag to unblock. At meanwhile @huydhn can you take a look? |
We have tighten the security when it comes to running CI jobs recently, if you don't have write access to the repo, the CI will not be run by default. You will need to ask the reviewer to approve CI run explicitly, i.e. Once this is approved, then attaching cc @guangy10 For regular contributors to ET that have a proven record, you could consider granting them write access to the repo, then they will not need to ask for CI approval. |
@huydhn Oh, this is sad as relying on pytorchbot to kick off trunk/periodic jobs will be meaningless. That doesn't sound a good move, especially for ET which is not in GH1st. |
@cymbalrush FYI, I granted you the write permission to unblock. |
I am seeing failures unrelated to the PR, the changes in the PR just touch the CoreML runner, the failure is happening at quant_fusion_pass.py packages/executorch/exir/passes/init.py", line 45, in |
c9afd57
to
8487a33
Compare
@pytorchbot label ciflow/trunk |
@cymbalrush That's irrelevant and it's an known issue that the team is proactively working on. Maybe rebase and test off the stable branch ( |
…ile_model option is set
8487a33
to
6990acd
Compare
@shoumikhin has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@shoumikhin merged this pull request in 8532e79. |
The CoreML executor would profile the model by default, this causes an issue when the installed sdk < 14.4. Model execution fails as profiling is only available for >= 14.4 and on older sdk it returns an error.
This addresses the issue by fixing the default option and only profiling when
profiling_model
option is set.