Querying Chip Statistics
Function
The npu-smi info -t usages -i id -c chip_id command is used to query statistics of a chip.
Syntax
npu-smi info -t usages -i id -c chip_id
Parameters
Parameter |
Description |
---|---|
id |
Device ID. The NPU ID obtained by running the npu-smi info -l command is the device ID. |
chip_id |
Chip ID. If there is only one chip, the chip ID is 0, indicating an NPU. |
Restrictions
When you query the Aicore Usage Rate usage, if profiling is enabled, an error will be reported.
Example
#Query the statistics about chip 0 on device 2.
npu-smi info -t usages -i 2 -c 0
DDR Capacity(MB) : 15600
DDR Usage Rate(%) : 9
HBM Capacity(MB) : 32255
HBM Usage Rate(%) : 0
Aicore Usage Rate(%) : 0
Aicpu Usage Rate(%) : 0
Ctrlcpu Usage Rate(%) : 0
DDR Bandwidth Usage Rate(%) : 0
HBM Bandwidth Usage Rate(%) : 0