leezu edited a comment on issue #18855:
URL: 
https://github.com/apache/incubator-mxnet/issues/18855#issuecomment-668296177


   The problem here is that we can never know what BLAS libraries are linked 
into other Python packages that our users happen to use. NumPy may be a popular 
one, but other packages may also link different BLAS implementations. The same 
issue applies to the OpenMP dependency.
   
   Did you statically link BLAS implementation? You can refer to 
https://github.com/apache/incubator-mxnet/pull/17751. For dynamic linking, the 
loader will load the implementation referenced by the first package that is 
loaded and not load other BLAS implementations if the BLAS symbols are already 
available. Maybe importing mxnet first triggers importing numpy, causing the 
numpy BLAS implementation to be loaded?


----------------------------------------------------------------
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]


Reply via email to