-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
BLD: bump OpenBLAS version, use OpenBLAS for win-arm64 #29039
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
base: main
Are you sure you want to change the base?
Conversation
Hmm. Wheel builder is failing to upload arm64 windows wheels since there is no micromamba |
Ahh, can't win-arm64 run x86 code using emulation? I wonder if the wheel uploader could just use the win-x86_64 micromamba install |
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.
Not sure I follow that is a problem with this PR, so approving: merge when you think it's done.
I have the same problem uploading the numpy win_arm64 wheels for the 2.3.0rc1 release. |
I've grabbed the win_arm wheels on github and will try using those. |
@charris, @mattip - could you use my fix for the OpenBLAS wheel uploading for WoA? I installed https://github.com/MacPython/openblas-libs/blob/main/.github/workflows/windows-arm.yml#L82 |
Thanks @matthew-brett. I used the pip-install trick and also disallowed building a win-arm64 wheel without OpenBLAS. Please check the wheel building logs and/or the artifact to make sure the win-arm64 wheel is using OpenBLAS before merging. |
CirrusCI macOS-arm64 builds are failing, There is this messsage, then another #28227 heisenbug failure
|
b277e71
to
6c8f0f7
Compare
The repair-wheel-command is not running. In the x86_64 logs I see for instance
but in the arm64 run the build goes right to testing
The repair-wheel-command is inside a Lines 180 to 184 in 3c995e7
|
That's the right selector, but the build options output at the start of a build shows an override: https://github.com/numpy/numpy/actions/runs/15246740791/job/42874812888#step:8:8542 That's just a bit further down the file: Lines 191 to 195 in f3edb9f
|
Ahh, thanks I missed that. |
Wheel repairing is running but...
Is this using a x86_64 ming64 installation? |
Since delvewheel updated the way it mangles, maybe there is no more need to strip the |
Cool. OpenBLAS is properly mangled in both windows platforms. Only the cp313t-win32 wheel testing failed with The windows-arm64 wheels weigh in at about 9.5MB, where the windows-x86_64 ones are about 13MB. Anyone want to take a look? |
Installed and imported OK. A couple of test failures.
|
I think the monterey image is no longer available, so it may be time to update it to Sonoma/Sequoia. |
@matthew-brett are those failures new to the wheels-with-openblas or do they occur also in the wheel artifacts from, say, this CI run? If the latter, maybe that should be part of a different PR to add win-arm64 testing and blocklist some trig functions? I was too dismissive of the cirrus failure. I see it is not only the heisenbug, there are 47!! failures when using OpenBLAS with macos-arm64 (targeting macos_11 without accelerate). I don't know whether this is due to the automatic update to a newer macos version, or due to the newer OpenBLAS version. I don't see any issues in upstream OpenBLAS that might be relevant.I opened #29061 to change only the macOS version, let's see if the build passes there. |
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
fd2732c
to
5bc41aa
Compare
Rebased off |
All that changed is the OpenBLAS version, and instead of passing there are now there are 43 failures 😞. @martin-frbg does the failures on macos-arm64 when moving from 0.3.29 to the latest develop HEAD ring any bells? I checked taht both builds are using the scipy_openblas64 ilp64 interfaces. From what I can see, the failures are in
|
No idea, there have been way too many changes since 0.3.29 but not that many that would affect OSX/Arm64 (I assume you are building for the "VORTEX" Apple M target there, which is mostly NeoverseN1 kernels ?) and none that manifest themselves as OpenBLAS errors |
I cannot reproduce the failures locally on a macbook M2 using Sequoia 15.4.1. I wonder what I am missing.
|
The config string is |
I don't see this on the M1 in the GCC Compile farm either (targeted build, will try a dynamic_arch build too but don't expect that to be different). Can try with my M4 later today but don't see why that would be different except that it probably has a newer OS |
Grasping at straws: maybe this is due to some quirk in the VM hosting at Cirrus and the number of parallel test runners (currently set to |
Closes #29035 by adding openblas support to the arm64 windows builds
This bumps the version of OpenBLAS from the 0.3.29 release to the latest develop HEAD (which had wheels for OpenBLAS on win-arm64), so it may impact other things.