How to get the version of the Nvidia kernel module on Linux? I’m posting this here because I’m sure I will forget this again. This is very relevant when evaluating that the proper driver is installed for CUDA use.
cat /proc/driver/nvidia/version
On my system this returns:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 270.41.19 GCC version: gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)