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.4.24.tar.gz (43.1 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.4.24-py3-none-any.whl (50.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tt_tools_common-1.4.24.tar.gz
Algorithm Hash digest
SHA256 d98877f19791f72ccde076f9c72b76339fa017fbf6118fb7aeac44ecad7ea9ac
MD5 5f894f33a543c8e4f9c443b092193c73
BLAKE2b-256 2e1f42593c21100846dd6de1e41383809b4982de1d5c6fdb15484593ce8e0a48

See more details on using hashes here.

Provenance

The following attestation bundles were made for tt_tools_common-1.4.24.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.4.24-py3-none-any.whl.

File metadata

File hashes

Hashes for tt_tools_common-1.4.24-py3-none-any.whl
Algorithm Hash digest
SHA256 06e2e2ba86c15ba721f5767a40c10600e60805ba023ff106db4064becc822ba8
MD5 f2700091c2459a8967f89400bf870909
BLAKE2b-256 46f784f1d15517271a617e12c61cdeec24ce1698a9268533b680e63c4bee48ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for tt_tools_common-1.4.24-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