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.
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
Release history Release notifications | RSS feed
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.5.tar.gz
(59.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
nsys_tui-0.1.5-py3-none-any.whl
(64.4 kB
view details)
File details
Details for the file nsys_tui-0.1.5.tar.gz.
File metadata
- Download URL: nsys_tui-0.1.5.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e63ea3a46715d4e0ab3395382081cd81eb41d99506afdcdda730796e714fac00
|
|
| MD5 |
4647d6946baef493d43d02ca6115377a
|
|
| BLAKE2b-256 |
518a2147b3961934359dc83fc31c823cd8363cb6210683c411062fc9ba6b9200
|
File details
Details for the file nsys_tui-0.1.5-py3-none-any.whl.
File metadata
- Download URL: nsys_tui-0.1.5-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a6ff6c1b3b4577b115c1e131fb6e01ecb78c55067ec2e1fee04abf5dbf0d006
|
|
| MD5 |
cc5ed98238869b8ceab3933672da6d87
|
|
| BLAKE2b-256 |
df1e07cc143fabf8754593530da0f34da7ca84bcac399533ce581e0fff446f6b
|