Open IgorBaratta opened 1 month ago
Could you run the test suite locally? The reason I ask is that I did some wheel builds on aarch64 recently against OpenBLAS, and all the tests ran green.
Could you run the test suite locally? The reason I ask is that I did some wheel builds on aarch64 recently against OpenBLAS, and all the tests ran green.
It actually works on my mac, but failed on two different neoverse-v2
machines I tested using standard spack isntallation.
Just tested locally. All test pass if I build with netlib-lapack@3.11.0
and blis@1.0
. But most tests fail with openblas@0.3.27
.
At least on my Mac it picks up Apple's native BLAS though.
So, I think we can say this is a BLAS issue, either in OpenBLAS itself, or in the way we interface with it.
I took a quick look at this - neoverse-v2
is a very new microarchitecture, so I would guess OpenBLAS has a bug. Have you considered injecting the ARM Performance Library into Spack instead?
I'll give it a try.
Reproducer:
It should be the identity.
Using
openblas@0.3.27
:Tested with
gcc@11.4.0
,gcc@12.4.0
,gcc@14.2.0
Since the matrices are so small, 1D elements I wouldn't expect it to useblas
, but this could be the issue. I haven't investigated it further.