--soc_version
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Description
If --op_tune_mode is set to fast and no device is available in the environment where the aoe command is executed, you need to use --soc_version to specify the version of the AI processor.
Currently, this function supports the following models:
See Also
This option can be used only when --op_tune_mode is set to fast.
Argument
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 product /Atlas A2 inference product Atlas 200I/500 A2 inference product Atlas inference product Atlas training product - For the
Atlas A3 training product /Atlas A3 inference product : Run the npu-smi info -t board -i id -c chip_id command on the server where 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.
- For the Atlas 350 Accelerator Card: Run the npu-smi info -t board -i id command on the server where 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.
Examples
--op_tune_file=/home/lxl/json --op_tune_mode=fast --precision_mode=must_keep_origin_dtype --op_tune_kernel_path=/home/lxl/kernel --soc_version=Ascendxxxyy