

If you have the latest Xcode Installed (7.3 as the time of this post) Now let's make sure that we are able to compile cuda programs. export DYLD_LIBRARY_PATH=`/usr/local/cuda/lib`:$DYLD_LIBRARY_PATH You will need it to run the python scripts. Sudo mv -v cuda/include/cudnn.h /usr/local/cuda/includeĪdd in your ~/.bash_profile the reference to /usr/local/cuda/lib. Sudo mv -v cuda/lib/libcudnn* /usr/local/cuda/lib Once downloaded you need to manually copy the files over the /usr/local/cuda/ directory tar xzvf ~/Downloads/cudnn-7.5-osx-圆 (Note: from version 0.8 Tensorflow supports cuDNN v5, version 0.7 and 0.7.1 support v4)ĭownload the file cudnn-7.5-osx-圆 You have to register and download it from the website. You need NVIDIA's Cuda Neural Network library libCudnn.

If you don't see 7.5 make sure to upgrade your brew formulas: brew update Make sure that the installed cuda version is 7.5 you can check the version with brew cask info cuda
