Software and Hardware Compatibility Test

Function

Obtain the hardware information, architecture, driver version, firmware version, MCU version, and software version information.

Parameters

You can run either of the following commands to check the parameters of the compatibility test command:

ascend-dmi -c -h

ascend-dmi -c --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

[-c, --compatible]

Checks the compatibility of software and hardware versions.

Yes

The compatibility check tool checks the following software packages:

  • Toolkit: development kit
  • NNRT: offline inference engine, which is unavailable in CANN 8.5.0 and later versions.
  • NNAE: deep learning engine (training/online inference), which is unavailable in CANN 8.5.0 and later versions.
  • TFPlugin: framework plugin, which is unavailable in CANN 8.0.0 and later versions.
  • ToolBox: utility
  • npu-driver: driver
  • npu-firmware: firmware
  • MCU: microcontroller unit
  • Compatibility between the NPU driver and NPU firmware.
  • Compatibility between the NPU driver and CANN
  • MCU version consistency between chips

Example

Perform a software and hardware version compatibility test.

ascend-dmi -c

The following are examples of software and hardware compatibility information returned by each type of server. If the corresponding information is returned, the tool is running properly.

The compatibility of npu-driver follows the requirements of the NPU. If the npu-driver test status is INCOMPATIBLE PACKAGE, npu-driver is incompatible with the current npu-firmware or CANN package. The ID of the device that is incompatible with npu-driver is reported in the npu-firmware check status.

Table 2 describes the server parameters in the preceding figures.

Table 2 Parameter description

Parameter

Description

System Information

Displays the system information.

Architecture

Indicates the architecture.

Type

Indicates the standard card model/processor model.

Component

Indicates the firmware type.

Compatibility Check Result

Displays the compatibility check result.

Package

Indicates the package name.

Version

Indicates the version.

Status

The values are:

  • OK: compatible
  • INCOMPATIBLE PACKAGE: incompatible
  • NA: unknown. The possible cause is that the software version fails to be obtained.
    NOTE:

    Non-root users do not support firmware compatibility query. The npu-firmware status is displayed as NA.

Innerversion

Indicates the internal version.

Dependencies

Lists dependencies.