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 getting started 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.
- Comprehensive list of all operations in the model
- Interactive graph visualization of operations
- Detailed and interactive L1, DRAM, and circular buffer memory plots
- Filterable list of tensor details
- Overview of all buffers for the entire model run
- Visualization of input and output tensors with core tiling and sharding details
- Visualize inputs/outputs per tensor or tensor allocation across each core
- Detailed insights into L1 peak memory consumption, with an interactive graph of allocation over time
- Navigate a tree of device operations with associated buffers and circular buffers
- Operation flow graph for a holistic view of model execution
- Load reports via the local file system or through an SSH connection
- Supports multiple instances of the application running concurrently
- BETA: Network-on-chip performance estimator (NPE) for Tenstorrent Tensix-based devices
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.54.0-py3-none-any.whl.
File metadata
- Download URL: ttnn_visualizer-0.54.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 |
0e3d0f3a2e3b0353e383756af3608ac504e8d86aa0910b351bff6cc593f03f03
|
|
| MD5 |
0960ee7b7bb6c264c3ddb0d7f83e47df
|
|
| BLAKE2b-256 |
c404088ca46ea1c117c36ec5f61b9b5107511be126ab97cf3556a1a4d0aadf24
|
Provenance
The following attestation bundles were made for ttnn_visualizer-0.54.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.54.0-py3-none-any.whl -
Subject digest:
0e3d0f3a2e3b0353e383756af3608ac504e8d86aa0910b351bff6cc593f03f03 - Sigstore transparency entry: 556764158
- Sigstore integration time:
-
Permalink:
tenstorrent/ttnn-visualizer@e45047e3726ef61e85d32d3cfbdf043d5cf00b77 -
Branch / Tag:
refs/tags/v0.54.0 - Owner: https://github.com/tenstorrent
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-wheels.yml@e45047e3726ef61e85d32d3cfbdf043d5cf00b77 -
Trigger Event:
release
-
Statement type: