Skip to content

Instantly share code, notes, and snippets.

@oeeckhoutte
Forked from pvilas/install_tensor_flow_osx.md
Created February 11, 2017 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oeeckhoutte/8ff9ed85e58384f290450ff995500f18 to your computer and use it in GitHub Desktop.
Save oeeckhoutte/8ff9ed85e58384f290450ff995500f18 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