Verifying the Installation

After the installation is complete using MindCluster Ascend Deployer, perform the following operations to check the version of each component and whether the component can work properly.

Run the bash install.sh --help command to view the value range of <target> or refer to Parameters for install.sh.
bash install.sh --test=<target>

Full Check

Check all installed components and their versions.
bash install.sh   --test=all                                // Test all installed components and their versions.

Information similar to the following is displayed:

task info:Generate the test report
[===================================================]
 
{'xx.xx.xx.xx': {'driver': ['OK', '25.5.0'], 'firmware': ['OK', '7.8.0.5.208'], 'mcu': {'npu_id_1': '24.15.19', 'npu_id_2': '24.15.19', 'npu_id_3': '24.15.19', 'npu_id_4': '24.15.30', 'npu_id_5': '24.15.19', 'npu_id_6': '24.15.19', 'npu_id_7': '24.15.19'}, 'toolbox': ['OK', '7.3.0'], 'mindspore': ['not installed', ''], 'pytorch': ['not installed', ''], 'tensorflow': ['not installed', ''], 'nnae': ['OK', '8.5.0'], 'nnrt': ['OK', '8.5.0'], 'toolkit': ['OK', '8.5.0'], 'fault-diag': ['not installed', ''], 'mindie_image': ['not installed', '']}}
 
localhost.localdomain: xx.xx.xx.xx: {'ascend-operator': ['OK', 'v7.3.0'], 'clusterd': ['OK', 'v7.3.0'], 'resilience-controller': ['not installed', ''], 'volcano': ['OK', 'v1.9.0'], 'ascend-device-plugin': ['OK', 'v7.3.0'], 'noded': ['not installed', ''], 'npu-exporter': ['not installed', ''], 'ascend-docker-runtime': ['not installed', '']}
 
 
npu-clusters
------------+------------+----------------
npu         | driver     | firmware
------------+------------+----------------
xx.xx.xx.xx | OK, 25.5.0 | OK, 7.8.0.5.208
------------+------------+----------------
 
mcu-version
------------+----------+----------+----------+----------+----------+----------+---------
ip          | npu_id_1 | npu_id_2 | npu_id_3 | npu_id_4 | npu_id_5 | npu_id_6 | npu_id_7
------------+----------+----------+----------+----------+----------+----------+---------
xx.xx.xx.xx | 24.15.19 | 24.15.19 | 24.15.19 | 24.15.30 | 24.15.19 | 24.15.19 | 24.15.19
------------+----------+----------+----------+----------+----------+----------+---------
 
cann-clusters
------------+-----------+-----------+-----------+-----------+--------------
cann        | toolbox   | nnae      | nnrt      | toolkit   | mindie_image
------------+-----------+-----------+-----------+-----------+--------------
xx.xx.xx.xx | OK, 7.3.0 | OK, 8.5.0 | OK, 8.5.0 | OK, 8.5.0 | not installed
------------+-----------+-----------+-----------+-----------+--------------
 
pypkg-clusters
------------+---------------+---------------+---------------+--------------
pypkg       | mindspore     | tensorflow    | pytorch       | fault-diag
------------+---------------+---------------+---------------+--------------
xx.xx.xx.xx | not installed | not installed | not installed | not installed
------------+---------------+---------------+---------------+--------------
 
 
dl-clusters(master-node)
-----------------------------------+-----------------+----------+------------+----------------------
master-node                        | ascend-operator | clusterd | volcano    | resilience-controller
-----------------------------------+-----------------+----------+------------+----------------------
localhost.localdomain: xx.xx.xx.xx | OK, v7.3.0      | OK, v7.3.0    | OK, v1.9.0 | not installed
-----------------------------------+-----------------+----------+------------+----------------------
 
dl-clusters(worker-node)
-----------------------------------+----------------------+---------------+--------------
worker-node                        | ascend-device-plugin | noded         | npu-exporter
-----------------------------------+----------------------+---------------+--------------
localhost.localdomain: xx.xx.xx.xx | OK, v7.3.0           | not installed | not installed
-----------------------------------+----------------------+---------------+--------------
 
dl-clusters(worker-node-physical)
-----------------------------------+----------------------
worker-node                        | ascend-docker-runtime
-----------------------------------+----------------------
localhost.localdomain: xx.xx.xx.xx | not installed
-----------------------------------+----------------------
 => localhost
ascend deployer processed success
run cmd: --test=all successfully

NPU Driver and Firmware, CANN, MindIE Container, and MindCluster Performance Test and Fault Diagnosis Components

Run the following command to query information about the installed NPU driver and firmware, CANN, MindIE container, and MindCluster fault diagnosis and performance test components:

bash install.sh --test=toolbox                                      // Test whether the ToolBox is normal.

AI Framework

Run the following command to query information about the installed AI framework:
bash install.sh   --test=mindspore                 // Test the installed MindSpore and its version.

MindCluster Cluster Scheduling Components

Method 1: Run the following command to check the installed MindCluster cluster scheduling components and their versions. Example:

bash install.sh   --test=clusterd 

Method 2: After MindCluster cluster scheduling components are installed, go to the /ascend_deployer/report directory and view the report.json or report.csv report file to check the installation result and node status.

Checking the MindIE Container Version

Run the following command to check the MindIE container version:

bash install.sh   --test=mindie_image