Apparently tensorflow needs cudnn6 to use the gpu. I have cuda 8 and cudnn5 and 7 but not 6. I get this error whenever I try to import tensorflow after installing tensorflow-gpu:
ImportError: libcudnn.so.6: cannot open shared object file: No such file or directory
I have cuda-8.0.61-2 installed from the repositories.
So I got cudnn6 from here: https://aur.archlinux.org/packages/cudnn6/
And tried make -si but I get:
==> Making package: cudnn6 6.0.21-2 (Mon Nov 27 10:06:19 CET 2017)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: cuda-8.0
==> ERROR: 'pacman' failed to install missing dependencies.
Any idea how could I fix this?