Class05 Answer:

Install Nvidia cuDNN v7.1 Software

I started this exercise by studying this page:

https://www.tensorflow.org/install/install_linux#nvidia_requirements_to_run_tensorflow_with_gpu_support

Which led me to this page:

https://developer.nvidia.com/cudnn

I clicked on the Download-button.

That led me to a registration page; so I registered.

Next, I logged-in.

I saw several download links.

I clicked this one:

Download cuDNN v7.1.2 (Mar 21, 2018), for CUDA 9.1

It offered more links.

I clicked this one: 'cuDNN v7.1.2 Library for Linux'

Which had this URL:

cudnn-9.1-linux-x64-v7.1

After the download I saw this file:


dan@a78:~/Downloads $ ls -latr
-rw-rw-r--  1 dan dan  426686668 Apr  3 21:25 cudnn-9.1-linux-x64-v7.1.tgz
dan@a78:~/Downloads $ 
dan@a78:~/Downloads $

Next I ran some shell commands to install cuDNN:

cd ~/Downloads/
tar xf cudnn-9.1-linux-x64-v7.1.tgz
ls -la
ls -la cuda/
sudo rsync -av cuda/include/ /usr/local/cuda/include/
sudo rsync -av cuda/lib64/   /usr/local/cuda/lib64/

Next I installed libcupti-dev:

sudo apt-get install cuda-command-line-tools
echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/extras/CUPTI/lib64' >> ~/.bashrc
bash

Class05 Lab


ml4.us About Blog Contact Class01 Class02 Class03 Class04 Class05 Class06 Class07 Class08 Class09 Class10 dan101 Forum Google Hangout Vboxen