TT-NN Visualizer
Project description
TT-NN Visualizer
A tool for visualizing the Tenstorrent Neural Network model (TT-NN)
Quick Start
TT-NN Visualizer can be installed from PyPI:
pip install ttnn-visualizer
After installation run ttnn-visualizer to start the application.
It is recommended to do this within a virtual environment. The minimum Python version is 3.10.
Please see the install guide guide for further information on getting up and running with TT-NN Visualizer.
If you want to test out TT-NN Visualizer you can try some of the sample data. See loading data for instructions on how to use this.
Features
For the latest updates and features, please see releases.
Reports
- Upload reports from the local file system or sync remotely via SSH
- Switch seamlessly between previously uploaded or synced reports
- Run multiple instances of the application concurrently with different data
- Set data ranges for both memory and performance traces
- Display physical topology and configuration of Tenstorrent chip clusters
Operations
- Filterable list of all operations in the model
- Interactive memory and tensor visualizations, including per core allocations, memory layout, allocation over time
- Input/output tensors details per operation including allocation details per core
- Navigable device operation tree with associated buffers and circular buffers
Tensors
- List of tensor details filterable by buffer type
- Flagging of high consumer or late deallocated tensors
Buffers
- Visual overview of all buffers for the entire model run by L1 or DRAM memory
- Toggle additional overlays such as memory layouts or late deallocated tensors
- Ease of navigation to the relevant operation
- Track a specific buffer in the data across the application
- Filterable table view for a more schematic look at buffers
Graph
- Interactive model graph view showing all operations and connecting tensors
- Filter out deallocated operations
- Find all operations by name
Performance
- Integration with tt-perf-report and rendering of performance analysis
- Interactive charts and tables
- Multiple filtering options of performance data
- Compare multiple performance traces
NPE
- Network-on-chip performance estimator (NPE) for Tenstorrent Tensix-based devices
- Dedicated NPE visualizations: zones, transfers, congestion, timelines with elaborate filtering capability
Demo
Application demo
https://github.com/user-attachments/assets/4e51a636-c6d6-46df-bf34-a06bca13c0b3
| L1 Summary with Tensor highlight | Operation inputs and outputs |
|---|---|
| Device operations with memory consumption | DRAM memory allocation |
|---|---|
| Operation graph view | Model buffer summary |
|---|---|
| Per core allocation details | Per core allocation details for individual tensors |
|---|---|
| Tensor details list | Performance report |
|---|---|
| Performance charts | |
|---|---|
| NPE | |
|---|---|
Sample reports
You may test the application using the following sample reports.
Unzip the files into their own directories and select them with the local folder selector, or load the NPE data on the /npe route.
Segformer encoder memory report
Segformer decoder memory report
Llama mlp memory + performance report
N300 llama memory + performance report with NPE data + cluster description
NPE report
T3K synthetic synthetic_t3k_small.json.zip
Contributing
How to run TT-NN Visualizer from source.
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 Distributions
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
File details
Details for the file ttnn_visualizer-0.73.0-py3-none-any.whl.
File metadata
- Download URL: ttnn_visualizer-0.73.0-py3-none-any.whl
- Upload date:
- Size: 2.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e74f6e085a44b4a535c07d785a1b907511bfb430cda3262889dc445ab8212567
|
|
| MD5 |
84ab70fcc269d4fc7e7285e57e131153
|
|
| BLAKE2b-256 |
87e12318792997248ae6cd24b6d72b4d497eb5c1b11d96b8f3193539aa8dcfe7
|
Provenance
The following attestation bundles were made for ttnn_visualizer-0.73.0-py3-none-any.whl:
Publisher:
build-wheels.yml on tenstorrent/ttnn-visualizer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ttnn_visualizer-0.73.0-py3-none-any.whl -
Subject digest:
e74f6e085a44b4a535c07d785a1b907511bfb430cda3262889dc445ab8212567 - Sigstore transparency entry: 963243823
- Sigstore integration time:
-
Permalink:
tenstorrent/ttnn-visualizer@67e5b51b366ded079a2a300bdbcf73c27b696e37 -
Branch / Tag:
refs/tags/v0.73.0 - Owner: https://github.com/tenstorrent
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-wheels.yml@67e5b51b366ded079a2a300bdbcf73c27b696e37 -
Trigger Event:
release
-
Statement type: