-
Notifications
You must be signed in to change notification settings - Fork 6.8k
could not use blas when building with cmake #15266
Comments
Hey, this is the MXNet Label Bot. |
Kindly remind, cmake provides FindBLAS module for finding variety blas package, see https://cmake.org/cmake/help/v3.15/module/FindBLAS.html |
@mxnet-label-bot add [Build, Blas] |
emm, using the FindBLAS module would be a great idea. And blas (blas, cblas, openblas, or atlas) is provided in Linux distribution, which doesn't need to be compiled from source again. |
@hubutui could you help review the above PR with these suggestions? Thanks. |
@larroy Thanks bro. I read the pr days ago. I would like to help, but I have little experience with cmake. There several thoughts comes to my mind:
|
actually, I'm a little confused about the math library selection. It seems that we could choose one of:
|
@hubutui I think you mean the BLAS library selection. MKL-DNN is a performance library for deep learning computations rather than a BLAS library, although it provides some GEMM implementations. So MKL-DNN doesn't participate the BLAS library selection.
Yes, you're right. |
@TaoLv Then https://mxnet.incubator.apache.org/versions/master/install/build_from_source.html#math-library-selection lists mkl full, mklml and mkl-dnn in the same level, which really make users confused.
|
emm, finally, I build mxnet with openblas & mkldnn, it works great for me. |
according to https://github.com/apache/incubator-mxnet/blob/master/make/config.mk#L117,
USE_BLAS
could beblas
. However, https://github.com/apache/incubator-mxnet/blob/master/cmake/ChooseBlas.cmake seems don't deal withblas
.The text was updated successfully, but these errors were encountered: