--aicore_num
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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. 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