--- id: cupti-python version: "13.3.1" license: NVIDIA SOFTWARE LICENSE AGREEMENT IMPORTANT NOTICE - PLEASE READ AND AGREE BEFORE USING THE SOFTWARE This software license agreement ("Agreement") is a legal agreement between you, whether an… (full text in the JSON record) license_treatment: unclear maintenance: active --- # cupti-python — NVIDIA CUPTI Python Library License: unclear · Maintenance: active · Downloads: 599.7K/mo ## What it is and what it does CUPTI Python is NVIDIA's official Python interface to CUPTI (CUDA Profiling Tools Interface), enabling developers to build custom profiling and tracing tools for CUDA Python applications. It exposes a subset of CUPTI's C Activity and Callback APIs, allowing you to instrument GPU kernels, memory operations, and other CUDA events at runtime. The package is tightly coupled to NVIDIA's CUDA ecosystem: it requires the nvidia-cuda-cupti system library, cuda-bindings for low-level GPU interaction, cuda-pathfinder for locating CUDA installations, numpy for array handling, and pyelftools for binary introspection. It ships as precompiled wheels for Linux x86_64 and aarch64 on Python 3.10 through 3.14, making installation straightforward on supported platforms but impossible elsewhere. Use it for: - Profile CUDA Python workloads to identify kernel bottlenecks and memory transfer overhead. - Trace GPU activity in real time to correlate host and device execution for debugging. - Build custom performance monitoring dashboards for long-running CUDA applications. - Analyze callback events to understand GPU scheduling and resource contention patterns. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python bindings to NVIDIA's CUPTI profiling and tracing APIs for instrumenting CUDA applications with activity and callback-based performance monitoring. Yes, if you are profiling or tracing CUDA Python applications on Linux and accept NVIDIA's proprietary license terms. The package is actively maintained, has no known vulnerabilities, and fills a gap in GPU observability for Python. No, if you need cross-platform support, open-source licensing, or are developing competing GPU profiling tools—the EULA explicitly forbids the latter. ## Install pip install cupti-python uv add cupti-python poetry add cupti-python ## Installing cupti-python Before you install: Medium install friction due to compiled wheels for specific Python versions (3.10–3.14) and Linux platforms only. Active maintenance with recent release (17 days old). Depends on nvidia-cuda-cupti, cuda-bindings, cuda-pathfinder, numpy, and pyelftools. License in practice: Licensed under NVIDIA's proprietary EULA with significant restrictions: use limited to CUDA Python applications on NVIDIA GPUs, reverse engineering prohibited, distribution requires NVIDIA notice, and competing product development forbidden. Not open source. Quickstart: pip install cupti-python import cupti_python # Use CUPTI APIs to set up profiling/tracing for CUDA applications Requires Linux (manylinux_2_24+), Python 3.10–3.14, NVIDIA CUDA toolkit, and an NVIDIA GPU. Verify before relying: - Specific CUPTI C Activity and Callback API subset supported—which APIs are included or excluded - Performance overhead of profiling/tracing relative to native CUPTI C - Compatibility with different CUDA compute capabilities or driver versions ## Package facts - License: NVIDIA SOFTWARE LICENSE AGREEMENT IMPORTANT NOTICE - PLEASE READ AND AGREE BEFORE USING THE SOFTWARE This software license agreement ("Agreement") is a legal agreement between you, whether an… (full text in the JSON record) (unclear) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 599.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags cuda profiling python, gpu performance tracing, nvidia cupti bindings, cuda activity monitoring, gpu application profiling, gpu-profiling, cuda-tools, performance-analysis [View on SkillFed](https://skillfed.io/packages/cupti-python) · [View on PyPI](https://pypi.org/project/cupti-python/)