Cuda Installation - Fedora 27

Installing cuda on fedora 27

Follow the instructions from David Pearson's article at Installing Nvidia’s CUDA 9.1 on Fedora 27 follow steps 3-11. Log out and log back in, or source your new .bash_profile for that terminal session

  . ~/.bash_profile

Download the CUDA 9.1 version of NVIDIA's cuDNN GPU-accelerated libraries for deep neural networks. NVIDIA cuDNN lib

extract those lib's into the same directory you installed cuda-9.1

if you are using the tensorflow pip package version 1.8 do the same for cuda-9.0