Skip to content

Instantly share code, notes, and snippets.

@homerquan
Created April 8, 2017 22:59
Show Gist options
  • Save homerquan/bd5506745afd98d0422b399ab8f33e70 to your computer and use it in GitHub Desktop.
Save homerquan/bd5506745afd98d0422b399ab8f33e70 to your computer and use it in GitHub Desktop.
setting for tensorflow with cuda on mac (with cudnn)
export CUDA_HOME=/usr/local/cuda
export DYLD_LIBRARY_PATH=${CUDA_HOME}/lib:${CUDA_HOME}/extras/CUPTI/lib:/Developer/NVIDIA/CUDA-8.0/lib
export LD_LIBRARY_PATH=$DYLD_LIBRARY_PATH
export PATH=$DYLD_LIBRARY_PATH:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment