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

When I run nvidia-smi I get following text:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

My pc was right and I used to work with Neural Networks(Pytorch on GPU) with GPU device. My pc is Lenovo y520. Today I started to run my deep-learning code but unlike before it said Cuda is not available!
So I ran nvidia-smi and I got that message.

This is my gpu log:

https://www.dropbox.com/s/lggvrixjo98e5i9/nvidia-bug-report.log.gz?dl=0

Maybe this question has been ask before, but I tried most of answers to them and they didn’t work for me.

1 Like