tpustat
tpustat is the TPU equivalent of the gpustat workflow:
nvidia-smi->gpustatgoogle-smi->tpustat
It turns the verbose TPU table into a compact one-line-per-device view, while still supporting JSON output, watch mode, and richer process details when needed. By default it uses the local google_smi Python package and falls back to google-smi --json.
Install
# install from GitHub
pip install git+https://github.com/bzantium/tpustat.git
# or install locally for development
pip install -e .
Quick Start
# compact default view
tpustat
# include bus / NUMA / IOMMU details
tpustat --show-all
# show explicit process fields
tpustat -c -u -p
# machine-readable output
tpustat --json
# refresh continuously
tpustat -i
tpustat -i 0.5
# generate shell completion
tpustat --print-completion bash
tpustat --print-completion zsh
Metadata
Release files for tpustat 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tpustat-0.1.1.tar.gz | 11.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tpustat-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.6 kB
Release files / tpustat-0.1.1.tar.gz
| Download URL | tpustat-0.1.1.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0542798372cf26b2dd4b0abcb6d54f4d4bac51bd61b2b92a5e89529e8ca06110
|
|
BLAKE2b-256 checksum How to use checksums |
2e3d7e1ae2f22ec2d7dcb882cd8778f78519d835c3779a3e6e6be82258e71140
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / tpustat-0.1.1-py3-none-any.whl
| Download URL | tpustat-0.1.1-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
abba671e57f1efcac4f666b0222084c28a1cd9954e5cb7b60c4e5fc49c0d3da8
|
|
BLAKE2b-256 checksum How to use checksums |
290fc85129696387c9c45da33ef5e628d2077aebccde64d4427bdb2d6e12c382
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for tpustat 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.