how to check what version of cuda i have code example Example 1: cuda version check nvcc --version Example 2: check cuda version python nvcc --version