Installing the NPU Driver, Firmware, and CANN

Downloading Software Packages

Once you download software, you agree to the terms and conditions of Huawei Enterprise End User License Agreement (EULA).

Table 1 Software package list

Software

Package Name

How to Obtain

Ascend NPU driver

Ascend-hdk-xxx-npu-driver_{version}_linux-{arch}.run

Click here. In the Select Resource area on the left, filter the required software packages, confirm the version information, and download the software packages.

Ascend NPU firmware

Ascend-hdk-xxx-npu-firmware_{version}.run

CANN package

Ascend-cann-toolkit_{version}_linux-{arch}.run

CANN 8.5.0 and later versions need to be installed with the CANN operator package.

CANN operator package

Ascend-cann-{chip_type}-ops_{version}_linux-{arch}.run

For versions earlier than CANN 8.5.0, the package name is Ascend-cann-kernels-{chip_type}_{version}_linux-{arch}.run.

  • {version} indicates the package version.
  • {arch} indicates the CPU architecture.
  • {chip_type} indicates the processor type.
  • The Atlas A2 inference products require CANN 8.0.RC1 or later and Ascend HDK 24.1.RC1 or later.

Installing the NPU Driver, Firmware, CANN, and OPS

  1. Install the NPU driver and firmware by referring to "Installing the NPU Driver and Firmware" in CANN Software Installation Guide (Commercial Edition) or "Installing the NPU Driver and Firmware" in CANN Software Installation Guide (Community Edition).
  2. Install CANN by referring to "Installing CANN" in CANN Software Installation Guide (commercial edition) or "Installing CANN" in CANN Software Installation Guide (community edition).
    • When installing CANN, install its dependencies to ensure that Index SDK can be used properly.
    • The user for installing CANN and Index SDK must be the same. A common user is recommended.