-
Notifications
You must be signed in to change notification settings - Fork 404
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
Move MacOS CI to M1 runners #2225
Conversation
Also, looks like py3.9 is not supported on |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2225 +/- ##
=======================================
Coverage 99.87% 99.87%
=======================================
Files 188 188
Lines 16744 16744
=======================================
Hits 16723 16723
Misses 21 21 ☔ View full report in Codecov by Sentry. |
Hmm, interesting test failure here, can't repro this on my M1 laptop. May just adjust the tolerances a bit here. |
Pytorch is planning to stop nightly builds for Intel Macs: pytorch/pytorch#114602 This PR updates the mac runners to `macos-14`, which is the only public GHA runner for Mac M1s: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-private-repositories
This was rather aggressive, and apparently the numerics on the macos-14 runner are slightly different.
atol = 1e-7 if dtype == torch.double else 3e-7 | ||
rtol = 1e-4 if dtype == torch.double else 4e-4 |
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.
Updated these; they were rather tight, and apparently the numerics on the macos-14 runner are slightly different so that this ended up failing without these changes.
@Balandat has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Pytorch is planning to stop nightly builds for Intel Macs: pytorch/pytorch#114602
This PR updates the mac runners to
macos-14
, which is the only public GHA runner for Mac M1s: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-private-repositoriesNote: Python 3.9 is not available on the
macos-14
runners, so testing on py3.9 is disabled on those by excluding that combo from the test matrix. Once we bump up the minimum supported python version to 3.10 we can remove this added complexity.