An error occurs when virtualizing and slicing an AMD GPU
Cause
When the gim GPU driver is missing from the host operating system, attempting to virtualize and slice an AMD GPU results in the error: failed to remove gim.ko , modprobe: FATAL: Module gim not found.
Solution
-
Run the following commands to download and compile the driver:
[root@localhost ~]# wget https://github.com/GPUOpen-LibrariesAndSDKs/MxGPU-Virtualization/archive/master.zip [root@localhost ~]# unzip master.zip [root@localhost ~]# cd MxGPU-Virtualization-master [root@localhost ~]# make -
Run the following command to copy the
gim.kofile:[root@localhost ~]# cp gim.ko /lib/modules/3.10.0-693.11.1.el7.x86_64/ -
Run the following commands to load the driver:
[root@localhost ~]# demod [root@localhost ~]# modeprobe gim -
Retry the GPU virtualization slice operation.