Uninstalling the Firmware (*.run)
For NPU 1.X.X series versions, the firmware package is integrated to the driver package. After the driver is uninstalled, the firmware is automatically uninstalled. For details, see Uninstalling the Driver (*.run).
For NPU 20.X.X or later, uninstall the driver and firmware separately. There is no requirement on the sequence of uninstalling the driver and firmware. For details about how to uninstall the driver, see Uninstalling the Driver (*.run). This section uses A300-3000-3010-npu-firmware_<version>.run as an example to uninstall the firmware from the host. Replace the package name with the actual one.
Prerequisites
The uninstallation function cannot be used before the .run installation package is installed.
Procedure
- Use PuTTY to log in to the OS CLI of the server where the Atlas 300I inference card (model 3000) is located. For details, see Logging In to the CLI Using PuTTY over a Network Port.
- Run the following command to switch to the root user:
su - root
- Uninstall the firmware in either of the following ways:
- Run the following command in any directory:
<install-path>/firmware/script/uninstall.sh
<install-path> indicates the installation path of the software package. You can run the cat /etc/ascend_install.info command to query the installation path. Replace it with the actual path.
- Run the following command in the directory where the software package is stored to uninstall the firmware:
./A300-3000-3010-npu-firmware_<version>.run --uninstall
If no error information is displayed during the uninstallation, the uninstallation is successful. Determine whether to reboot the server based on the displayed information to complete the uninstallation.
- Run the following command in any directory:
- Run the following command if a reboot is needed. Otherwise, skip this step.
reboot