Installation Precautions
Huawei Compute Architecture for Neural Networks (CANN) is a heterogeneous computing architecture for AI scenarios and provides multi-layer programming interfaces to help users quickly build AI applications and services based on the Ascend platform.
You can install CANN software using ascend-deployer, msInstaller, or command line interface (CLI). Table 1-1 lists the installation methods.
This document mainly describes how to install the CANN development or operating environment.
- Development environment: used for development activities such as coding, compilation, and debugging.
- (Scenario 1) The development environment installed on an Ascend AI device can also be used as an operating environment to run applications or port, develop, and debug training scripts.
- (Scenario 2) The development environment installed on a non-Ascend AI device can only be used for development activities that do not depend on Ascend devices, such as compilation, model conversion using the ATC, and coding for operators and inference applications.
- Operating environment: used for running user applications or port, develop, and debug training scripts on Ascend AI devices.
Installation Method |
Description |
---|---|
ascend-deployer |
Run the installation script to install the OS dependencies, firmware and drivers, and CANN software packages. Table 5-1 lists the OSs supported by ascend-deployer. Single-node installation or batch installation is supported. |
msInstaller |
It calls ascend-deployer tool capabilities. You can install OS dependencies, firmware and drivers, and CANN software packages on the GUI. msInstaller can run on a PC (Windows server) or a Linux server.
NOTE:
|
CLI |
Install the OS dependencies, firmware and drivers, and CANN software packages by manually running commands. You are advised to use this method only when ascend-deployer is unavailable. |