If numpy+mkl is faster, how much faster is it than numpy?
I found that the numpy+mkl installation package is much larger than numpy, but I can't feel the difference in their speed.
If numpy+mkl is faster, how much faster is it than numpy?
I found that the numpy+mkl installation package is much larger than numpy, but I can't feel the difference in their speed.
numpy's standard pip packages are linked to OpenBLAS. Mabey OpenBLAS is in the same ballpark for speed as MKL. For a detailed comparison of their speeds, please see Boosting numpy: Why BLAS Matters and Benchmark OpenBLAS, Intel MKL vs ATLAS
Short answer: No, maybe just slightly.
I just repeated now benchmark from this site: https://jwalton.info/Python-MKL-openBLAS/.
And the results on current version of numpy
are similar to those on intel-numpy
.
Speedup > 1 means MKL is faster. Speedup < 0 means "standard" numpy (using openBLAS) is faster.
As you can see, differences are small. For some functions there is small (~1.1x) speedup. But for most of them there is no speedup and one function is significantly slower in MKL.