You may choose to install the drivers from the nvidia repo through apt-get or download and install manually to ensure the latest version from the short lived branch. Either way you should check the NVIDIA drivers site to check the latest version / version required by your GPU.
Install from the repository
1
2
3
4
5
6
7
8
9
10
11
12
#Add NVIDIA drivers repository
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
#Check the repo for the version you are after e.g.
#run the installer. Use the switches to hide the five minute scroll through the license.
sudo ./cuda_8.0.44_linux-run -override -silent
Install NVIDIA cuDNN
The “Deep Neural Network” library requires a membership to the NVIDIA developer program. If you don’t have a membership you will need to go to the cuDNN Site to sign up. From the cuDNN Site copy the download URL.
DIGITS only officially supports the NVIDIA caffe build. The official BVLC/caffe will work in most cases. It is my understanding that the two are mostly the same but there are some specialized cases especially when using batch normalization, and ImageData layers (etc.) the NVIDIA flavor is required.
Now build Caffe. Note that if you need to support multiple GPUs you will need to build NVIDIA NCCL before building caffe.
Skip this if you don’t need NCCL
1
2
3
4
5
6
#read the NCCL readme first.
cd ~/
git clone https://github.com/NVIDIA/nccl.git
cd nccl
make CUDA_HOME=/usr/local/cuda-8.0/ test
sudo make PREFIX=/usr/local install
Now build caffe
1
2
3
4
5
cd$CAFFE_HOME
mkdir build && cd$_
cmake ..
#use 4 cores - adjust for your system.
make --jobs=4
Install Torch (Optional for DIGITS)
TBD
Install DIGITS
You should review the install instructions on the DIGITS github page. Since we are installing on 16.04 we’ll need to build from source. If you are on 14.04 you can use the .deb file if you prefer.