Environment Configuration

Prerequisite

Before using MindCluster ToolBox, ensure that the CANN environment has been deployed and software listed in Table 1 has been installed based on the actual application scenario. For details about how to deploy the environment and install the software, see Installing the NPU Driver and Firmware in CANN Software Installation.

Table 1 Required software packages

Required Software Package

Application Scenario

Required or Not

Description

npu-driver

Inference and training

Required

-

npu-firmware

Inference and training

Required

-

Toolkit

Inference and training

Required

-

Ascend-cann-ops

Training

Required

It must be installed in the toolkit directory. Ensure the toolkit of the same version is installed and select the ops package corresponding to the running device.

In versions earlier than CANN 8.5.0, the package name is Ascend-cann-kernels.

Versions earlier than CANN 8.5.0:
  • The toolkit must be installed in the following scenarios: AI Core/one-click diagnosis, AI Core/high-risk address of on-chip memory/AI CPU/one-click on-chip memory stress testing, and NPU environment restoration.
  • In training scenarios, one of the NNAE and toolkit must be installed. They can be installed separately or simultaneously.
  • In inference scenarios, one of the NNRT and toolkit must be installed. They can be installed separately or simultaneously.

Constraints

Adding Environment Variables