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.26.tar.gz (52.5 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.26-py3-none-any.whl (54.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tt_tools_common-1.4.26.tar.gz
  • Upload date:
  • Size: 52.5 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.26.tar.gz
Algorithm Hash digest
SHA256 a7f0575e6872269f464022cfdaad29681a66b6f1abc61d06728d1587fe9d170c
MD5 04c96e6259b48de90a0d6fc4fbda2e23
BLAKE2b-256 b41a1406178599bc7736bfe4cd3afe562a68cdcfd816618137de14624941b00d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tt_tools_common-1.4.26-py3-none-any.whl
Algorithm Hash digest
SHA256 bf96a8a738fc8b32f53b3c35392350d3e59a5ad272a1e085d4e825abc3845ee9
MD5 076c5693aa40995f21924c2264428103
BLAKE2b-256 713671a644a041261d5fee232baf0ebc9f5624abaaba77f55c6b52568b59b037

See more details on using hashes here.

Provenance

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