Posts

Showing posts from May, 2019

Installing Tensorflow and CUDA 10 on Debian Buster the easy way

Installing Tensorflow and CUDA 10 on Debian Buster the easy way There is plenty of conflicting advice on installing GPU accceleration (CUDA) on Debian machines.  If you haven't yet purchased a GPU, I'd recommend getting an AMD GPU and installing ROCm. It just works, and the driver is built into the linux kernel! If however you have an old Nvidia GPU (I have a 1070Ti) there is a pretty easy approach is outlined here ... This link needs to be updated to use the latest tensorflow which depends on CUDA 10. Step 1. Install Nvidia Drivers This requires a specific version of the nvidia driver (418.56 at the time of writing). This is available in the stretch-backports repository. So first add a line for stretch-backports to /etc/apt/sources.list Then clean out any other version of the driver (really you want to uninstall all possible nvidia software.     aptitude purge nvidia-driver nvidia-dkms nvidia-alternative nvidia-legacy-check nvidia-opencl-common libcuda1 nvid