Preparing Software Packages
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, and transformer), 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) scenarios. 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.
Verifying the Digital Signature
To prevent a software package from being maliciously tampered with during transfer or storage, download also the corresponding digital signature file for integrity verification while downloading the software package.
Click PGP Verify to obtain the tool package, decompress it and verify the PGP digital signature. For details, see OpenPGP Signature Verification Guide. If the verification fails, do not use the software package. Visit the Support website to seek help or submit a service ticket.