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
- 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.
- General chip discovery and init, replacing create-ethernet-map and tt-smi wait. We'll probably also add the ability to issue resets.
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9972ec81cf6b80000f3dc21b0fde9fbaf5747c938513aeb23c6e10247df4619c
|
|
| MD5 |
c607fbd5f9e71212b052a3551f9d50bb
|
|
| BLAKE2b-256 |
ae9c7f469daf3e92ed0395627f739050574d3910a2a79decc0f98bc18410e334
|
Provenance
The following attestation bundles were made for pyluwen-0.7.9.tar.gz:
Publisher:
release.yml on tenstorrent/luwen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyluwen-0.7.9.tar.gz -
Subject digest:
9972ec81cf6b80000f3dc21b0fde9fbaf5747c938513aeb23c6e10247df4619c - Sigstore transparency entry: 275057134
- Sigstore integration time:
-
Permalink:
tenstorrent/luwen@e2ce303dd7625e074a7df0c0a940ccb75c0d0a7a -
Branch / Tag:
refs/heads/release-testing - Owner: https://github.com/tenstorrent
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e2ce303dd7625e074a7df0c0a940ccb75c0d0a7a -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pyluwen-0.7.9-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyluwen-0.7.9-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 781.7 kB
- Tags: CPython 3.11+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9a1f2fe2cbcc1d592e9deef936c69b10033beca7237b5f76a5e6bb54061692c
|
|
| MD5 |
cf7f85a0f1a881f3bcaf38d247d698f4
|
|
| BLAKE2b-256 |
f73efca052f78605788135f1cb61a494c22e3995d1e07136b07fc27cd4bf4cde
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyluwen-0.7.9-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
c9a1f2fe2cbcc1d592e9deef936c69b10033beca7237b5f76a5e6bb54061692c - Sigstore transparency entry: 275057149
- Sigstore integration time:
-
Permalink:
tenstorrent/luwen@e2ce303dd7625e074a7df0c0a940ccb75c0d0a7a -
Branch / Tag:
refs/heads/release-testing - Owner: https://github.com/tenstorrent
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e2ce303dd7625e074a7df0c0a940ccb75c0d0a7a -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pyluwen-0.7.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyluwen-0.7.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 783.8 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca7105c0e24afbfddc66309433e36f2c56a62a302c046a7232bfa213bfc0f06b
|
|
| MD5 |
ed471182c1c06c8f73732add158ef674
|
|
| BLAKE2b-256 |
8877a7def14dd02265225910992b08cbeb4badde312725856afa291a5aec616c
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyluwen-0.7.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
ca7105c0e24afbfddc66309433e36f2c56a62a302c046a7232bfa213bfc0f06b - Sigstore transparency entry: 275057174
- Sigstore integration time:
-
Permalink:
tenstorrent/luwen@e2ce303dd7625e074a7df0c0a940ccb75c0d0a7a -
Branch / Tag:
refs/heads/release-testing - Owner: https://github.com/tenstorrent
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e2ce303dd7625e074a7df0c0a940ccb75c0d0a7a -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pyluwen-0.7.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyluwen-0.7.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 784.0 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c673fbb55fc5fb2a8065de69639ffcea05b3830f190cf3363affb272e6522ab
|
|
| MD5 |
dddbeb385c44bb9d7438c2e7e1948e97
|
|
| BLAKE2b-256 |
c8baacce1d9c585db83bd142a8dcc5ae75302c950273d43fae926cd2b7cd74ec
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyluwen-0.7.9-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
8c673fbb55fc5fb2a8065de69639ffcea05b3830f190cf3363affb272e6522ab - Sigstore transparency entry: 275057181
- Sigstore integration time:
-
Permalink:
tenstorrent/luwen@e2ce303dd7625e074a7df0c0a940ccb75c0d0a7a -
Branch / Tag:
refs/heads/release-testing - Owner: https://github.com/tenstorrent
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e2ce303dd7625e074a7df0c0a940ccb75c0d0a7a -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pyluwen-0.7.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyluwen-0.7.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 785.3 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
596e5adbc22438e3d694727f83a0c437bfce974e5c21bfee39e379d3826d4a3c
|
|
| MD5 |
c73394f94822f925ceedf968fc4e82bc
|
|
| BLAKE2b-256 |
e3979017f9bfcdb94a6753d7040bd0817792eea6dc685cc934a9716c0ccb3f8f
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyluwen-0.7.9-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
596e5adbc22438e3d694727f83a0c437bfce974e5c21bfee39e379d3826d4a3c - Sigstore transparency entry: 275057164
- Sigstore integration time:
-
Permalink:
tenstorrent/luwen@e2ce303dd7625e074a7df0c0a940ccb75c0d0a7a -
Branch / Tag:
refs/heads/release-testing - Owner: https://github.com/tenstorrent
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e2ce303dd7625e074a7df0c0a940ccb75c0d0a7a -
Trigger Event:
workflow_dispatch
-
Statement type: