Which version of the NVIDIA and CUDA drivers should I install?

Which version of the NVIDIA and CUDA drivers should I install? I have quadro m5000

Hi there @ardadulgar, welcome to the NVIDIA developer forums.

You will find the latest available driver for your specific Hardwar on the general driver download pages.
For Quadro M5000 on Linux it would for example be the latest v580 driver.

The GPU driver already contains the CUDA Toolkit compatible with this driver version.
You will then need to install CUDA fitting that Toolkit&Driver version, in this case CUDA 13.

It will run on your GPU but here is what often causes confusion. The Toolkit is backwards compatible until GPU Architecture generations are deprecated in the driver. There is documentation detailing this. But your GPU will always only support the feature set that is part of the Compute capability for that generation. the CC version for the M5000 is v5.2, while for example the newest Blackwell are v12.0. The numbering might look similar to the general CUDA versions, but that is just coincidence.

I hope that helps!