nvitop-like terminal monitor for Ascend NPUs
Project description
ascendtop
ascendtop is a nvitop-like terminal monitor for Ascend NPUs.
It prefers the Ascend DCMI library (libdcmi.so) through Python ctypes, so it does not depend on the exact text layout of npu-smi info. If DCMI is unavailable, it falls back to parsing npu-smi info.
The terminal layout follows nvitop's main screen structure: an nvidia-smi-style device panel, a compact host CPU/MEM/SWAP panel, and a process panel with NPU PID USER NPU-MEM %SM %HMBW %CPU %MEM TIME COMMAND.
Usage
pip install ascendtop
ascendtop
One-shot output:
ascendtop --once
Force backend:
ascendtop --backend dcmi
ascendtop --backend npu-smi
Notes
- The DCMI backend reads card/device metadata, power, temperature, HBM usage, utilization, and process memory via
/usr/local/Ascend/driver/lib64/driver/libdcmi.so. - The fallback parser supports the
npu-smi 26.0.rc1table format. - Process command/user/RSS/CPU details are enriched via
psutilwhen the PID is visible in the current namespace.
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 ascendtop-0.2.0.tar.gz.
File metadata
- Download URL: ascendtop-0.2.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97a0cb89bb0fddd72e7760f26a2d6bc99548b78b103842aa115a403a8112c345
|
|
| MD5 |
d3cd6914bbdf7b6d87266b501ba6137d
|
|
| BLAKE2b-256 |
6fd60f733e6d9edc162244b4e460380c6df73b1617cc7c7dc18cadb7612c239e
|
Provenance
The following attestation bundles were made for ascendtop-0.2.0.tar.gz:
Publisher:
publish.yml on MarkJoson/ascendtop
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ascendtop-0.2.0.tar.gz -
Subject digest:
97a0cb89bb0fddd72e7760f26a2d6bc99548b78b103842aa115a403a8112c345 - Sigstore transparency entry: 2016289194
- Sigstore integration time:
-
Permalink:
MarkJoson/ascendtop@bcdb65d8bbf0e20d81c5aed725bcfaa344812f3c -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/MarkJoson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@bcdb65d8bbf0e20d81c5aed725bcfaa344812f3c -
Trigger Event:
push
-
Statement type:
File details
Details for the file ascendtop-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ascendtop-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03bcd16a617a9b817e951ed59aa02a2a15d8e769b055e05e7b9d622e63ec0179
|
|
| MD5 |
9fa73ed4dce7c3a095fb7a25a3994c15
|
|
| BLAKE2b-256 |
405e39198c0ae2a98dff7d4c1e8624c5697513dba78b3355c64a5d2b42d70c31
|
Provenance
The following attestation bundles were made for ascendtop-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on MarkJoson/ascendtop
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ascendtop-0.2.0-py3-none-any.whl -
Subject digest:
03bcd16a617a9b817e951ed59aa02a2a15d8e769b055e05e7b9d622e63ec0179 - Sigstore transparency entry: 2016289268
- Sigstore integration time:
-
Permalink:
MarkJoson/ascendtop@bcdb65d8bbf0e20d81c5aed725bcfaa344812f3c -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/MarkJoson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@bcdb65d8bbf0e20d81c5aed725bcfaa344812f3c -
Trigger Event:
push
-
Statement type: