Nvidia-smi failed to connect with NVIDIA driver

When we are using the command nvidia-smi
Error message: NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver.

Double post:

Please run nvidia-bug-report.sh as root and attach the resulting file here.