[object Object][object Object][object Object]

This tool is integrated into CANN. If CANN is already installed and the tool does not need to be updated, you can use it directly without following the installation procedure described in this document.

If CANN is not installed in your environment, see to install the Ascend NPU driver and CANN software (including the Toolkit and Ops packages), and configure the environment variables.

To upgrade this tool separately or use the latest version, use the following three installation methods: , , and .

[object Object][object Object]

If your device has Internet access, you can use a single command to automatically download and install the tool. Visit the MindStudio page on the Ascend community, select the corresponding CANN version, choose Online Installation as the installation method, and the system guides you through the remaining steps.

[object Object]

For devices in an intranet or other environments without Internet access, first download the complete offline installation package on a machine with Internet access, then transfer it to the target device for installation. Visit the MindStudio page on the Ascend community, select the corresponding CANN version, choose Offline Installation as the installation method, and obtain the installation package and instructions.

[object Object]

To use the latest code features or modify the source code to enhance functions, download the code from this repository, build and package the tool, and install it.

[object Object]

Set up the environment by referring to the .

[object Object]
  • Clone this repository.

    [object Object]
  • Build and package.

    Run the one-click script to automatically download and build the dependency repository:

    [object Object]
[object Object][object Object]

The .run package is generated in the [object Object] directory. Run the following commands to ensure that the .run package has the execute permission:

[object Object]
[object Object]

Copy the .run package to the operating environment (not required for local installation) and perform the following operation:

[object Object]

When the following information is displayed, the software package is successfully installed:

[object Object]

If an earlier version of the tool has been installed in the system, a message will be displayed during the installation asking you whether to replace it. Enter [object Object] to perform an overwrite installation.

[object Object]
[object Object]

After the software package is installed, configure the environment variables to ensure that the operators function correctly.

[object Object]
[object Object]

After the installation is complete, run the following command to verify that the tool is successfully installed:

[object Object]

If no error is reported and the help information is displayed, the installation is successful.

[object Object]

You can uninstall the tool using the following steps:

  1. Download the script.

    [object Object]
    [object Object]
  2. Run the uninstallation.

    [object Object]

    In this command, [object Object] specifies the name of the tool to be uninstalled. You can query the tool name using the [object Object] command. The tool names are displayed under the [object Object] field in the output.

    When the following information is displayed, the software is successfully uninstalled:

    [object Object]
[object Object]

The upgrade process follows the "uninstall before install" approach. Run the installation command directly, and the tool automatically uninstalls the old version and guides you through the overwrite installation.

You can run the [object Object] command to check the version information of the current environment, and then select the version to upgrade to. Pay attention to the version compatibility when upgrading. See the for details.