AICPU

Usage

python3 aicpu_generate_model.py --cores <core_num> -p <process_id> -t <npu_type>

Parameter

<core_num>: (Reserved) number of AI Cores of the Ascend AI Processor. The default value is 2.

<process_id>: ID of the process for multi-process scheduling of operators generated in batches. The default value is 0, and you do not need to set this parameter.

<npu_type>: hardware form. Currently, it supports the Atlas 200/300/500 inference product, Atlas inference product, and Atlas A2 inference products. The default value is 310. If you cannot determine the value of npu_type, run the npu-smi info command on the server where the Ascend AI Processor is installed. Delete the last digit of the queried value of Name, and the remaining part is the value of npu_type. For the Atlas 800I A3 SuperPoD Server, run the npu-smi info -t board -i 0 -c 0 command to obtain the NPU Name information. 910_NPU Name is the value of npu_type.

--help | -h: help information.

Description

Run the command to obtain a group of operator model files.

The AICPU operator model file needs to be generated only once, and operators of all algorithms are generated.