当我使用笔记本运行程序时
显卡过热
可能启动保护程序
自动关机了

我再次开机
发现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.

解决方法是:

  1. 找到设备管理器
  2. 显示适配器
  3. nvidia GeForce RTX3050 Laptop GPU
  4. 然后右键-启用设备
    在这里插入图片描述

再次nvidia-smi发现正常显示

更多推荐