Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA TensorFlow cudnn python的版本对应问题 #3

Open
zhudaoruyi opened this issue Jun 28, 2019 · 2 comments
Open

CUDA TensorFlow cudnn python的版本对应问题 #3

zhudaoruyi opened this issue Jun 28, 2019 · 2 comments

Comments

@zhudaoruyi
Copy link

zhudaoruyi commented Jun 28, 2019

类似于这样的,更全一点的,python3.7 、CUDA9.2 收集相关的资料,放进《指南》里

Version Python version Compiler Build tools cuDNN CUDA
tensorflow_gpu-1.13.0 2.7、3.3-3.6 GCC 4.8 Bazel 0.19.2 7.4 10.0
tensorflow_gpu-1.12.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.15.0 7 9
tensorflow_gpu-1.11.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.15.0 7 9
tensorflow_gpu-1.10.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.15.0 7 9
tensorflow_gpu-1.9.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.11.0 7 9
tensorflow_gpu-1.8.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.10.0 7 9
tensorflow_gpu-1.7.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.9.0 7 9
tensorflow_gpu-1.6.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.9.0 7 9
tensorflow_gpu-1.5.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.8.0 7 9
tensorflow_gpu-1.4.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.5.4 6 8
tensorflow_gpu-1.3.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.4.5 6 8
tensorflow_gpu-1.2.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.4.5 5.1 8
tensorflow_gpu-1.1.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.4.2 5.1 8
tensorflow_gpu-1.0.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.4.2 5.1 8
@ypwhs
Copy link
Owner

ypwhs commented Jun 28, 2019

这个我有考虑过写进《指南》里,但是我发现一些老版本即使有版本号也无法安装,因为 cuDNN 无法满足要求,导致大家只能安装最近的几个版本。

如 tensorflow 1.11 要求安装 CUDA 9.0 和 cuDNN 7.2,但是实际上英伟达提供的唯一一个 cuDNN 7.2 的版本是 cuDNN v7.2.1 (August 7, 2018), for CUDA 9.2,那么我们就无法满足它的安装条件,只能手动编译,这并不是一个好方法,所以我在文中是这样写的:

最新版的 TensorFlow 使用的是 CUDA 10.0 和 cuDNN 7.4.1,NVIDIA 驱动需要 410.x 或更高版本。
建议按照官方文档中的 apt 方法安装 CUDA。

参考链接:

@ypwhs
Copy link
Owner

ypwhs commented Jun 28, 2019

已更新,请查看最新的页面:https://dl.ypw.io/ubuntu-environment#tensorflow

历史版本依赖环境

TensorFlow CUDA cuDNN NVIDIA Driver NCCL TensorRT
1.14 10.0 7.4.1 410 2.2 5.0
1.13 10.0 7.4.1 410 2.2 5.0
1.12 9.0 7.2 384 2.2 4.0
1.11 9.0 7.2 384 2.2 4.0
1.10 9.0 7.1 384 2.2 4.0
1.9 9.0 7.0 3.0
1.8 9.0 7.0 3.0
1.7 9.0 7.0 3.0
1.6 9.0 7.0
1.5 9.0 7.0
1.4 8.0 6.0
1.3 8.0 6.0
1.2 8.0 5.1
1.1 8.0 5.1
1.0 8.0 5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants