Did you update your NVIDIA drivers recently? Could you restart your machine?
If that doesn’t help, could you try to run some CUDA examples and make sure your drivers are installed correctly?
Is nvidia-smi working properly?