--soc_version
Applicable Products
All processors
Description
Specifies the AI processor model used in the model inference phase.
The model conversion phase does not depend on the AI processor. However, the value of --soc_version used during the conversion must be the AI processor model used in the model running phase after the conversion.
Compatibility:
- For 8.5.0 and later versions: When using ATC for model conversion, you must install the ops operator package that matches the target 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 used in the product operating environment is later than or the same as that used in the offline model conversion environment.
- An 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
Arguments
To query the value, perform the following steps:
- For the following products: Run the npu-smi info command on the server where 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
Atlas A3 training products /Atlas A3 inference products : Run the npu-smi info -t board -i id -c chip_id command on the server where the 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.- 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.
- For the
Ascend 950PR /Ascend 950DT : Run the npu-smi info -t board -i id command on the server where the 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.id indicates the device ID, which is the NPU ID obtained by running the npu-smi info -l command.
Suggestions and Benefits
None
Dependencies and Restrictions
None
Parent topic: Target SoC Options