Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

paddle 1.5.1 支持的cuda 和 driver 版本是啥?

Open dongfangyixi opened this issue 7 years ago • 4 comments

环境: cuda 9.2 nvidia driver: 396.26 paddlepaddle 1.5.1 tensorflow 1.9.0 test script: tensorflow: import tensorflow as tf tf.Session() paddle: from paddle.fluid import core core.CUDAPlace(0)

tensorflow 可以正常运行,cuda 和 driver的版本是匹配的

paddle 报错: paddle.fluid.core_avx.EnforceNotMet: cudaGetDeviceCount failed in paddle::platform::GetCUDADeviceCount: CUDA driver version is insufficient for CUDA runtime version at [/paddle/paddle/fluid/platform/gpu_info.cc:97]

请问paddle 1.5.1 支持的cuda 和driver版本是什么

dongfangyixi avatar Sep 09 '19 09:09 dongfangyixi

首先,测试环境的cuda 和 cuda driver 可以配对的 image image image

然后 tf和 torch 都没有任何问题。

最后 paddle 1.4.1 运行和没有问题 安装了 1.5.1 就会报这样的错误

请问是什么原因呢

dongfangyixi avatar Sep 09 '19 10:09 dongfangyixi

1.5.1默认好像是cuda10了

sudo pip install paddlepaddle-gpu==1.5.1post97

imistyrain avatar Sep 10 '19 02:09 imistyrain

楼上正解

adaxi987 avatar Sep 10 '19 03:09 adaxi987

Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

paddle-bot-old avatar Sep 14 '20 09:09 paddle-bot-old