当前位置:网站首页>NVIDIA显卡驱动报错
NVIDIA显卡驱动报错
2022-04-23 16:25:00 【andrew P】
1.报错如下
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
2. nvcc -v 查看cuda库是存在的
3.查看NVIDIA显卡驱动是否安装了
4.安装dkms,用来动态加载驱动,
sudo apt-get install dkms
sudo dkms install -m nvidia -v 450.57
5.
6.查看驱动是否加载
7. DKMS的解释
Oikawa等人在1996年提出一种与LKM类似的动态核心模块(DKMs)技术。与LKM一样,DKMs以文件的形式存储并能在系统运行过程中动态地加载和卸载。DKMs由一个用户层的DKM服务器来管理,并非由内核来管理。当核心需要某模块时,由DKM服务器负责把相应的DKM加载;当核心的内存资源紧缺时,由DKM服务器负责卸载一个没有被使用的DKM。
8.总结
原因是我在跑深度学习代码的时候,调用了别人的代码,里面有调用CUDA的指令,如果当前的显卡和驱动版本算力不匹配的时候,就会出现这中情况。
版权声明
本文为[andrew P]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_41166909/article/details/124339697
边栏推荐
猜你喜欢
RecyclerView advanced use - to realize drag and drop function of imitation Alipay menu edit page
Ali developed three sides, and the interviewer's set of combined punches made me confused on the spot
力扣-198.打家劫舍
How magical is the unsafe class used by all major frameworks?
volatile的含义以及用法
各大框架都在使用的Unsafe类,到底有多神奇?
建站常用软件PhpStudy V8.1图文安装教程(Windows版)超详细
Six scenarios of cloud migration
Review 2021: how to help customers clear the obstacles in the last mile of going to the cloud?
Gartner announces emerging technology research: insight into the meta universe
随机推荐
Database dbvisualizer Pro reported file error, resulting in data connection failure
Grbl learning (II)
Master vscode remote GDB debugging
Detailed explanation of gzip and gunzip decompression parameters
What is homebrew? And use
文件系统读写性能测试实战
How to quickly batch create text documents?
Day (2) of picking up matlab
[pyGame games] how did angry birds, a mobile game that became popular all over the world 10 years ago, dominate the list? Classic return
Unity Shader学习
Meaning and usage of volatile
力扣-198.打家劫舍
Sail soft segmentation solution: take only one character (required field) of a string
The system research problem that has plagued for many years has automatic collection tools, which are open source and free
Summary according to classification in sail software
Day (7) of picking up matlab
Interview question 17.10 Main elements
Esxi encapsulated network card driver
The biggest winner is China Telecom. Why do people dislike China Mobile and China Unicom?
Day (10) of picking up matlab