--soc_version

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Description

Specifies the Ascend AI Processor model used in the model running phase.

The model conversion phase does not depend on the Ascend AI Processor. However, the value of --soc_version used during the conversion must be the Ascend AI Processor model used in the model running phase after the conversion.

Compatibility:

  • For 8.5.0 and later versions: When using the ATC tool for model conversion, you must install the ops operator package that matches the target Ascend AI Processor. Otherwise, the build will fail.
  • For different products, if the values of --soc_version are the same, you only need to convert the model once, and then deploy and run the generated model on these products.
  • Operating environment requirements: The CANN package version in the product operating environment is later than or the same as that of the OM offline model conversion environment.
  • An OM offline model converted from the CANN package of an earlier version can run in the CANN package of a later version and is compatible with four version periods.

See Also

None

Argument

To query the value, perform the following steps:

  • For the following products: Run the npu-smi info command on the server where Ascend AI Processor is installed to obtain the Name information. The actual value is AscendName. For example, if Name is xxxyy, the actual value is Ascendxxxyy.

    Atlas A2 training products/Atlas A2 inference products

    Atlas 200I/500 A2 inference products

    Atlas inference products

    Atlas training products

  • For the following products: Run the npu-smi info -t board -i id -c chip_id command on the server where Ascend AI Processor is installed to obtain the Chip Name and NPU Name information. The actual value is Chip Name_NPU Name. For example, if the value of Chip Name is Ascendxxx and the value of NPU Name is 1234, the actual value is Ascendxxx_1234. Note that:
    • id: device ID, which is the NPU ID obtained by running the npu-smi info -l command.
    • chip_id: chip ID, which is obtained by running the npu-smi info -m command.

    Atlas A3 training products/Atlas A3 inference products

Suggestions and Benefits

None

Dependencies and Restrictions

None