Power Consumption Test

Function

In the power consumption test, the single-operator model is run to detect the power consumption of the entire card.

Parameters

You can run either of the following commands to list the parameters of the power consumption test command:

ascend-dmi -p -h

ascend-dmi -p --help

Table 1 lists only a test-specific parameter. For details about other common parameters, see Common Parameters.

Table 1 Parameter description

Parameter

Description

Mandatory

[-p, --power]

Measures the power consumption of the entire card.

Yes

[-t, --type]

Specifies the operator operation type, which can be fp16 or int8. If this parameter is not specified, fp16 is used by default.

The Atlas A2 training product, A200I A2 Box heterogeneous component, Atlas A3 training product, Atlas A3 inference products, Atlas 300I A2 inference card, and Ascend 950PR and 950DT products support only fp16.

No

[-pt, --pt, --pressure-type]

Specifies the type of the stress testing.

  • Currently, the following types are supported:
    • edp (Estimated Design Power)
    • tdp (Thermal Design Power)
  • It can be used together with --dur, --it, --pm, and -q.
  • It cannot be used together with -t.
  • If this parameter is not specified, the TDP is tested by default.
  • This parameter is available only on the Atlas A2 training product, Atlas 800I A2 inference server, A200I A2 Box heterogeneous component, Atlas A3 training product, Atlas A3 inference products, and Ascend 950PR and 950DT products.

No

[-dur, --dur, --duration]

Specifies the running time. If this parameter is not specified, the default value 600 is used.

The value ranges from 60 to 604800, in seconds.

No

[-it, --it, --interval-times]

Specifies the interval for refreshing screen information. If this parameter is not specified, the default value 5 is used.

The value ranges from 1 to 5, in seconds.

No

[--skip-check]

Skips the device health check.

If this parameter is not passed, the device health status is checked by default.

No

[-pm, --pm, --print-mode]

Specifies the print mode of the screen output. If this parameter is not specified, the default value refresh is used.

Value:

  • refresh: clears historical printing information each time.
  • history: displays the saved historical information.
    NOTE:

    In refresh mode, when there is a large number of chips, you are advised to decrease the font size so that all results can be displayed on the same screen. Otherwise, the display may be abnormal and some content may be printed repeatedly.

No

Example

The following are examples of power consumption output by each type of server.

Table 2 describes the server parameters in the preceding figures.

Table 2 Parameters

Parameter

Description

Product

Type

Standard card model.

Standard card

Card

Card ID

Chip

Chip ID

Name

Chip name

Type

Chip model

Training server

Chip Name

Chip name

NPU Count

Number of NPUs.

Standard card and training server

Power

Actual power consumption of the entire card or chip

Health

Chip health status

Temperature

Chip temperature

Device ID

Logic device ID

AI Core Usage

AI Core usage of the chip

Voltage

Current voltage of the chip

Frequency

Current frequency of the chip