Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
/ tt-adapter Public archive

Model Explorer Adapter built for TT-MLIR Compiled outputs.

Notifications You must be signed in to change notification settings

vprajapati-tt/tt-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tt-adapter

Model Explorer Adapter built for TT-MLIR Compiled outputs.

Installation

This repository depends on tenstorrent/tt-mlir, build and activate the venv as the python bindings are a dependency of TT-Adapter. Run pip install . in the root of this repository to install tt-adapter into the ttmlir_venv environment.

Integration into model-explorer

Model-Explorer currently primarily supports loading extensions through the CLI. An example of a run call:

model-explorer --extensions=tt_adapter

You should be able to see

Loading extensions...
 - ...
 - Tenstorrent Adapter
 - JSON adapter

in the command output to verify that it has been run.

Testing

To test the performance trace (with dummy information) and visualization features, activate the ttmlir venv and run:

model-explorer test/floor_ceil_div.ttir --node_data_paths=node_data/perf_trace_dummy.json --extensions=tt_adapter

It will start a flask server and provide the link to visualize the model. For more information on the Model Explorer UI, refer to the Wiki

About

Model Explorer Adapter built for TT-MLIR Compiled outputs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages