show CUDA Python version
@@ -151,7 +151,10 @@ class _RuntimeInfo:
driver_build_version = cupy.cuda.driver.get_build_version()
if cupy.cuda.driver._is_cuda_python():
- self.cuda_build_version = f'{driver_build_version} (CUDA Python)'
+ import cuda
+ self.cuda_build_version = (
+ f'{driver_build_version} '
+ f'(CUDA Python: {cuda.__version__})')
else:
self.cuda_build_version = driver_build_version
self.cuda_driver_version = _eval_or_error(
