NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver.
- 查看适合当前版本的驱动
ubuntu-drivers devices - 安装适合当前版本的驱动
sudo apt install nvidia-driver-xxx # where xxx is the “recommended” version
ubuntu-drivers devices
sudo apt install nvidia-driver-xxx # where xxx is the “recommended” version