ubuntu

Install cuda9.2 and cudnn7.2 on ubuntu 18.04

Overview To run tensorflow/pytorch with gpu, I need to install cuda and cudnn. It’s really tricky, but finally I found the method. The secret is * install the graphics driver from a PPA * install the toolkit from the run file packages The following packages need to be installed. * nvidia graphics driver * cuda 9.2 * cudnn 7.2 For nvidia graphics driver, there are two sources: 1. raphics-drivers/ppa: