apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
https://mxnet.apache.org
Apache License 2.0
20.78k stars 6.79k forks source link

Build error on Mac OS #18073

Open waytrue17 opened 4 years ago

waytrue17 commented 4 years ago

Description

Errors occur when I followed the tutorial https://mxnet.apache.org/get_started/osx_setup to build MXNet on Mac OS.

To fix it

It seems MKL-DNN has some support issues with Mac OS. To solve the problem:

  1. At step 2 of the tutorial, go to config.cmake
  2. Turn off MKL-DNN by changing set(USE_MKLDNN ON CACHE BOOL "Build with MKL-DNN support") to set(USE_MKLDNN OFF CACHE BOOL "Build with MKL-DNN support")
leezu commented 4 years ago

MKLDNN is tested on OSX by our CI: https://github.com/apache/incubator-mxnet/blob/master/.github/workflows/os_x_staticbuild.yml

Your system may have some special problems?

waytrue17 commented 4 years ago

MKLDNN is tested on OSX by our CI: https://github.com/apache/incubator-mxnet/blob/master/.github/workflows/os_x_staticbuild.yml

Your system may have some special problems?

Thanks for the reply! I'll go check it from my side.