Skip to main content

Common library for Tenstorrent tooling

Project description

TT-TOOLS-COMMON

This is a space for common utilities shared across Tenstorrent tools. This is a helper library and not a standalone tool.

Official Repository

https://github.com/tenstorrent/tt-tools-common/

Getting started

Build and editing instruction are as follows -

For tools developers

Generate and source a python3 environment

python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install .

For users who would like to edit the code without re-building, install it in editable mode.

pip install --editable .

Recommended: install the pre-commit hooks so there is auto formatting for all files on committing.

pre-commit install

Usage

This repo contains both frontend and backend functions that would be common to most Tenstorrent tooling.

Frontend

It includes common themes, widgets and other styling elements to build Tenstorrent textual tools. Under the tests directory is an example textual widget that can be used as a starting place for developers to build a new tool.

Backend

It includes utility functions like fetching host info, math conversions, input sanitization, parsing functions etc that are used repeatedly.

License

Apache 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tt_tools_common-1.5.0.tar.gz (45.8 kB view details)

Uploaded Source

Built Distribution

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

tt_tools_common-1.5.0-py3-none-any.whl (54.9 kB view details)

Uploaded Python 3

File details

Details for the file tt_tools_common-1.5.0.tar.gz.

File metadata

  • Download URL: tt_tools_common-1.5.0.tar.gz
  • Upload date:
  • Size: 45.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tt_tools_common-1.5.0.tar.gz
Algorithm Hash digest
SHA256 e7cbec8c4b06304116019731d9bd672df9ffd32dec993cfdebdc1276b2c36930
MD5 02c214fead21f61f7ece9b2c328aa53b
BLAKE2b-256 36e68f595fe1ad33b9cbe0ef39837960672ed5a7fd323485e6135165ef4f8668

See more details on using hashes here.

Provenance

The following attestation bundles were made for tt_tools_common-1.5.0.tar.gz:

Publisher: release.yml on tenstorrent/tt-tools-common

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

File details

Details for the file tt_tools_common-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tt_tools_common-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee93f0eb480d20fd97c1d245c0f0e68b9f7d9034119ba0e8bcc30beb2e4b4c74
MD5 40d5ec5157da989299c5c08600a708cf
BLAKE2b-256 cff80ca7fd05e3b955d4f151209e56b2a18a449a36851f5dd3f157e5e19548d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for tt_tools_common-1.5.0-py3-none-any.whl:

Publisher: release.yml on tenstorrent/tt-tools-common

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