【问题标题】:import theano using GPU Exception: The nvidia driver version installed with this OS does not give good results for reductionimport theano using GPU Exception: The nvidia driver version installed with this OS does not give good results for reduction
【发布时间】:2017-09-06 09:33:31
【问题描述】:

我在WIN10上安装了theano,可以用CPU导入。 我的显卡是GTX1080。我安装了CUDA8.0。这是 nvcc -V 信息:

我还在 cuda 示例中运行 deviceQuery.cpp,结果 = PASS。结果如下:

我也配置了.theanorc.txt:

但是当我导入 theano 时,它会出现 2 个警告和 使用 gpu 设备 0:GeForce GTX 1080(CNMeM 已禁用,cuDNN 5005) 回溯(最近一次通话最后): 文件“,第 1 行,在 文件 E:\Anaconda\lib\site-packages\theano__init__.py,第 116 行,在 theano.sandbox.cuda.tests.test_driver.test_nvidia_driver1() 文件 E:\Anaconda\lib\site-packages\theano\sandbox\cuda\tests\test_driver.py,第 41 行,在 test_nvidia_driver1 raise Exception(与此操作系统一起安装的 nvidia 驱动程序版本

例外:使用此操作系统安装的 nvidia 驱动程序版本没有提供良好的还原效果。安装与 cuda 包相同的下载页面上可用的 nvidia 驱动程序将解决问题:http://developer.nvidia.com/cuda-downloads

CUDA8.0驱动版本是376.51,我确实安装了这个版本。 我不知道哪里出错了。 你能帮我解决这个问题吗? 非常感谢!

【问题讨论】:

    标签: python theano theano-cuda


    【解决方案1】:

    this guide 之后安装 theano 时遇到了同样的问题。 通过安装 top anaconda(5.0.0)、使用 NOT top python 创建环境(top 为 3.6 时为 3.5)和安装 NOT top cuda(top 为 9.0 时为 8.0)来解决这个问题。

    我不确定它对你有帮助,但它可以帮助将来的一些人。

    【讨论】:

      猜你喜欢
      • 2013-01-14
      • 1970-01-01
      • 2020-01-18
      • 2021-03-24
      • 2012-05-31
      • 2022-12-27
      相关资源
      最近更新 更多