Skip to main content

TT-Lensium :tm:

A low-level hardware debugger

ttnn logo

Ask DeepWiki PyPI

A low-level debugging tool for Tenstorrent hardware that enables direct access to and communication with Wormhole and Blackhole devices.


Quickstart

You can install latest published version with:

pip install tt-exalens

Or specific version with:

pip install tt-exalens=="x.y.z"

Alternatively, you can install the latest code from GitHub with:

pip install git+https://github.com/tenstorrent/tt-exalens.git

The CLI application can be run by invoking the tt-exalens command after installing the wheel.

Running the CLI application

The CLI application can be run via the tt-exalens.py script or by invoking the tt-exalens command after installing the wheel.

The application supports both local and remote device access. For remote connections, a server instance must be started using the same application.

A GDB server can be launched, enabling stepping, breakpoints, and other debugging features via a GDB client.

For more usage information, refer to the tutorial or the documentation.

Using library

The application functionality is also available through the ttexalens Python library, enabling you to create custom scripts that interact with Tenstorrent hardware.

For a quick start with the library, check out the tutorial. Full documentation is also available here.

Development

Setting up environment

The recommended way to manage dependencies is by creating a virtual environment with:

./scripts/create-venv.sh

To activate the created environment, use:

.venv/bin/activate

Alternatively, you can use your existing environment and just install dependencies with:

./scripts/install-deps.sh

Testing

Test requirements

The following dependencies are required to build the necessary kernels:

  • ninja-build,
  • cmake
  • make

Running tests

The easiest way to run all tests locally is by using the make wrapper from the project root directory:

make test

This command will build dependencies, run all tests, create the wheel, and run wheel tests.

If you don't need all of these steps, you can run them manually:

# Compile kernels that tests use
make

# Install runtime dependencies
pip install -r ttexalens/requirements.txt

# Install test dependencies
pip install -r test/test_requirements.txt

# Run library tests
pytest test/ttexalens

# Run CLI application tests
pytest test/app

If you're developing with VSCode (or its derivatives), you can use the Testing extension. Install the Python extension to enumerate all tests within the Testing tab in the activity bar.

Updating documentation

Library documentation is automatically generated from source code docstrings. To update the library documentation, run the following command in your development environment:

make docs

in the project root. For more advanced use cases, refer to the source code of the documentation generation scripts, located in docs/bin.

Static checks

Pre-commit

We have defined various pre-commit hooks that check the code for formatting, licensing issues, etc.

To install pre-commit, run the following command:

pip install pre-commit

After installing pre-commit, you can install the hooks by running:

pre-commit install

Now, each time you run git commit the pre-commit hooks (checks) will be executed.

If you have already committed before installing the pre-commit hooks, you can run on all files to "catch up":

pre-commit run --all-files

For more information visit pre-commit

mypy

We use mypy for static code analysis.

You can use the make wrapper to execute it with:

make mypy

Or run it directly from your development environment with:

mypy

Metadata

Release files for tt-exalens 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for tt-exalens 0.4.2
File Actions
tt_exalens-0.4.2-cp313-cp313-manylinux_2_34_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ x86-64 Details for tt_exalens-0.4.2-cp313-cp313-manylinux_2_34_x86_64.whl
tt_exalens-0.4.2-cp313-cp313-manylinux_2_34_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ ARM64 Details for tt_exalens-0.4.2-cp313-cp313-manylinux_2_34_aarch64.whl
tt_exalens-0.4.2-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details for tt_exalens-0.4.2-cp312-cp312-manylinux_2_34_x86_64.whl
tt_exalens-0.4.2-cp312-cp312-manylinux_2_34_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ ARM64 Details for tt_exalens-0.4.2-cp312-cp312-manylinux_2_34_aarch64.whl
tt_exalens-0.4.2-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details for tt_exalens-0.4.2-cp311-cp311-manylinux_2_34_x86_64.whl
tt_exalens-0.4.2-cp311-cp311-manylinux_2_34_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ ARM64 Details for tt_exalens-0.4.2-cp311-cp311-manylinux_2_34_aarch64.whl
tt_exalens-0.4.2-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details for tt_exalens-0.4.2-cp310-cp310-manylinux_2_34_x86_64.whl
tt_exalens-0.4.2-cp310-cp310-manylinux_2_34_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ ARM64 Details for tt_exalens-0.4.2-cp310-cp310-manylinux_2_34_aarch64.whl

