--aicore_num

Applicability

Product

Supported (√/x)

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

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 CANN component directory. For example, if the installation is performed by the root user, the default file storage path is /usr/local/Ascend/cann.
  • ${os.arch} indicates the OS version and architecture. Set them as required.
  • <soc_version> indicates the AI processor model. Set it as required.

Default: the allowed maximum

Suggestions and Benefits

None

Examples

--aicore_num=1

Dependencies and Restrictions

None