-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
numpy.linalg.cholesky performance #5650
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
Comments
timings seem to have improved over the years, I don't see the 2x factor any more for the example above:
|
The issue is still there for me, but the difference between NumPy and SciPy seems to get smaller as the matrix size increases. On (Manjaro) Linux, with NumPy 1.19.1/OpenBLAS from conda-forge:
|
Ahh, interesting. I'm on OSX, using the wheels from PyPI. |
The difference is smaller for me too. This is simply a consequence of how we do wrapping of BLAS/LAPACK libraries I think:
The difference is smaller than that between using different BLAS/LAPACK libraries. So let's close this, I don't think there is anything still actionable here. |
Both scipy.linalg.cholesky and numpy.linalg.cholesky call DPOTRF. However, the timings are
Perhaps things can be improved in Numpy?
The text was updated successfully, but these errors were encountered: