-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
BUG: Eigenvectors generated via linalg.eigh are not orthonormal in v1.26.0 #25007
Comments
How did you install numpy and what does |
Output for
Output for
I installed the
and the
I wanted to use the vecLib framework for Apple, which is supposed to be optimum for Apple Silicon. |
Did you import numpy and scipy.linalg before the |
I cannot reproduce this on arm64 macOS 14, with Accelerate built from source I get:
Surely this is also tested in our test suite.
This is not the new Accelerate, but only old Accelerate BLAS plus Netlib LAPACK routines. That config doesn't get tested even in conda-forge CI, so I would avoid using it. |
How do I get the latest Accelerate via conda-forge?
The test suite is also reporting errors. Should I attach the entire error report here? |
You can't - it's an open feature request for conda-forge, I linked to it above. The only way to get new Accelerate right now is to build from source.
May be useful for future reference. It's unlike we can fix things though. |
Describe the issue:
Hi,
While computing the eigenvectors of Hermitian matrices using numpy.linalg.eigh the eigenvectors are not coming out to be orthonormal. The eigenvectors are orthonormal using the scipy.linalg.eigh routine.
A jupyter notebook with a simple example is attached.
Compare_diag.pdf
Reproduce the code example:
Output:
Runtime information:
Numpy version.
Numpy configuration
Scipy Version
Scipy Configuration
Context for the issue:
Erroneous eigenvectors from numpy.linalg.eigh
The text was updated successfully, but these errors were encountered: