Upgrade CUDA from 12.2 to 12.3 but nvidia-smi still reports 12.2 with driver 535

I am confused about reported version of cuda in nvidia-smi vs latest installed version of CUDA.

I have 12.2 installed with driver 535, and then installed 12.3 base installer, without the driver update.
nvidia-smi still reports 12.2. Will 12.3 be used at runtime ? I am using the local deb install instructions.

CUDA has a version both for the driver side and the runtime side. The general principle is that the driver CUDA version must be equal to or newer than the runtime CUDA version, for things to work correctly.

Which CUDA version is used at runtime is mostly a function of what you do when you use nvcc. If you compile with nvcc from CUDA 12.3, it’s generally going to build an executable that uses/depends on CUDA 12.3. Such an executable will generally not work if your GPU driver (nvidia-smi) advertises support for CUDA 12.2.

Great, all clear now - thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.