Total release size: 7.8 MB

Release files / tt_exalens-0.4.2-cp313-cp313-manylinux_2_34_x86_64.whl

Download URL tt_exalens-0.4.2-cp313-cp313-manylinux_2_34_x86_64.whl
Size 992.6 kB
Tags CPython 3.13 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
fd003f4b3d34ba7b8c53056395f5dd7233126a2af1f8d75330ccb4836883a124
BLAKE2b-256 checksum
How to use checksums
7ccf719d6e67905d6d238ef20971c135d0c36558728a49bfc46b18f26ac88402
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / tt_exalens-0.4.2-cp313-cp313-manylinux_2_34_aarch64.whl

Download URL tt_exalens-0.4.2-cp313-cp313-manylinux_2_34_aarch64.whl
Size 955.4 kB
Tags CPython 3.13 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
b1b4d700de9f975b5fda4c568396195a832ab9d3d9c2cb7446d74674764f8454
BLAKE2b-256 checksum
How to use checksums
fb775b0dc32cb0b9178c01c7d444a019f4342b56adff9ee78291fb835eaae3e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / tt_exalens-0.4.2-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL tt_exalens-0.4.2-cp312-cp312-manylinux_2_34_x86_64.whl
Size 992.7 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
1f9ea498d89b55551af69516b3084ac4d25086c1e6e78f0f3f8c43026f9c1f06
BLAKE2b-256 checksum
How to use checksums
a80634a2a07f494ae85bc782a67b6ced7e81e37bca37f5f8249882d45d0efc04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / tt_exalens-0.4.2-cp312-cp312-manylinux_2_34_aarch64.whl

Download URL tt_exalens-0.4.2-cp312-cp312-manylinux_2_34_aarch64.whl
Size 955.3 kB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
549efd4166cd30f4d9e1891f6f73b2993bcbb1b861b56a786d5383b317690b34
BLAKE2b-256 checksum
How to use checksums
3b9307a3c2cabcc65ca674aa20d0b8fe2edf74e6a42c4b1aba9979e25920825c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / tt_exalens-0.4.2-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL tt_exalens-0.4.2-cp311-cp311-manylinux_2_34_x86_64.whl
Size 993.0 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
e232371737848dcfd01c057739249ee3d15625d1bcf0102f1b3da18bebc96933
BLAKE2b-256 checksum
How to use checksums
935b80b3df25dbb8a8e8a39c541e0715e435a670d0ea6d83f10eb1b5cb6c4f76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / tt_exalens-0.4.2-cp311-cp311-manylinux_2_34_aarch64.whl

Download URL tt_exalens-0.4.2-cp311-cp311-manylinux_2_34_aarch64.whl
Size 956.4 kB
Tags CPython 3.11 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
9b9a38145ca454f8fe06a4506b86637a3788ad82ddd9eb00229e9bdef2b2dc3f
BLAKE2b-256 checksum
How to use checksums
8fad6062b9cc8dd5a931bee87500234285b2fa0d2861357d237ed980e962be83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / tt_exalens-0.4.2-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL tt_exalens-0.4.2-cp310-cp310-manylinux_2_34_x86_64.whl
Size 992.9 kB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
32f19ada9843fe481f8613efe21af5587fd20b18a94482a33afa524b868359e0
BLAKE2b-256 checksum
How to use checksums
f3be95b2427a9200e5439b61bdb2e3100afbf896171cf05d6f8a5010ae0e2029
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / tt_exalens-0.4.2-cp310-cp310-manylinux_2_34_aarch64.whl

Download URL tt_exalens-0.4.2-cp310-cp310-manylinux_2_34_aarch64.whl
Size 956.1 kB
Tags CPython 3.10 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
94bb55ae8f0a9fa56b24f86e7bfc7181ca03d62bc603bfc4b9a006c9e433d781
BLAKE2b-256 checksum
How to use checksums
f18850272aa02d5084b3d991b08096873759e82e05d2ad8d1e0a5241874f3747
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for tt-exalens 0.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for tt_exalens-0.4.2-cp313-cp313-manylinux_2_34_x86_64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.2 This release

8 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page