Uninstalling the Driver and Firmware

If the driver is installed using Yum or apt-get, see Uninstalling CANN.

You can uninstall the driver and firmware in any sequence. The procedure is as follows:

  1. Log in to the server as the root user.
  2. Uninstall the driver and firmware.
    • Uninstalling the driver
      1
      /usr/local/Ascend/driver/script/uninstall.sh
      
      If information similar to the following is displayed, the driver is successfully uninstalled:
      1
      Driver package uninstalled successfully!
      
    • Uninstalling the firmware
      1
      /usr/local/Ascend/firmware/script/uninstall.sh
      
      If information similar to the following is displayed, the firmware is successfully uninstalled:
      1
      Firmware package uninstalled successfully! 
      

Determine whether to restart the server as prompted. If you need to restart the server, run the reboot command.