Upgrading NPU Firmware and Driver

Upgrade Procedure

Upgrade NPU firmware first and then driver. The procedure is as follows:

  1. Log in to the server as the root user.
  2. Upload the driver and firmware packages to any directory on the server, for example, /home.
  3. Add the execute permission on the driver and firmware packages.
    1
    2
    chmod +x Ascend-hdk-<chip_type>-npu-driver_<version>_linux-<arch>.run
    chmod +x Ascend-hdk-<chip_type>-npu-firmware_<version>.run
    
  4. Upgrade the driver and firmware. The default upgrade path of the software package is /usr/local/Ascend.
    1. Upgrading the firmware

      Run the following command to complete the firmware upgrade:

      1
      ./Ascend-hdk-<chip_type>-npu-firmware_<version>.run --upgrade
      

      If the following information is displayed, the firmware is successfully upgraded:

      1
      Firmware package upgraded successfully! Reboot now or after driver installation for the installation/upgrade to take effect 
      
    2. Upgrading the driver

      Run the following command to upgrade the driver:

      1
      ./Ascend-hdk-<chip_type>-npu-driver_<version>_linux-<arch>.run --upgrade
      
      If the following information is displayed, the driver is successfully upgraded:
      1
      Driver package upgraded successfully!Reboot needed for installation/upgrade to take effect.
      
  5. Run the reboot command to restart the system.
  6. Run the npu-smi info command to check whether the driver is upgraded successfully.

    If the driver information is displayed, the driver is successfully loaded. Otherwise, the loading fails. In this case, visit Support to seek help or submit a technical service ticket.