NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver

Please check if the file
/etc/modprobe.d/blacklist-nvidia.conf
or
/lib/modprobe.d/blacklist-nvidia.conf
exists, delete it and run
sudo update-initramfs -u
then reboot.