no cudnn 6.0 for cuda toolkit 9.0

匿名 (未验证) 提交于 2019-12-03 01:40:02

问题:

trying to install tensorflow gpu on windows 10 since three days.

https://www.tensorflow.org/install/install_windows#requirements_to_run_tensorflow_with_gpu_support

says :

If you are installing TensorFlow with GPU support using one of the mechanisms described in this guide, then the following NVIDIA software must be installed on your system:


The NVIDIA drivers associated with CUDA Toolkit 9.0.
cuDNN v6.0. For details, see NVIDIA's documentation. Note that cuDNN is typically installed in a different location from the other CUDA DLLs. Ensure that you add the directory where you installed the cuDNN DLL to your %PATH% environment variable.
GPU card with CUDA Compute Capability 3.0 or higher. See NVIDIA documentation for a list of supported GPU cards.

I downloaded cuda toolkit 9.0 from archives. but there is no cudnn 6.0 for cuda 9.0 here : https://developer.nvidia.com/rdp/cudnn-download
It's driving me mad, as only thing available there is cudnn v7.

Please help me.

回答1:

Apparently I cant comment... but I am having this exact same issue! Tensorflow has conflicting requirements for install. Cuda Tookit V8.0 is the last supported version for cudnn V6.0



回答2:

For everyone who comes to this thread with issues on cudNN or cudart errors, here's a few notes:

  1. Tensorflow documentation may or may not be updated quickly enough after a new release.
  2. Tensorflow can be compiled (built) from scratch, which allows you to decide what CUDA and cuDNN version to use, so if you are using a pre-compiled binary, you will need the version of CUDA and cuDNN it was built for.
  3. You need to have cuDNN in the path.
  4. Tensorflow's documentation for installing a binary will always specify the version of CUDA and cuDNN it needs.
    • If things don't work, try running a simple hello world tensorflow program and read the errors to know what version of CUDA / cuDNN to use.
    • For example, a missing cudart64_81.dll needs the 64 bit version of CUDA 8.1.
    • A missing cudnn64_6.dll needs cuDNN 6.0

CUDA can be downloaded from: https://developer.nvidia.com/cuda-toolkit-archive
cuDNN can be downloaded from: https://developer.nvidia.com/rdp/cudnn-archive



易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!