Skip to content

Use Windows ARM64 hosted runners #132546

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

Merged
merged 4 commits into from
Apr 16, 2025
Merged

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Apr 15, 2025

These are now in "public preview" for public repos:

https://github.blog/changelog/2025-04-14-windows-arm64-hosted-runners-now-available-in-public-preview/

To use them, we use runs-on: windows-11-arm instead of windows-latest.

This means we can test ARM64 for both upstream and forks, and simplify the CI config.

@hugovk
Copy link
Member Author

hugovk commented Apr 15, 2025

This new windows-11-arm runner is a standard sized one with 4 CPUs, and the old windows-aarch64 is a larger runner with 8 CPUs.

Time comparison:

job windows-11-arm windows-aarch
Regular test 15m15s 11m43s
Free-threaded test 21m54s 14m16s
JIT debug 19m02s 13m55s
JIT release 17m54s 13m31s

This is similar to the other Windows jobs, which take around ~18m-24m.

There are larger images available, but it's unclear if these are paid:

In partnership with Arm, there is now a Windows 11 desktop arm64 image with preinstalled tools available for all GitHub runner sizes, including both the new free offering and our existing arm64 larger runners. To use the new image on larger runners, you can create a new runner and select the Microsoft Windows 11 Desktop by Arm Limited image in the Images console.

https://github.blog/changelog/2025-04-14-windows-arm64-hosted-runners-now-available-in-public-preview/#images-for-arm64-larger-runners

@hugovk hugovk marked this pull request as ready for review April 15, 2025 10:25
@ewdurbin
Copy link
Member

ewdurbin commented Apr 15, 2025

The current spend rate on ARM is astonishing. The performance penalty is unfortunate, but moving to the free runners is definitely the right move.

Co-authored-by: Diego Russo <diego.russo@arm.com>
Copy link
Member

@brandtbucher brandtbucher left a comment

Choose a reason for hiding this comment

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

JIT workflow looks good.

@hugovk hugovk merged commit 10a7761 into python:main Apr 16, 2025
63 checks passed
@hugovk hugovk deleted the 3.14-windows-11-arm branch April 16, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants