CANN_KNOWLEDGE_BANK_PROCESS_NUM

Description

Sets the number of processes for the knowledge base management module to query the knowledge base.

Value range: [0, 8]. Default value: 8 (by default, eight processes are started to query the knowledge base during operator compilation).

A larger number of started processes consumes more host memory but accelerates compilation.

A smaller number of started processes reduces host memory usage but slows down compilation.

When CANN_KNOWLEDGE_BANK_PROCESS_NUM is set to 0, the knowledge base management module is disabled and no knowledge base queries are performed.

Example

export CANN_KNOWLEDGE_BANK_PROCESS_NUM=5

Constraints

None

Applicable Models

Atlas training products

Atlas inference products

Atlas A2 training products/Atlas A2 inference products

Atlas A3 training products/Atlas A3 inference products

Ascend 950PR/Ascend 950DT

Atlas 200I/500 A2 inference products