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

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

Total release size: 7.8 MB

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

Download URL tt_exalens-0.4.3-cp313-cp313-manylinux_2_34_x86_64.whl
Size 995.8 kB
Tags CPython 3.13 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
3d06ed4b2796462b3eee048a66fdabe80924a650e8172e8c7cb6d59910bb5978
BLAKE2b-256 checksum
How to use checksums
b94748a1c24eebd84ad2e6c9c45b4bd24f3da6cf2469a4022828272750914a83
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 5, 2026.

Transparency log

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

Download URL tt_exalens-0.4.3-cp313-cp313-manylinux_2_34_aarch64.whl
Size 958.6 kB
Tags CPython 3.13 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
44396eab40bea1432477d715825ec68cc248b00134f7a155d98dd1a9d17f6491
BLAKE2b-256 checksum
How to use checksums
e821202e1f7313689cdee3fccfeea9c65167aa0c3ec0eb47f6cf25584e283768
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 5, 2026.

Transparency log

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

Download URL tt_exalens-0.4.3-cp312-cp312-manylinux_2_34_x86_64.whl
Size 995.9 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
c48203c46aa6f0f4097eee87818a629ee839dffeef8f658e7e378e9d11ce6b63
BLAKE2b-256 checksum
How to use checksums
1abd6c1be96c6f0544407b784142f5ab47833c1b18e76452693135e5c28c2188
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 5, 2026.

Transparency log

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

Download URL tt_exalens-0.4.3-cp312-cp312-manylinux_2_34_aarch64.whl
Size 958.5 kB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
0da2305ae9d0a838cae1570118b2d30a0fdf724f4d93ba9cc35ab7b1bd28d211
BLAKE2b-256 checksum
How to use checksums
c96edca35a8099d368e7abaec030b27bd237d13e1b186e2d2af01c4c46114469
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 5, 2026.

Transparency log

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

Download URL tt_exalens-0.4.3-cp311-cp311-manylinux_2_34_x86_64.whl
Size 996.2 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
cbd366516ffe8e1aad8df73b71a4067617917fb3b15985655c7de6f18e2f6bfc
BLAKE2b-256 checksum
How to use checksums
df82458b6f8122ffe00053ed3a5d837870cf87164b93a777abb62d39356a1000
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 5, 2026.

Transparency log

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

Download URL tt_exalens-0.4.3-cp311-cp311-manylinux_2_34_aarch64.whl
Size 959.6 kB
Tags CPython 3.11 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
e41710435d41bf366c9e864f60743661ab536f6c43c9c80ee7486b143a1e7084
BLAKE2b-256 checksum
How to use checksums
3c980d358aa59baadd2a824af89133a7e464347aa33636e542f581f1423f5c69
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 5, 2026.

Transparency log

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

Download URL tt_exalens-0.4.3-cp310-cp310-manylinux_2_34_x86_64.whl
Size 996.1 kB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
19cebb10f065315371764f10fa052dd37a6327be503aa29aafe85d1a37a11740
BLAKE2b-256 checksum
How to use checksums
f580b6328b4b299236865f627859870499a12935f330f98d5e116b5a7b8b6b14
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 5, 2026.

Transparency log

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

Download URL tt_exalens-0.4.3-cp310-cp310-manylinux_2_34_aarch64.whl
Size 959.3 kB
Tags CPython 3.10 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
45594450bab56a3ca47452a9196439fd5059167b2fd118c02748fb165b9472d0
BLAKE2b-256 checksum
How to use checksums
4fe15baa05a4cf071f7481f26213c710a89ee9fdbd8880bd09c40ed24a0edc70
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 5, 2026.

Transparency log

Security for tt-exalens 0.4.3

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.3-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 5, 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.3 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