Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4417

I can't install nvidia cuda on my laptop [duplicate]

$
0
0

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?


Viewing all articles
Browse latest Browse all 4417

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>