Skip to content

Conversation

ZainRizvi
Copy link
Contributor

Removing dependency on self-hosted macOS runners, in prep for migration to meta-pytorch org

Removing dependency on self-hosted macOS runners, in prep for migration to meta-pytorch org
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 10, 2025
@ZainRizvi ZainRizvi marked this pull request as draft September 10, 2025 22:55
@ZainRizvi ZainRizvi marked this pull request as ready for review September 10, 2025 23:36
@ZainRizvi ZainRizvi requested a review from scotts September 10, 2025 23:36
@Dan-Flores
Copy link
Contributor

Thanks for the PR @ZainRizvi! I'll let @scotts review as well, but I had some questions about this change.

  • Will this migration affect the availability, support, or performance of the runners?
  • Will there be similar changes to the other runners (linux, windows)?

smoke-test-script: packaging/fake_smoke_test.py
runner-type: macos-m1-stable
runner-type: macos-14
setup-miniconda: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is miniconda needed here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main workflow expects miniconda to be pre-installed on the host. All our self-hosted mac runners have miniconda pre-installed on them, so this flag wasn't needed. The github hosted runners don't have it though, so we pass in this flag to install it.

@ZainRizvi
Copy link
Contributor Author

Hey @Dan-Flores this should actually give you better availability for the mac runners, since the jobs will be moving to the github hosted macos runners instead of using the self-hosted ones that we have a fixed supply of and do not autoscale. Most immediately, you'll likely notice that these runners will have much lower queue times.

Linux/windows self-hosted runners are auto-scaled and will not be changed.

Copy link
Contributor

@scotts scotts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ZainRizvi, thanks for making this work!

@scotts scotts merged commit 4a842f9 into main Sep 12, 2025
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants