--aicore_num

Description

Sets the number of AI Cores for model compilation.

This option is reserved in the current version. If you need to use this option, retain the default.

See Also

None

Arguments

Argument: This option is reserved in the current version. If you need to use this option, retain the default.

The default argument of this option varies according to the processor version. You can view the default value of aicore_num in the ${INSTALL_DIR}/${os.arch}/data/platform_config/<soc_version>.ini file. The following shows the default value of aicore_num:

[SoCInfo]
#aicore_num default value, also the maximum value.
ai_core_cnt=xx 
  • Replace ${INSTALL_DIR} with the actual CANN component directory. If the Ascend-CANN-Toolkit package is installed as the root user, the CANN component directory is /usr/local/Ascend/ascend-toolkit/latest.
  • ${os.arch} indicates the OS version and architecture. Change them as required.
  • <soc_version> indicates the Ascend AI Processor model. Set it as required.

Default: the allowed maximum

Suggestions and Benefits

None

Examples

--aicore_num=1

Dependencies and Restrictions

None