Software Package Preparation
Software Package Download
The CANN software supports offline installation and online installation (using Conda, Yum, Apt-get, and pip). The method of obtaining software packages varies according to the installation type.
By downloading the software listed in the following table, you agree to the terms and conditions of the Huawei Enterprise End User License Agreement (EULA).
Software Type |
Description |
Software Package |
How to Obtain |
|---|---|---|---|
Combined driver & Toolkit package |
It consists of the Ascend NPU driver and Toolkit, and supports one-click full installation or independent installation by specifying parameters. |
Ascend-cann_<version>_linux-<arch>.run |
Use wget to obtain the software package in one-click mode. For details, see the installation procedure. |
ops |
The CANN ops package integrates a comprehensive suite of libraries, including the operator foundational framework, operator libraries (covering math, nn, cv, transformer, and ras), TBE operators, HCCL, HIXL, and the DVPP library. Specifically, it provides dynamic and static library files for single-operator API execution (e.g., aclnn-class APIs), operator source code, and kernel binaries, ultimately optimizing overall execution performance in high-performance computing (HPC) workloads. Before installing the ops, the Toolkit of a compatible version must be installed. Select the ops software package corresponding to the running device. |
Ascend-cann-<chip_type>-ops_<version>_linux-<arch>.run |
|
NNAL (Ascend Neural Network Acceleration Library) |
The CANN NNAL comprises the Ascend Transformer Boost (ATB) and Ascend SiP Boost (SiP) libraries.
Ensure that the Toolkit of the same version has been installed. |
Ascend-cann-nnal_<version>_linux-<arch>.run |
- <chip_type> indicates the AI processor type.
- <version> indicates the software version.
- <arch> indicates the CPU architecture.
- Ascend AI Processor comes preinstalled with Ascend NPU firmware. Check if the version matches the compatibility requirements as instructed in Querying the Software Package Version. If it does, skip the firmware installation. If not, switch to offline installation (independent driver and Toolkit packages) to get the required software packages and instructions.