Checking the Environment

Description

Run a built-in operator sample to check the software and hardware environments.

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Command

python3 msaicerr.py -e -dev 0

Parameters

  • -e or --env: The parameter is mandatory. It indicates checking the environment.
  • -dev or --device_id: The parameter is optional. It specifies the ID of the device where the built-in operator sample runs. If this parameter is not set, the default device ID is 0. The msaicerr tool runs a built-in operator sample to check whether the software and hardware environments are normal.

Usage Example and Output Description

python3 msaicerr.py -e
Output example:
[INFO] Total device count: 1
[INFO] Valid device_id 0
[INFO] Get soc_version: xxxxxxx
[INFO] Start to test env with golden op.
[INFO] The build-in sample operator runs successfully, The environment is normal.

After the msaicerr.py tool is executed, the debug_info.txt file is generated in the same directory as the msaicerr.py tool to record the log information generated during the tool execution.