CUDA安装步骤按照CUDA下载界面下端的提示步骤来,安装之后无法进入系统,一直停在显示Ubuntu界面。
解决办法:参考这篇blog卸载nvidia驱动和这篇安装nvidia驱动,之后我有重新按照官网步骤重新安装了一次CUDA。
可以尝试编译CUDA的例子(参看这篇blog),看是否安装成功,我的报了下面的错误。运行编译好的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!
tensorflow Ignoring gpu device with Cuda compute capability 3.0. The minimum required Cuda capability is 3.5.
还没解决,解决的请告诉我。
tensorflow libcudart.so.7.5 cannot open shared object file no such file or directory:
解决办法这里:把环境变量设置在
~/.profile
而不是:
~/.bashrc
- 6.
CUDA 7.5 & cuDNN v4 & tensorflow on Ubuntu 14.04 LTS
最新推荐文章于 2024-07-09 01:00:00 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)