Background
Warning: The GPU cloud server must be equipped with relevant drivers before it can be used normally. If you need to uninstall the current driver for any reason, be sure to install the correct driver that matches the instance specification and operating system. Otherwise, there is a risk of service failure due to mismatch between the GPU cloud server and the installed driver.
Uninstall the Tesla driver from Windows OS
The following uses the GPU computing accelerated cloud server PI7 running Windows Server 2019 as an example.
1. Log in to the console.
2. Click Service List in the left navigation bar, select Computing > Elastic Cloud Server.
3. Get the GPU cloud server password. When logging in to the GPU cloud server via VNC, you need to know its password, and then use VNC to log in.
4. In the cloud server list, select the target GPU cloud server, click Remote Login under its corresponding Action column.
5. (Optional) If it prompts "Press CTRL+ALT+DELETE to log on", click the Send CtrlAltDel button in the upper right corner of the remote login panel to log in.
6. According to the prompts, enter the password of the GPU cloud server to log in.
7. Click the icon in the lower left corner of the Windows desktop, and then click Control Panel.
8. In Control Panel, select Program > Uninstall Program.
9. Right-click the GPU driver to be uninstalled, and then click Uninstall/Change(U).
10. In the Uninstall Program dialog box that pops up, click Uninstall(U).
11. After uninstallation, click Restart Now(R). After restart, the GPU driver is successfully uninstalled.
Uninstall the Tesla driver from Linux OS
If the Tesla driver is installed automatically when you create the GPU cloud server, you need to uninstall the Tesla driver through run installation package. The following uses Driver 470.161.03 and CUDA 11.4.1 as examples.
1. Execute the following command to uninstall the GPU driver.
sudo /usr/bin/nvidia-uninstall
1. Execute the following command to uninstall CUDA.
sudo /usr/local/cuda/bin/cuda-uninstaller
sudo rm -rf /usr/local/cuda-11.4
Note: The uninstall command varies with the CUDA version. If the cuda-uninstaller file is not found, go to the /usr/local/cuda/bin/ directory to check for files starting with uninstall_cuda. If so, replace cuda-uninstaller in the command with the file name.
1. Execute the following command to restart the instance.
sudo reboot