NVIDIA CUDA NVRTC

13.2.51 · active · verified Thu Apr 09

The `nvidia-cuda-nvrtc` package provides the NVRTC (NVIDIA CUDA Runtime Compilation) native shared libraries. These libraries allow applications to compile CUDA C++ source code into PTX or cubin at runtime. It is a dependency for other Python libraries (e.g., PyTorch, JAX, TensorFlow, Numba) and C++/CUDA applications that need NVRTC functionality, ensuring that a compatible version of the NVRTC library is available. As of version 13.2.51, it aligns with CUDA Toolkit 13.2 and is actively maintained as part of NVIDIA's CUDA Python ecosystem, with releases typically coinciding with CUDA Toolkit updates.

Warnings

Install

Quickstart

This package does not expose a direct Python API for NVRTC functions. Its primary purpose is to install the necessary native shared libraries (`libnvrtc.so` or `nvrtc64_*.dll`) that other Python libraries (like PyTorch, JAX, or Numba) or C/C++ applications can load and link against. The code below merely confirms the package is installed and provides a conceptual usage note.

print("The nvidia-cuda-nvrtc package has been installed.")
print("It provides native shared libraries for runtime CUDA compilation.")
print("Other libraries (e.g., PyTorch, JAX) will automatically use these libraries if compatible.")
# No direct Python API calls are available from this package itself.

view raw JSON →