Uninstalling the Driver (*.rpm)
This section describes how to uninstall the driver from the host.
Prerequisites
The uninstallation function cannot be used before the .rpm installation package is installed.
Uninstalling the NPU 20.X.X or Later Driver Package
The npu-smi tool package is integrated in the driver package. The npu-smi tool is automatically uninstalled during the driver uninstallation. The firmware package can be uninstalled separately. You can uninstall the driver and firmware in any sequence. For details about how to uninstall the firmware, see Uninstalling the Firmware (*.rpm).
- 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
- Run the following command to view the .rpm driver list:
rpm -qa | grep npu
If the following information is displayed, the driver exists:
npu-driver-20.2.0-1.aarch64
- Run the following command to uninstall the driver:rpm -e npu-driver-20.2.0-1.aarch64
- (Optional) After the uninstallation is complete, reset the host if you need to install the software package again.
reboot
Uninstalling the NPU 1.X.X Driver Package
The firmware package is integrated in the driver package. When the driver is uninstalled, the firmware is automatically uninstalled. The npu-smi tool can be uninstalled separately. For details, see Uninstalling the npu-smi Tool.
- 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
- Run the following command to view the .rpm driver list:
rpm -qa | grep HiAI
If the following information is displayed, the driver exists:
HiAI_Euler_V2R8_driver-100.1.32.080-1.aarch64
- Run the following command to uninstall the driver:rpm -e HiAI_Euler_V2R8_driver-100.1.32.080-1.aarch64
- (Optional) After the uninstallation is complete, reset the host if you need to install the software package again.
reboot