GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - NVIDIA/nsight-python: Nsight Python is a Python kernel profiling interface based on NVIDIA Nsight Tools

BranchesTags
Open more actions menu

Latest commit

 

History

136 Commits
136 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
examples
examples
 
 
nsight
nsight
 
 
scripts/git-hooks
scripts/git-hooks
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
Contributing.md
Contributing.md
 
 
DESCRIPTION.rst
DESCRIPTION.rst
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
conftest.py
conftest.py
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

License Documentation

Nsight Python

Nsight Python is a Python kernel profiling interface based on NVIDIA Nsight Tools. It helps you unlock peak performance from your GPU kernels by simplifying performance benchmarking and visualization of performance metrics — all in just a few lines of Python.

Installation

Please refer to the Installation documentation for detailed instructions.

Installation from source

Install as an editable install:

pip install -e .

If you want to manage all run-time dependencies yourself, also pass the --no-deps flag.

Running tests

Tests require NVIDIA Nsight Compute to be installed and available in your PATH.

Prerequisites

Install pytest and the pytest-isolated plugin (some tests run in a fresh process):

pip install pytest pytest-isolated

PyTorch Dependency

Most tests and examples require PyTorch for GPU operations:

# Install PyTorch with CUDA support matching your system (e.g., CUDA 12.6, 12.9, 13.0)
# Replace cuXXX with your CUDA version (e.g., cu126, cu129, cu130)
pip install torch --index-url https://download.pytorch.org/whl/cuXXX

Visit pytorch.org for installation commands matching your specific CUDA version.

Running Tests

pytest tests -v       # Run just unit tests
pytest examples -v    # Run just the examples
pytest -v             # Run the tests and examples

Contributing Guide

Review the CONTRIBUTING.md file for information on how to contribute code and issues to the project.

License

All files hosted in this repository are subject to the Apache 2.0 license.

About

Nsight Python is a Python kernel profiling interface based on NVIDIA Nsight Tools

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

303 stars

Watchers

7 watching

Forks

23 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.