Ms_deformable_im2col_cuda: no kernel image is available for execution

Chinmay_Joshi: <p>Hello !</p>
<p>Im getting an error in ms_deformable_im2col_cuda: no kernel image is available for execution</p>
<p>Configurations:</p>
<p>nvcc -V<br>
NVIDIA (R) Cuda compiler driver<br>
Copyright (c) 2005-2020 NVIDIA Corporation<br>
Built on Tue_Sep_15_19:12:04_Pacific_Daylight_Time_2020<br>
Cuda compilation tools, release 11.1, V11.1.74<br>
Build cuda_11.1.relgpu_drvr455TC455_06.29069683_0</p>
<p>nvidia-smi<br>
±--------------------------------------------------------------------------------------+<br>
| NVIDIA-SMI 531.79                 Driver Version: 531.79       CUDA Version: 12.1     |<br>
|-----------------------------------------±---------------------±---------------------+<br>
| GPU  Name                      TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |<br>
| Fan  Temp  Perf            Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |<br>
|                                         |                      |               MIG M. |<br>
|=========================================+======================+======================|<br>
|   0  NVIDIA GeForce RTX 3060 L…  WDDM | 00000000:01:00.0 Off |                  N/A |<br>
| N/A   40C    P8               10W /  N/A|     80MiB /  6144MiB |      0%      Default |<br>
|                                         |                      |                  N/A |<br>
±----------------------------------------±---------------------±---------------------+</p>
<p>±--------------------------------------------------------------------------------------+<br>
| Processes:                                                                            |<br>
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |<br>
|        ID   ID                                                             Usage      |<br>
|=======================================================================================|<br>
|    0   N/A  N/A      6740    C+G   …CBS_cw5n1h2txyewy\TextInputHost.exe    N/A      |<br>
|    0   N/A  N/A      8972    C+G   …nt.CBS_cw5n1h2txyewy\SearchHost.exe    N/A      |<br>
|    0   N/A  N/A      9240    C+G   …__8wekyb3d8bbwe\Notepad\Notepad.exe    N/A      |<br>
|    0   N/A  N/A      9828    C+G   …2txyewy\StartMenuExperienceHost.exe    N/A      |<br>
|    0   N/A  N/A     10632    C+G   …__8wekyb3d8bbwe\WindowsTerminal.exe    N/A      |<br>
|    0   N/A  N/A     11668    C+G   …__8wekyb3d8bbwe\WindowsTerminal.exe    N/A      |<br>
|    0   N/A  N/A     22724    C+G   …5.46.0_x64__htrsf667h5kn2\AWCC.exe    N/A      |</p>
<p>Please help.</p>
<p>Thank you</p>
<p>Chinmay</p>

ptrblck: <p>Based on the kernel name it seems you are using <code>Deformable DETR</code>. 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 (<code>sm_86</code>) so you might need to rebuild it for this arch or install the right binary.</p>

Chinmay_Joshi: <p>Thank you for your response !</p>
<p>I am very new to python</p>
<p>Could you please elaborate on what should be done next ?</p>

ptrblck: <p>I still don’t know how you’ve installed it, but</p>
<blockquote>
<p>you might need to rebuild it for this arch or install the right binary.</p>
</blockquote>

Chinmay_Joshi: <p>The code was trained on <a href="https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox.git" class="inline-onebox" rel="noopener nofollow ugc">GitHub - zhyever/Monocular-Depth-Estimation-Toolbox: Monocular Depth Estimation Toolbox based on MMSegmentation.</a> by someone else. Im trying to understand how to resolve the CUDA kernel issue now.</p>
<p>Any advice ?!</p>