Hi folks!
I’m trying to use a pytorch code and torch.cuda.is_available() returns False. The cuda drivers are installed, nvidia drivers are upto date.

nvidia-smi works
nvcc --version works as well

Any ideas on how I can resolve this issue?
System config;
Ubuntu 18.04
NVIDIA driver version 410.48
Cuda 10.0