python-3.x - Tensorflow安装说明中列出的CUDA版本是可以/应该安装的最高或最低版本吗?

标签 python-3.x tensorflow cuda cudnn tensorflow2

在下图中,tensorflow-2.7 的 CUDA 版本为 11.2,这是否意味着我可以安装

  • 版本 > 11.2 或
  • 版本 < 11.2 或
  • 必须仅安装 11.2。

enter image description here

最佳答案

Is the CUDA version mentioned in the list, the maximum version that can be installed or minimum version that should be installed?

都不是。它是您必须可用的 CUDA 运行时的确切次要版本。 CUDNN 也是如此(并且 CUDNN 版本也必须与您的 CUDA 运行时版本匹配)。

在您的示例中:

  1. 版本 > 11.2 或
  2. 版本 < 11.2 或
  3. 必须仅安装 11.2。

这是第三个选项,也是唯一正确的第三个选项。请注意,如果您看到 11.2.1 和 11.2.2 等 CUDA 版本,最后一位数字仅表示错误修复版本,就 Tensorflow 而言没有区别。

关于python-3.x - Tensorflow安装说明中列出的CUDA版本是可以/应该安装的最高或最低版本吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70692654/

相关文章:

c++ - 像Matlab一样在C++中分配数组?

python - 一个关于C3的例子

python - 如何将 Pandas 序列化为 MessagePack 格式作为 python 缓冲区/内存 View ?

python-3.x - pip install psycopg2 在 MacOS M1 和 python 3.10.5 上不起作用

tensorflow - embedding_column 在 tensorflow 中做什么

从 for 循环内调用 CUDA 内核

python-3.x - 第一次运行 gekko 时,从 werkzeug.http' 得到这个错误 "cannot import name ' dump_csp_header'

python - 如何在 RNN 模型中使用图像集

python - TensorFlow - 使用批量数据验证准确性

输入矩阵也可以用于存储 CUBLAS 的输出矩阵吗?