--soc_version
Applicable Products
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 products except for the
Atlas A3 products : Run the npu-smi info command on the server where the AI processor is installed to obtain Chip Name. The actual value is AscendChip Name. For example, if Chip Name is xxxyy, the actual value is Ascendxxxyy. - For the
Atlas A3 products : 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.
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
Parent topic: Advanced Functionality