-
Notifications
You must be signed in to change notification settings - Fork 19
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
[CPU] cholespy very slow compared to scikit-sparse (factor ~15) #25
Comments
Hi, Could you please provide the matrix you use (or at least its dimensions) so I can try to reproduce this on my end? |
Hi, the shape is The matrices are attached using scipy
|
@bathal1 could you reproduce the issue? |
This is caused by the factorization type used by I am unsure of what the proper fix would be to allow to automatically pick the most efficient one. In the meantime, I suggest you clone the repo and comment this line. At least in the example you provided, factorization is much faster. In order to build |
Hi, really nice to have a sparse cholesky solver which is compatible with windows out of the box!
Can you please verify I'm doing everything correctly? I have a lot longer runtime compared to scikit-sparse ~ factor 15.
I am not using any TPU / GPU, just plane CPU and numpy / scipy.
I use a lower triangle sparse matrix
K_iso
in CSC format (I also tested COO, same results) and a sparse load vectorf_csc
scikit-sparse run takes
0.82 s
cholespy run (double precision) takes
13.19 s
- of whichCholeskySolverD
takes allmost time (13.18 s
)The result is exactly the same
The text was updated successfully, but these errors were encountered: