Repository navigation
Add Windows ARM64 GHA runner - #31867
Conversation
347124c to
f6d4929
Compare
adrinjalali
left a comment
There was a problem hiding this comment.
need a commit with [cd build] message to test the wheel builds
Fixes issue : scikit-learn#30567
f6d4929 to
721947f
Compare
|
@vask2108 please never force push here. It makes reviews harder, and we squash and merge anyway. This can be put as a draft PR since I don't think we should really look at it much until our dependencies have all the wheels available first. |
|
@adrinjalali As it was cosmetic change, I did a the force push. But I can understand the inconvenience, I will definitely avoid next time. What I understand from your response is that, you would like to wait for SciPy (dependency) wheel to be available in PyPI to proceed further with this PR? Until then, you consider this as draft PR. I don't think any other dependency wheel is pending apart from SciPy Is my understanding is correct? Thank you. |
|
Yes, that sounds about right. |
ogrisel
left a comment
There was a problem hiding this comment.
Thanks for the PR. I took a look at the diff and scanned the CI outputs, and it looks good to me.
But I would also rather wait for SciPy to publish a stable release with Windows ARM64 wheels to avoid having to rely on the sed-based hackish workaround in our CI config.
However, if a downstream project of scikit-learn would like to have access to nightly Windows ARM64 builds before that happens, I am fine with merging that PR earlier.
| miniforge-version: latest | ||
|
|
||
| # PyPI not yet hosting SciPy wheel as WoA PR of SciPy recently merged. | ||
| # This workaround will be removed once PyPI hosts SciPy wheel. |
There was a problem hiding this comment.
| # This workaround will be removed once PyPI hosts SciPy wheel. | |
| # TODO: remove this workaround once PyPI hosts SciPy wheel. |
|
+1 for waiting for a scipy release with Windows arm wheels. According to scipy/scipy#23122 (comment) a scipy release with Windows arm wheels may happen some time in September 2025. |
Remove SciPy wheel workaround Fixes issue : scikit-learn#30567
|
@adrinjalali @ogrisel @lesteve Now I have removed SciPy wheel work around as new SciPy Wheel for Windows ARM64 officially available now in release 1.16.2 Thank you. |
|
We usually update PRs with a simple merge from main. The PR itself will be squashed and merged at the end of the review. |
|
Once synced with main, please add the new entries for python 314 and 314t. |
Add python 314 and 314t. Fixes issue : scikit-learn#30567
|
@ogrisel Thank you. |
|
@ogrisel |
|
@adrinjalali Thank you. |
|
Any plans on this being merged? |
|
As far I can tell this is an organized effort to push for Windows ARM64 wheels across the Python ecosystem, see e.g. https://github.com/khmyznikov/PyEnv-WoA-State/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen. This personally makes me cringe a little bit because I feel like people involved in this effort are being way too pushy compared to the importance of this right now. When I asked around, the answer I got is that Windows ARM64 machines were not widely available right now although this may change in the future (a rough timeline would be useful because this is outside my expertise). It would be very nice if @vask2108 and @khmyznikov would explicly state that they will be available to help when we (and other projects) will encounter weird issues on Windows ARM64, which will likely happen in the future. I would also personally find it good practice to disclose the funding behind this. Maybe I am wrong, but I am a bit skeptical that this is a volunteer-based grass-root effort. |
|
Thanks for bringing this up, @lesteve. Regarding device availability, if you check your local store (not sure which country you're in), you'll see plenty of machines already available. For example, in France, there are lots in stock, and more are coming soon. As for the organized effort, it's a mix of enthusiastic individuals, corporate contributors, and non-profits. I created the repo to help passionate folks collaborate, avoid duplicated work, and build together. People like @Greenie0701 are volunteering their time, and we also have engineers from Microsoft, Arm, QC and organizations like Linaro involved. So yes, this is a serious effort and it's here to stay. About the pace; it might seem rushed, but honestly, we’re already behind. Devices are out, but the dev environment isn’t fully ready. We can’t enable libraries one by one, it would take years. Some take months due to release cycles. That’s why we’re pushing across multiple fronts to move the platform forward in a reasonable timeframe. |
|
The macos CI is stuck because of the unrelated #32279. |
|
Windows ARM is projected to reach 20% of the market share of Windows laptops in 2025 (growing from 18% in 2024). Since we already support ARM for Linux and macOS I see no reason not to support it for Windows as there is no significant extra complexity to support Windows ARM in the CI config. |
|
Ok, so let's merge this one and see if it breaks too often, we'll remove it before the next release. |
|
Thanks for the response @khmyznikov, I really appreciate it 🙏! Would you be kind enough to explicitly state some willingness to help debug weird issues in the future in case they happen (maybe they won't as mentioned by others but you know, it's hard to make predictions especially about the future 😉). Basically it's the well known "PR as a puppy metaphor". |
|
@lesteve As you said, it's hard to make predictions about the future. I can't speak for others, but I see myself continuing to be involved in this in the near future, and I'm doing everything I can to ensure this work remains one of my top priorities in long term. |
|
Great to hear that @khmyznikov, thanks 🙏! |
Reference Issues/PRs
Fixes issue : #30567
What does this implement/fix? Explain your changes.
This PR will add CI work to create Windows on ARM64(WoA) wheel.
Any other comments?
Please note SciPy Windows on Arm64 (WoA) is recently committed and SciPy wheel will take sometime to appear in PyPI. Currently I have to create a temporary patch to pick it from pypi.anaconda.org. I will remove this temporary solution soon, once PyPI hosts SciPy wheel. Please see the comment here ( scipy/scipy#23122 (comment) )
Please also note WoA GHA runners are new (available from April 2025) and docker is not available yet. So docker is skipped for WoA now.