Largely based on the Tensorflow 1.6 gist, this should hopefully simplify things a bit. Mixing homebrew python2/python3 with pip ends up being a mess, so here's an approach to uses the built-in python27.
- NVIDIA Web-Drivers 378.05.05 for 10.12.6
- CUDA 9.0 Toolkit
- cuDNN 7.0.5 (latest release for mac os)
- Python 3.6