cuda.core.system.get_user_mode_driver_version#

cuda.core.system.get_user_mode_driver_version() tuple[int, ...]#

Get the user-mode (UMD / CUDA) driver version.

This is the most commonly needed version when checking CUDA driver compatibility. It works with all cuda-bindings versions.

Returns:

version – A 2-tuple (MAJOR, MINOR), e.g. (13, 0) for CUDA 13.0.

Return type:

tuple[int, …]