Ms_deformable_im2col_cuda: no kernel image is available for execution

Hello !

Im getting an error in ms_deformable_im2col_cuda: no kernel image is available for execution

Configurations:

nvcc -V
NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Tue_Sep_15_19:12:04_Pacific_Daylight_Time_2020
Cuda compilation tools, release 11.1, V11.1.74
Build cuda_11.1.relgpu_drvr455TC455_06.29069683_0

nvidia-smi
±--------------------------------------------------------------------------------------+
| NVIDIA-SMI 531.79 Driver Version: 531.79 CUDA Version: 12.1 |
|-----------------------------------------±---------------------±---------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 3060 L… WDDM | 00000000:01:00.0 Off | N/A |
| N/A 40C P8 10W / N/A| 80MiB / 6144MiB | 0% Default |
| | | N/A |
±----------------------------------------±---------------------±---------------------+

±--------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 6740 C+G …CBS_cw5n1h2txyewy\TextInputHost.exe N/A |
| 0 N/A N/A 8972 C+G …nt.CBS_cw5n1h2txyewy\SearchHost.exe N/A |
| 0 N/A N/A 9240 C+G …__8wekyb3d8bbwe\Notepad\Notepad.exe N/A |
| 0 N/A N/A 9828 C+G …2txyewy\StartMenuExperienceHost.exe N/A |
| 0 N/A N/A 10632 C+G …__8wekyb3d8bbwe\WindowsTerminal.exe N/A |
| 0 N/A N/A 11668 C+G …__8wekyb3d8bbwe\WindowsTerminal.exe N/A |
| 0 N/A N/A 22724 C+G …5.46.0_x64__htrsf667h5kn2\AWCC.exe N/A |

Please help.

Thank you

Chinmay

Based on the kernel name it seems you are using Deformable DETR. I don’t know how you’ve installed of built it but based on the error message the CUDA kernel was not built for your GPU architecture (sm_86) so you might need to rebuild it for this arch or install the right binary.

1 Like

Thank you for your response !

I am very new to python

Could you please elaborate on what should be done next ?

I still don’t know how you’ve installed it, but

you might need to rebuild it for this arch or install the right binary.

The code was trained on GitHub - zhyever/Monocular-Depth-Estimation-Toolbox: Monocular Depth Estimation Toolbox based on MMSegmentation. by someone else. Im trying to understand how to resolve the CUDA kernel issue now.

Any advice ?!