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.19.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.19-py3-none-any.whl (50.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tt_tools_common-1.4.19.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.19.tar.gz
Algorithm Hash digest
SHA256 782e95a9b915dec875e049eaa0298d397543c6a57f0c253d99021230b5ece614
MD5 be4275b0b79683158de4a79bf3a74699
BLAKE2b-256 b6fbfa2a937cedda53bfe01cd97a7d517df07791f2d03d8da7957b2596575d64

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tt_tools_common-1.4.19-py3-none-any.whl
Algorithm Hash digest
SHA256 474e75937691499dd6eff4527e0a5dbc8bfe36b4776371206b366ed84b709240
MD5 7f02384f0d7084e11cd144239831b81d
BLAKE2b-256 63880d0ffab1de4b6e5c0a249fd903b3192643d29a976db7a613a8e4a40d528f

See more details on using hashes here.

Provenance

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