The `nvidia-cuda-cupti` package provides the CUDA Profiling Tools Interface (CUPTI) runtime libraries, essential for profiling CUDA applications. It's a low-level dependency that makes the necessary shared libraries available in the environment. The current version is 13.2.23, and it's released in alignment with NVIDIA's CUDA Toolkit versions.
pip install nvidia-cuda-cuptiNo compatibility data collected yet for this library.
This quickstart demonstrates that `nvidia-cuda-cupti` is a runtime dependency without direct Python imports. Its presence is primarily for other CUDA-aware libraries to utilize its underlying C/C++ shared objects for profiling.
Simply install the package. Its effects are indirect, making CUPTI libraries available for other Python libraries like PyTorch or TensorFlow that rely on CUDA profiling.
Refer to the NVIDIA CUDA Toolkit release notes and compatibility matrix for the recommended versions. Mismatches can lead to runtime errors or incorrect profiling data.
Prefer using `pip install nvidia-cuda-cupti` if your other libraries are designed to dynamically link to system-provided CUPTI. If a library explicitly bundles CUPTI, ensure its version is compatible or consider using a consistent environment (e.g., containers) to manage library versions.
Add the directory containing `libcupti.so` (e.g., `/usr/local/cuda/extras/CUPTI/lib64` or `/usr/local/cuda-X.Y/extras/CUPTI/lib64`) to your `LD_LIBRARY_PATH` (Linux) or `PATH` (Windows) environment variable. Ensure the CUDA toolkit is fully and correctly installed and that its version is compatible with your profiling tool. For specific missing versions, creating a symbolic link to an existing minor version might work (e.g., `sudo ln -s /path/to/libcupti.so.X.Y /path/to/libcupti.so.X.0`).
Verify that your NVIDIA driver, CUDA Toolkit, and any software utilizing CUPTI (e.g., PyTorch, TensorFlow, profiling tools) are mutually compatible by checking their respective documentation and compatibility matrices. Ensure CUPTI initialization happens after the CUDA context is fully established. In some cases, a `conda update --all` or selectively updating/downgrading packages might resolve conflicts.
Update your NVIDIA GPU display driver to a version that is officially supported by your CUDA Toolkit and the specific CUPTI features you are trying to use. Consult the CUDA Toolkit Release Notes for driver compatibility information.
To allow non-admin users to profile, add `options nvidia "NVreg_RestrictProfilingToAdminUsers=0"` to a NVIDIA kernel module configuration file (e.g., `/etc/modprobe.d/nvidia-kernel-common.conf` on Linux), then run `sudo update-initramfs -u` and reboot the system. Alternatively, run the profiling application with root privileges (e.g., `sudo your_profiling_command`).
No dependency data recorded yet.