Closed j-i-l closed 3 weeks ago
@alexbovet what is your opinion on this?
AFAIK sparse_dot_mkl
can do multithreaded sparse matrix multiplication which scipy
cannot do at the moment, even if it is linked with MKL
. I don't think it's a problem to have both and let user have scipy linked with whatever BLAS they want?
But we should keep sparse_dot_mkl
as optional because, for example, I'm not sure you can use it on a Mac without an intel processor.
Note that there is a pull request to add parallelism to scipy
csr_matrices. (But sparse_dot_mkl
also has the gram_matrix_mkl
which we use).
I see. Let's just keep the sparse_dot_mkl
as optional dependency then. We can return to this if the pull request makes it into scipy
An approach might be to remove the
sparse_dot_mkl
package and add instructions (or simply links) to how one can buildscipy
withMKL
forBLAS
andLAPAK
. For now (basically as long as dependency groups are not really a thing) it would be rather cumbersome to provide a "[mkl]
" installation option but we could even add a simple 'how-to' section if using the intel basedscipy
from the anaconda mirror, or theinter-scipy
python package provide functional, pre-compiled versions ofscipy
withmkl
._Originally posted by @j-i-l in https://github.com/alexbovet/flow_stability/issues/35#issuecomment-2327446958_