I had cudnn and CUDA installed on my linux. CUDA version 9.0, cudnn 7.0.5. But when I open a python console and call torch.cuda.is_available(), the terminal freezes immediately. Any ideas why?
Try checking for CUDA through tensorflow. Does this happen there as as well? Also, try running this statement elsewhere like ipython.