CUDA 7.5 & cuDNN v4 & tensorflow on Ubuntu 14.04 LTS

  1. CUDA安装步骤按照CUDA下载界面下端的提示步骤来,安装之后无法进入系统,一直停在显示Ubuntu界面。
      解决办法:参考这篇blog卸载nvidia驱动和这篇安装nvidia驱动,之后我有重新按照官网步骤重新安装了一次CUDA。
      可以尝试编译CUDA的例子(参看这篇blog),看是否安装成功,我的报了下面的错误。

  2. 运行编译好的CUDA示例:deviceQuery出错:

    $ ./deviceQuery
    ./deviceQuery Starting…

    CUDA Device Query (Runtime API) version (CUDART static linking)

    FATAL: Module nvidia_uvm not found.
    cudaGetDeviceCount returned 30
    -> unknown error
    Result = FAIL

    在网上搜索,说加上sudo即可,尝试确实可以,但这正说明有问题,解决办法参考这篇post或者这个

    Could try to first see if you have the missing module by running:

    sudo modinfo nvidia-uvm

    and post the output. If this provides info on the module, please try to load the module by

    sudo modprobe -v nvidia-uvm

    And post the output of this command. If the device query does not work after the modprobe command

    Update:

    331 is not specific enough. There was a bug in 331.67 with these properties, that have been fixed in 331.79. Please check your drivers minor version. You can also verify that this is the issue by running:

    modprobe --force-modversion nvidia-uvm

    Which should bring cuda back online, if an outdated driver is your issue. In that case, you should uopdate your driver!

  3. tensorflow Ignoring gpu device with Cuda compute capability 3.0. The minimum required Cuda capability is 3.5.

    还没解决,解决的请告诉我。

  4. tensorflow libcudart.so.7.5 cannot open shared object file no such file or directory:

    解决办法这里:把环境变量设置在

    ~/.profile

    而不是:

    ~/.bashrc

  5. 6.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值