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.
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. |
cat /etc/ascend_install.info | grep "UserGroup"
Software Package |
Environment Variable |
Required or Not |
|---|---|---|
ToolBox |
source /usr/local/Ascend/toolbox/set_env.sh |
Yes |
export ASCEND_DMI_LOG_LEVEL=1 NOTE:
When ASCEND_DMI_LOG_LEVEL is set to 1, debug logs are recorded.
|
No |
|
Toolkit |
source /usr/local/Ascend/cann/set_env.sh NOTE:
Versions earlier than CANN 8.5.0:
|
No |
You can also configure permanent environment variables by modifying the ~/.bashrc file. The procedure is as follows: