fundamentalvision / Deformable-DETR

Deformable DETR: Deformable Transformers for End-to-End Object Detection.
Apache License 2.0
3.14k stars 513 forks source link

Problem of error in ms_deformable_im2col_cuda: no kernel image is available for execution on the device in NVIDIA GeForce RTX 3090 #202

Open momo1986 opened 1 year ago

momo1986 commented 1 year ago

Hi dear colleagues,

My pytorch version is 1.10.1, and my cudatoolkit is 11.1 (11.3).

The server is installed with the NVIDIA GeForce RTX 3090 GPU.

Always report the problem when running Deformable-DETR/models/ops/test.py. "error in ms_deformable_im2col_cuda: no kernel image is available for execution on the device" It is wierd for such an issue.

Furthermore, it may hinder to reproduce other interesting applications based on Deformable-DETR.

How can I resolve the issue?

What is the correct pose to install Deformable-DETR in NVIDIA GeForce RTX 3090 with 11.1 CUDA.

Thanks & Regards! Momo

momo1986 commented 1 year ago

Pytorch = 1.10.1 and cudatoolkit=11.1 can guarantee the cuda and gpu kernel is available. However, it always reports the error "error in ms_deformable_im2col_cuda: no kernel image is available for execution on the device"

zdxff commented 1 year ago

Have you solved it yet?

lix19937 commented 3 months ago

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