-
Notifications
You must be signed in to change notification settings - Fork 608
Fix compilation crash on iOS<16 #7007
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
Summary: Added conditional compilation to mitigate a crash on iOS<16 where the used function is not present. Fixes pytorch#6984 Bonus: report back the error in case of compilation errors, which was missing Differential Revision: D66294248
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7007
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 3 New FailuresAs of commit 8f75eef with merge base 270d055 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D66294248 |
@pytorchbot label "module: coreml" |
@pytorchbot label "release notes: backends" |
return nil; | ||
} | ||
} else { | ||
result = [MLModel compileModelAtURL:modelURL error:&localError]; |
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.
This doesn't have the timeout logic, but it was crashing before, so I think we can go with this for now to mitigate the issue and improve it later.
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! Is iOS 15 the minimum deployment target, I always thought it's iOS 16
@cymbalrush Thank you for the review :) I think it is iOS 13 |
Summary:
Added conditional compilation to mitigate a crash on iOS<16 where the used function is not present.
Fixes #6984
Bonus: report back the error in case of compilation errors, which was missing
Differential Revision: D66294248