当我使用笔记本运行程序时
显卡过热
可能启动保护程序
自动关机了
我再次开机
发现nvidia-smi会报错
nvidia-smi NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. This can also be happening if non-NVIDIA GPU is running as primary display, and NVIDIA GPU is in WDDM mode.
解决方法是:
- 找到设备管理器
- 显示适配器
- nvidia GeForce RTX3050 Laptop GPU
- 然后右键-启用设备
再次nvidia-smi发现正常显示