Install gpu version tensorflow with older version CUDA and cuDNN [duplicate]

末鹿安然 提交于 2019-12-06 06:42:00

问题


Currently, I need to install gpu version tensorflow on a machine that existing an older version CUDA and cuDNN, and my question is how can I get it done without re-installing CUDA and cuDNN since other package (see pytorch) need it.


回答1:


Check CUDA version with below command according to this post.

$ nvcc --version

Check cuDNN version with below command according to this post.

$ cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2

Choose tensorflow-gpu version according to this post



来源:https://stackoverflow.com/questions/50442076/install-gpu-version-tensorflow-with-older-version-cuda-and-cudnn

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