utils.cuda13

utils.cuda13

Helpers for CUDA 13 uv images.

Functions

Name Description
cu13_library_path Return the nvidia.cu13 package lib path, when available.
prepend_cu13_ld_library_path Prepend the CUDA 13 library directory when nvidia.cu13 is installed.

cu13_library_path

utils.cuda13.cu13_library_path()

Return the nvidia.cu13 package lib path, when available.

prepend_cu13_ld_library_path

utils.cuda13.prepend_cu13_ld_library_path(ld_library_path)

Prepend the CUDA 13 library directory when nvidia.cu13 is installed.

The path is intentionally kept small and idempotent: - no-op when the cu13 package is absent - keeps any existing LD_LIBRARY_PATH entries - avoids duplicating the package-derived cu13 lib path