A gpustat-style TPU status CLI built on top of google-smi.
Project description
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
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 Distribution
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 tpustat-0.1.1.tar.gz.
File metadata
- Download URL: tpustat-0.1.1.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0542798372cf26b2dd4b0abcb6d54f4d4bac51bd61b2b92a5e89529e8ca06110
|
|
| MD5 |
145e0a2de38e5771440feb0401d75402
|
|
| BLAKE2b-256 |
2e3d7e1ae2f22ec2d7dcb882cd8778f78519d835c3779a3e6e6be82258e71140
|
File details
Details for the file tpustat-0.1.1-py3-none-any.whl.
File metadata
- Download URL: tpustat-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abba671e57f1efcac4f666b0222084c28a1cd9954e5cb7b60c4e5fc49c0d3da8
|
|
| MD5 |
3c4e571a227073b708db7a358b5ae572
|
|
| BLAKE2b-256 |
290fc85129696387c9c45da33ef5e628d2077aebccde64d4427bdb2d6e12c382
|