Skip to content

Instantly share code, notes, and snippets.

@pvilas
Last active February 11, 2017 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pvilas/f4811abb9cb7e3c55577ce0b11e8d0cb to your computer and use it in GitHub Desktop.
Save pvilas/f4811abb9cb7e3c55577ce0b11e8d0cb to your computer and use it in GitHub Desktop.
Install tensorflow on osx
  1. Install CUDA
  2. Install Tensorflow
  3. Reinstall Drivers Then, create ln
$ cd /usr/local/cuda/lib
$ ln -s libcuda.dylib libcuda.1.dylib

On ~/.bash_profile

export CUDA_HOME=/usr/local/cuda
export DYLD_LIBRARY_PATH="$CUDA_HOME/lib:$DYLD_LIBRARY_PATH"
export PATH="$CUDA_HOME/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment