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.4

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.4
File Actions
tt_exalens-0.4.4-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.4-cp313-cp313-manylinux_2_34_x86_64.whl
tt_exalens-0.4.4-cp313-cp313-manylinux_2_34_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ ARM64 Details for tt_exalens-0.4.4-cp313-cp313-manylinux_2_34_aarch64.whl
tt_exalens-0.4.4-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.4-cp312-cp312-manylinux_2_34_x86_64.whl
tt_exalens-0.4.4-cp312-cp312-manylinux_2_34_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ ARM64 Details for tt_exalens-0.4.4-cp312-cp312-manylinux_2_34_aarch64.whl
tt_exalens-0.4.4-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.4-cp311-cp311-manylinux_2_34_x86_64.whl
tt_exalens-0.4.4-cp311-cp311-manylinux_2_34_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ ARM64 Details for tt_exalens-0.4.4-cp311-cp311-manylinux_2_34_aarch64.whl
tt_exalens-0.4.4-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.4-cp310-cp310-manylinux_2_34_x86_64.whl
tt_exalens-0.4.4-cp310-cp310-manylinux_2_34_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ ARM64 Details for tt_exalens-0.4.4-cp310-cp310-manylinux_2_34_aarch64.whl

Total release size: 7.8 MB

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

Download URL tt_exalens-0.4.4-cp313-cp313-manylinux_2_34_x86_64.whl
Size 998.1 kB
Tags CPython 3.13 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
8faa2de9a4bf80440b36703b8741b1f23050318f7e77661082d400666b4bf735
BLAKE2b-256 checksum
How to use checksums
360caaee58739965b7eb5d151b9c306cbd50ca1655293f78ce45c38c5435f2e2
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 Nov 20, 2026.

Transparency log

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

Download URL tt_exalens-0.4.4-cp313-cp313-manylinux_2_34_aarch64.whl
Size 960.9 kB
Tags CPython 3.13 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
eb2d2e5d7cbb5cbf659a6fd2e9b765ff4df7ccc4ff4702f503657c1a75045ac0
BLAKE2b-256 checksum
How to use checksums
2d46c4b498f5ad63aa6af8a6492b9272f581e937953c9f7acaecf1a77328585f
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 Nov 20, 2026.

Transparency log

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

Download URL tt_exalens-0.4.4-cp312-cp312-manylinux_2_34_x86_64.whl
Size 998.2 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
aa5f58c9a2da3b142a0286f32aae14753ff4f956ead106c2389f9acf16938b44
BLAKE2b-256 checksum
How to use checksums
839b49df0131514d14985536b164927e635fbeb9bae5f68208ad57b2d77da3d1
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 Nov 20, 2026.

Transparency log

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

Download URL tt_exalens-0.4.4-cp312-cp312-manylinux_2_34_aarch64.whl
Size 960.8 kB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
97cbcaf1c9a37ffa298fba1713f7e13b4f4c0147844c15dafc881b61a6fb0dfe
BLAKE2b-256 checksum
How to use checksums
1d3b3a9d81bff19eae4349629adde342ce2b25c88586f2074c37fe8eb13b1339
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 Nov 20, 2026.

Transparency log

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

Download URL tt_exalens-0.4.4-cp311-cp311-manylinux_2_34_x86_64.whl
Size 998.5 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
ff2430da4b7b6e853ac0bc92fe3e56fb92bc8e418e245f2b8215a596f0603353
BLAKE2b-256 checksum
How to use checksums
585618a2ae6f7f3c9a50975424455013a50d0a3a5111edf158b3c5cd80d91913
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 Nov 20, 2026.

Transparency log

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

Download URL tt_exalens-0.4.4-cp311-cp311-manylinux_2_34_aarch64.whl
Size 961.9 kB
Tags CPython 3.11 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
f9215ca9b992ccbf83ff929f234486ed7330c28233de204594050b1bb8e52afc
BLAKE2b-256 checksum
How to use checksums
3483324be2ce11e39dc3de497f229a2ff13a7e1366107739f9c0fbf9ce975cb2
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 Nov 20, 2026.

Transparency log

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

Download URL tt_exalens-0.4.4-cp310-cp310-manylinux_2_34_x86_64.whl
Size 998.4 kB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
4e29cb8d6b7cdc60d716d480e20db7900681da823074d44a74f043241f76bb83
BLAKE2b-256 checksum
How to use checksums
29f7bf5a2ecb635ba9463361ecfd2afaf0404ec8efac3d11ab51ddc749acdbf9
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 Nov 20, 2026.

Transparency log

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

Download URL tt_exalens-0.4.4-cp310-cp310-manylinux_2_34_aarch64.whl
Size 961.6 kB
Tags CPython 3.10 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
d9f79a57ba027cae4769bbb85de3a6f2e0aa761923a62dbd1abdfcbad25a1e5d
BLAKE2b-256 checksum
How to use checksums
5ab4395c9636f23d5950517a5abf77140f720737135e20bddd8c6862f997f4ba
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 Nov 20, 2026.

Transparency log

Security for tt-exalens 0.4.4

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.4-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 Nov 20, 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.4 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