Skip to main content

Python bindings for Tenstorrent's luwen - a low level hardware interface library

Project description

Luwen

Named after Antonie van Leeuwenhoek who invented the microsope.

Official Repository

https://github.com/tenstorrent/luwen

Prometheus Exporter

Luwen includes a Prometheus exporter for hardware telemetry (see app/prometheus-exporter/).

To start it:

cargo build -p prometheus-exporter --release
./target/release/prometheus-exporter

Metrics are exposed at http://localhost:8080/metrics.

Design

There are three usecases that I want to support here

  1. High level interface to software tooling allowing all syseng diagnostics collectable via tt-smi and tt-mod to be readback and interacted with as a library. - This will only be a high level interface so it will only support pci connections and remote connections via pci - Will ignore all details of using communication channels such as which pci tlb or which erisc core to use.
  2. General chip discovery and init, replacing create-ethernet-map and tt-smi wait. We'll probably also add the ability to issue resets.
  3. Low level syseng-only debug capability (via pyluwen)
    • To avoid needing to have multiple in flight stacks you will be able to drop down a level and access the implemented communication apis directly. Practically this means direct access to the types defined in luwen-ref. This means that you can modify pci tlbs and erisc cores being used or cut out the middle man entirely and issue raw calls.

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

pyluwen-0.7.9.tar.gz (110.4 kB view details)

Uploaded Source

Built Distributions

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

pyluwen-0.7.9-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (781.7 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

pyluwen-0.7.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (783.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyluwen-0.7.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (784.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyluwen-0.7.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (785.3 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

File details

Details for the file pyluwen-0.7.9.tar.gz.

File metadata

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

File hashes

Hashes for pyluwen-0.7.9.tar.gz
Algorithm Hash digest
SHA256 9972ec81cf6b80000f3dc21b0fde9fbaf5747c938513aeb23c6e10247df4619c
MD5 c607fbd5f9e71212b052a3551f9d50bb
BLAKE2b-256 ae9c7f469daf3e92ed0395627f739050574d3910a2a79decc0f98bc18410e334

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyluwen-0.7.9.tar.gz:

Publisher: release.yml on tenstorrent/luwen

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

File details

Details for the file pyluwen-0.7.9-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyluwen-0.7.9-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c9a1f2fe2cbcc1d592e9deef936c69b10033beca7237b5f76a5e6bb54061692c
MD5 cf7f85a0f1a881f3bcaf38d247d698f4
BLAKE2b-256 f73efca052f78605788135f1cb61a494c22e3995d1e07136b07fc27cd4bf4cde

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyluwen-0.7.9-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on tenstorrent/luwen

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

File details

Details for the file pyluwen-0.7.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyluwen-0.7.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ca7105c0e24afbfddc66309433e36f2c56a62a302c046a7232bfa213bfc0f06b
MD5 ed471182c1c06c8f73732add158ef674
BLAKE2b-256 8877a7def14dd02265225910992b08cbeb4badde312725856afa291a5aec616c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyluwen-0.7.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on tenstorrent/luwen

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

File details

Details for the file pyluwen-0.7.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyluwen-0.7.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8c673fbb55fc5fb2a8065de69639ffcea05b3830f190cf3363affb272e6522ab
MD5 dddbeb385c44bb9d7438c2e7e1948e97
BLAKE2b-256 c8baacce1d9c585db83bd142a8dcc5ae75302c950273d43fae926cd2b7cd74ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyluwen-0.7.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on tenstorrent/luwen

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

File details

Details for the file pyluwen-0.7.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyluwen-0.7.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 596e5adbc22438e3d694727f83a0c437bfce974e5c21bfee39e379d3826d4a3c
MD5 c73394f94822f925ceedf968fc4e82bc
BLAKE2b-256 e3979017f9bfcdb94a6753d7040bd0817792eea6dc685cc934a9716c0ccb3f8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyluwen-0.7.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on tenstorrent/luwen

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