Closed arogozhnikov closed 8 years ago
I don't think using OpenBLAS will lead to a noticeable speed-up, nearly all runtime critical operations involve sparse matrices, which are not done by BLAS anyhow.
linking again different BLAS implementation Supporting OpenBLAS doesn't require any changes of fastFM's source code, it's all about linking against a different BLAS implementation (the header is always the same). I think this requires changes at two places:
It would be great if we could use the BLAS implementation used by SciPy, since SciPy is a dependency anyway. This would remove the need to manually install BLAS. I'm not sure how to do this, but this paper Circumventing The Linker: Using SciPy’s BLAS and LAPACK Within Cython could be helpful.
It would be nice to support OpenBLAS, since this one is faster, and also demanded i.e. by theano.
At this moment
pip install fastFM
fails for OpenBLAS on ubuntu:I am not sure about consequences of changing BLAS (last time it required reinstalling whole scipy-stack), so I'd prefer not touch it :)