leleamol commented on issue #16891: Upgrading MKLDNN to 1.0 causes performance 
regression.
URL: 
https://github.com/apache/incubator-mxnet/issues/16891#issuecomment-558272571
 
 
   @TaoLv I have build the mxnet package from source.
   
   I followed the instructions that are mentioned in the 
[README.md](https://github.com/apache/incubator-mxnet/blob/master/tools/staticbuild/README.md)
   
   I just put them in the script form for quicker execution like below.
   
   For building the mkl variant, invoke the following script with "mkl" as 
command line parameter.
   
   ```
   #!/usr/bin/env bash
     
   
   CURRNET_DIR=`pwd`
   echo $CURRNET_DIR
   PIP_BUILD=$HOME/pip_build
   MXNET_BUILD=$PIP_BUILD/mxnet-build
   cd $HOME
   
   mkdir $PIP_BUILD
   mv $HOME/incubator-mxnet $MXNET_BUILD
   cd $MXNET_BUILD
   echo "Building mxnet."
   source tools/staticbuild/build.sh $1 pip
   
   cd $PIP_BUILD
   cp -r $MXNET_BUILD/tools/pip/. .
   export mxnet_variant=$1
   python setup.py bdist_wheel
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to