I have a Nitro 5 AN515-57 with a GeForce RTX 3060 Mobile graphics card.
I would like to install Nvidia CUDA on it.
Unfortunately after following the instructions from the official website, when I try to test if cuda can be used with pytorch
with the command torch.cuda.is_available()
it returns me False
.
After some research, I found that I was not using the last driver (Nvidia-driver-545). I am using the Nvidia-driver-535 as it is recommended by the OS.
When I tried to switch to this version, I received the following error :
The following packages have unmet dependencies :nvidia-dkms-545: Depends: nvidia-kernel-common-545 (=545.23.08-0ubuntu1) but it is not installable linux-modules-nvidia-545-generic-hwe-22.04: Depends: linux-modules-nvidia-545-6.5.0-21-generic (= 6.5.0-21.21~22.04.1+1) but it is not going to be installed Dpends: nvidia-kernel-common-545 (>=545.29.06) but it is not installable
I have tried to install a specific version of nvidia-kernel-common but unfortunately, it fails too as it gives me the version error to install the 545.23.08-0ubuntu1 of nvidia-kernel-common-545.
I do not know how to resolve this problem.
Could anyone help me?
Would it be possible to use the CUDA version for the current driver?