I made a fresh installation with
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch-nightly -c nvidia
I got torch.cuda.is_available()
False
Trying to debug
nvidia-smi
command not known
As I saw in cuda 11.7 relase note on my computer
NVIDIA Linux Driver 520.43
I tried
sudo apt install nvidia-utils-520
I got recommanded package libnvidia-compute-525 nvidia-utils-520 nvidia-utils-525
then
nvidia-smi
returns
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
As I saw in other question that seems to be usefull
dpkg -l |grep nvidia
returns
ii libnvidia-compute-525:amd64 525.60.11-0ubuntu0.22.04.1 amd64 NVIDIA libcompute package
ii nvidia-utils-520:amd64 525.60.11-0ubuntu0.22.04.1 amd64 Transitional package for nvidia-utils-525
ii nvidia-utils-525 525.60.11-0ubuntu0.22.04.1 amd64 NVIDIA driver support binaries
Any help appreciated