How to know which cuDNN version one should use?

纵饮孤独 提交于 2020-01-01 02:44:07

问题


I plan to use cuDNN on Linux: how to know which cuDNN version I need? Should I always use the most recent one?

E.g. choosing the right CUDA version depends on the Nvidia driver version. I wonder if there is similar constrains for choosing the cuDNN (given that it may give some fancy error messages later on I'd prefer to know before I try).


回答1:


You should use whichever is the latest version of cuDNN supported by your application and platform, since that will have the most bug fixes and enhancements. And yes, cuDNN versions depend on specific cuda versions. That is spelled out in the download page. (You will have to be a registered developer to access that page.)

cuDNN v5.1 has different versions for CUDA 7.5 and CUDA 8.0
cuDNN v5   has different versions for CUDA 7.5 and CUDA 8.0
cuDNN v4 and v3 both require CUDA 7.0
cuDNN v2 and v1 both require CUDA 6.5
All cuDNN versions require compute capability >= 3.0 devices

Again, all of the above information is available on the download page for cuDNN. Previous versions can be downloaded from the link at the bottom of the download page.




回答2:


In addition to CUDA version requirements, you need to ensure that your GPU has compute capability that is high enough:

  • All versions of cuDNN from 1.0 to 5.1 require compute capability 3.0 or higher.

Wikipedia's CUDA article has a good list of the various compute capability levels and corresponding GPUs (a similar list is available on Nvidia's compute capability webpage).



来源:https://stackoverflow.com/questions/33760192/how-to-know-which-cudnn-version-one-should-use

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