{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/2"},{"label":"Database","url":"https://skillfed.io/packages/category/database/2"}],"enrichment":{"capability":"nvtx annotates Python code regions with named markers and colors for collection and visualization by NVIDIA Nsight Systems profiler.","skillfed_tags":["profiling","nvidia-tools","performance-analysis"],"use_cases":["Profile GPU-accelerated Python applications to identify bottlenecks in compute kernels and data transfer.","Annotate machine learning training loops to visualize which stages (data loading, forward pass, backward pass) consume the most time.","Mark critical sections in multi-threaded or async code to correlate Python execution with GPU activity in Nsight Systems.","Add custom counter annotations to track metrics like batch size or loss during profiling sessions.","Instrument data processing pipelines to see where time is spent across preprocessing, model inference, and postprocessing stages."],"what_it_does":"nvtx is a Python wrapper around NVIDIA's NVTX (NVIDIA Tools Extension) library, allowing you to mark regions of Python code with named annotations and colors. When you run your code under NVIDIA Nsight Systems with the nvtx trace enabled, these annotations appear as labeled intervals in the profiler's timeline, making it easier to identify which functions and loops consume time during execution.\n\nThe package provides decorators and context managers to annotate functions and code blocks, plus support for counter annotations and event payloads. It has no runtime dependencies and works on Linux (x86_64 and aarch64), Windows (x86_64 and ARM64), and supports Python 3.9 through 3.14. Annotations can be disabled via the NVTX_DISABLE environment variable for zero-overhead in production when profiling is not active.","worth_installing":"Yes, if you profile GPU-accelerated Python workloads with NVIDIA Nsight Systems. The package is actively maintained, has no runtime dependencies, supports current Python versions, and zero known vulnerabilities. The license treatment is unclear\u2014verify the Apache-2.0 WITH LLVM-exception clause if you have strict licensing requirements. Install friction is medium due to platform-specific wheels, but prebuilt binaries are available."},"id":"nvtx","links":{"html":"https://skillfed.io/packages/nvtx","md":"https://skillfed.io/packages/nvtx.md","pypi":"https://pypi.org/project/nvtx/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-12","license_spdx":"Apache-2.0 WITH LLVM-exception","license_treatment":"unclear","name":"nvtx","python_support":"supports_current","summary":"Python NVTX - Python code annotation library"},"popularity":{"monthly_downloads":2057516,"position":3335,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.2.16"}
