Skip to main content

Terminal UI for NVIDIA Nsight Systems profiles — timeline viewer, kernel navigator, NVTX hierarchy

Project description

nsys-tui

Terminal UI for NVIDIA Nsight Systems profiles — timeline viewer, kernel navigator, NVTX hierarchy.

CI License: MIT Python 3.10+

Installation

pip install -e .

Quick Start

# Show profile info
nsys-tui info profile.sqlite

# Interactive timeline TUI (Perfetto-style)
nsys-tui timeline profile.sqlite --gpu 0 --trim 39 42

# Interactive tree TUI
nsys-tui tui profile.sqlite --gpu 0 --trim 39 42

# GPU kernel summary
nsys-tui summary profile.sqlite --gpu 0

# Export to Perfetto JSON
nsys-tui export profile.sqlite -o traces/

Timeline TUI

A curses-based horizontal timeline viewer with:

  • Time-cursor navigation — ←/→ pans through time, ↑/↓ selects stream
  • Per-stream colors — 7-color palette for visual stream differentiation
  • NVTX hierarchy — stacked NVTX span bars above stream swimlanes
  • Kernel details — inline names, duration labels, heat-based styling
  • Bookmarks — save/jump to positions and ranges
  • Config panel — tweak stream rows, tick density, NVTX depth live

Keybindings

Key Action
←/→ Pan through time
Shift+←/→ Page pan (1/4 viewport)
↑/↓ Select stream
Tab / Shift+Tab Snap to next/prev kernel
+/- Zoom in/out
a Toggle absolute/relative time
T Cycle time tick density
B Save bookmark
' Show bookmark list (1-9 to jump)
` Jump back to previous position
C Config panel
h Help overlay
/ Filter kernels by name
m Set min duration threshold
q Quit

Commands

Command Description
info Profile metadata and GPU info
summary GPU kernel summary with top kernels
overlap Compute/NCCL overlap analysis
nccl NCCL collective breakdown
iters Detect training iterations
tree NVTX hierarchy as text
tui Interactive tree TUI
timeline Horizontal timeline TUI
search Search kernels/NVTX by name
export Export Perfetto JSON traces
export-csv Flat CSV export
export-json Flat JSON export
viewer Generate interactive HTML viewer

Development

pip install -e '.[dev]'
pytest tests/ -v

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nsys_tui-0.1.4.tar.gz (59.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nsys_tui-0.1.4-py3-none-any.whl (64.4 kB view details)

Uploaded Python 3

File details

Details for the file nsys_tui-0.1.4.tar.gz.

File metadata

  • Download URL: nsys_tui-0.1.4.tar.gz
  • Upload date:
  • Size: 59.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nsys_tui-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3ee5b2c489a3789c26e6ce1a1f012067ff2a838c191019f525df50da8a48489c
MD5 d851d20205c1c81e36501a46a3c80c1d
BLAKE2b-256 71a4236fbe9a406c3ebc5a62f3a8a3022134b74105a87504befe5b4ca44910b6

See more details on using hashes here.

File details

Details for the file nsys_tui-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: nsys_tui-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 64.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nsys_tui-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 593ae864d4d0500f9c024b19cbcdaa72131f26be95185813fd5df38daa9abdd2
MD5 8ec12de9765e2942702bdec013ecfcd6
BLAKE2b-256 60fc489f804a80561b4e33dc64c728a1fec2e37b03013bdc01a26bc052f8f759

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page