Installing-Tensorflow-with-GPU
Installing-Tensorflow-with-GPU copied to clipboard
Caution on 17) and 25)
Given we are using cuda-8.0 as the PATH
and LD_LIBRARY_PATH
, we should be using the cuda-8.0
path to cp
cudnn into. From you setup flow
export PATH=/usr/local/cuda-8.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH
the above path is different to the below path
$ tar -xzvf cudnn-8.0-linux-x64-v5.1.tgz
$ sudo cp cuda/lib64/* /usr/local/cuda/lib64/
$ sudo cp cuda/include/cudnn.h /usr/local/cuda/include/
I think this is worth changing or at least making clear. I got stung by this one!
Btw - a fantastic and much needed resource.
FYI - I bailed out at 26) to install using conda
. It seems to have worked well after the above change.