Unpack XCode 8.3.2 and switch the tool chain over to it: sudo xcode-select -s /Applications/Xcode.appĭownload the binary here chmod 755 bazel-0.10.0-installer-darwin-x86_64.sh If you have newer Xcode installed, rename the XCode.app to something like Xcode9.app You may need a developer account to grab the old version I was able to compile all of it on XCode9, but tensorflow promptly segfaults if you actually try to do anything on the gpu. cuDNN 7.0.5 (latest release for mac os)ĭownload and install from NVIDIA Cuda driverĭownload and install from Downgrade to XCode 8.3.2.Mixing homebrew python2/python3 with pip ends up being a mess, so here's an approach to uses the built-in python27. Largely based on the Tensorflow 1.6 gist, this should hopefully simplify things a bit. Tensorflow 1.7 with CUDA on macOS High Sierra 10.13.3 and default python 2.7