hubutui commented on issue #15294: mkldnn is not properly installed
URL: 
https://github.com/apache/incubator-mxnet/issues/15294#issuecomment-505866555
 
 
   hmm, it seems that mkl-dnn link to mklml libs provided in the [mkl-dnn 
release page](https://github.com/intel/mkl-dnn/tree/v0.19) when buiding. 
[DownloadMKLML.cmake](https://github.com/apache/incubator-mxnet/blob/master/cmake/DownloadMKLML.cmake)
 downloads the mklml libs to build mkl-dnn. This behavior is affected by 
`MKLDNN_USE_MKL`. So, in the finnal installation step of mxnet, mklml should be 
installed too, but it's not.
   Currently, mxnet use mkl-dnn 0.19. However, according to [latest 
doc](https://github.com/intel/mkl-dnn/blob/master/doc/advanced/transition-to-v1.md)
 of mkl-dnn, `MKLDNN_USE_MKL` will not be available in next release. And 
actually, mkl-dnn doesn't need mklml at all at build time, we could use openmp 
from clang or gcc itself instead.
   So, we got two options to solve this issue:
   1. update mkl-dnn to the v1.0rc release, which does not need mklml
   2. maintain the current version of mkl-dnn, but build mkl-dnn without mklml

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to