Sudo pip install /tmp/tensorflow_pkg/tensorflow-1.4.0rc1-cp36-cp36m-macosx_10_7_x86_64.whl (File name depends on tensorflow version and python build -verbose_failures //tensorflow/tools/pip_package:build_pip_package
Please note that MKL on MacOS or windows is still not supported.
Please specify optimization flags to use during compilation when bazel option "-config=opt" is specified :Īdd "-config=mkl" to your bazel command to build with MKL support. No MPI support will be enabled for TensorFlow. :ĭo you wish to build TensorFlow with MPI support? : Please specify which gcc should be used by nvcc as the host compiler. 6.1ĭo you want to use clang as CUDA compiler? : Please note that each additional compute capability significantly increases your build time and binary size. You can find the compute capability of your device at. Please specify a list of comma-separated Cuda compute capabilities you want to build with. Please specify the location where cuDNN 7 library is installed. Please specify the cuDNN version you want to use. Please specify the location where CUDA 9.0 toolkit is installed. Please specify the CUDA SDK version you want to use, e.g. No OpenCL support will be enabled for TensorFlow.ĭo you wish to build TensorFlow with CUDA support? : yĬUDA support will be enabled for TensorFlow. No VERBS support will be enabled for TensorFlow.ĭo you wish to build TensorFlow with OpenCL support? : n No GDR support will be enabled for TensorFlow.ĭo you wish to build TensorFlow with VERBS support? : n No XLA JIT support will be enabled for TensorFlow.ĭo you wish to build TensorFlow with GDR support? : n No Amazon S3 File System support will be enabled for TensorFlow.ĭo you wish to build TensorFlow with XLA JIT support? : n No Hadoop File System support will be enabled for TensorFlow.ĭo you wish to build TensorFlow with Amazon S3 File System support? : n No Google Cloud Platform support will be enabled for TensorFlow.ĭo you wish to build TensorFlow with Hadoop File System support? : n Default is ĭo you wish to build TensorFlow with Google Cloud Platform support? : n Please input the desired Python library path to use.
Users/smitshilu/anaconda3/lib/python3.6/site-packages configure (Find CUDA compute value from ) Disable SIP (in recovery mode enter command: csrutil disable).Tensorflow/core/kernels/concat_lib_.ccįor example, extern shared _align(sizeof(T))_ unsigned char smem => extern shared unsigned char smem Tensorflow/core/kernels/split_lib_gpu.cu.cc Tensorflow/core/kernels/depthwise_conv_op_gpu.cu.cc Step-by-step guide Remove all align(sizeof(T)) from following files:
Xcode command line tools - 8.2 (Download from here: Xcode - Support - Apple Developer & Switch to different clang version: sudo xcode-select -switch/Library/Developer/CommandLineTools & check version: clang -v).