Posts

Showing posts from 2018
TensorFlow 1.7 on Fedora 26 NVIDIA Optimus laptop It was quite a hassle to install TensorFlow on a Fedora Linux Lenovo Ideapad 520S, but finally it is worth it. Sadly, it does not work out of the box. You have to compile your own version of gcc and TensorFlow. This is because CUDA SDK is version 9.1, cudnn version 7.1, which are not supported by the Tensorflow default package. First, ensure that you have a NVIDIA enabled laptop, by listing the devices with lspci: It is said (via  negativo ) that CUDA support for Fedora system is enabled by default and it would work right out of the box; however, this is not the case. Anyway, the last time I did this I was using Bumblebee, so I decided to give the CUDA repository a try. Update your system: Afterwards, update your kernel: Reboot. Ensure that you are running the same kernel version you installed these packages for, by issuing: The next would be to install "Development Tools" and C++ support (actually i...