Skip to content

Latest commit

 

History

History
32 lines (16 loc) · 1.23 KB

MKL_README.md

File metadata and controls

32 lines (16 loc) · 1.23 KB

MKL2017 PLUGIN

MKL2017 is an INTEL released library to accelerate Deep Neural Network (DNN) applications on Intel architecture. This README shows the user how to setup and install MKL2017 library with mxnet.

Build/Install MXNet with MKL:

  1. Enable USE_MKL2017=1 in make/config.mk
1.1 USE_BLAS should be atlas by default

1.2 if you need USE_BLAS to be mkl, please navigate here to do a full MKL installation: https://registrationcenter.intel.com/en/forms/?productid=2558&licensetype=2

1.3 By default, MKL_2017_EXPRIEMENTAL=0. If setting MKL_2017_EXPRIEMENTAL=1, MKL buffer will be created and transferred between layers to achiever much higher performance.
  1. Run 'make -jX'
2.1 Makefile will execute "prepare_mkl.sh" to download the mkl under root folder.e.g. <MXNET ROOTDIR> /mklml_lnx_<MKL VRSION>

2.2 if the download failed because of proxy setting, please download it manually before make

2.2.1 wget https://github.com/dmlc/web-data/raw/master/mxnet/mklml-release/mklml_lnx_<MKL VERSION>.tgz

2.2.2 tar zxvf mklml_lnx_<MKL VERSION>.tgz
  1. Navigate into the python directory

  2. Set LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mklml_lnx_<MKL_VERSION>/lib

  3. Run 'sudo python setup.py install'