Skip to main content

TT-NN Visualizer

Project description

TT-NN Visualizer

A tool for visualizing the Tenstorrent Neural Network model (TT-NN)

Buy Hardware | Install TT-NN | Discord | Join Us

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
L1 Summary with Tensor highlight Operation inputs and outputs
Device operations with memory consumption DRAM memory allocation
Device operations with memory consumption DRAM memory allocations
Operation graph view Model buffer summary
Operation graph view Model buffer summary
Per core allocation details Per core allocation details for individual tensors
Per core allocation details Per core allocation details for individual tensor
Tensor details list Performance report
Tensor details list Performnance analysis
Performance charts
Performance charts Performance charts
NPE
NPE 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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ttnn_visualizer-0.54.0-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

Details for the file ttnn_visualizer-0.54.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ttnn_visualizer-0.54.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e3d0f3a2e3b0353e383756af3608ac504e8d86aa0910b351bff6cc593f03f03
MD5 0960ee7b7bb6c264c3ddb0d7f83e47df
BLAKE2b-256 c404088ca46ea1c117c36ec5f61b9b5107511be126ab97cf3556a1a4d0aadf24

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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