lucasjinreal / DCNv2_latest

DCNv2 supports decent pytorch such as torch 1.5+ (now 1.8+)
BSD 3-Clause "New" or "Revised" License
637 stars 124 forks source link

RuntimeError: Not compiled with GPU support #42

Open shuuchen opened 3 years ago

shuuchen commented 3 years ago

Hi,

The following error message happens on my cuda 10.1 machine.

  File "/home/shuchen/miniconda3/envs/cl/lib/python3.9/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/shuchen/miniconda3/envs/cl/lib/python3.9/site-packages/torch/nn/modules/container.py", line 117, in forward
    input = module(input)
  File "/home/shuchen/miniconda3/envs/cl/lib/python3.9/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/shuchen/data/github/prj-uma-keypoint/DCNv2_latest/dcn_v2.py", line 182, in forward
    return dcn_v2_conv(
  File "/home/shuchen/data/github/prj-uma-keypoint/DCNv2_latest/dcn_v2.py", line 25, in forward
    output = _backend.dcn_v2_forward(
RuntimeError: Not compiled with GPU support
Boatsure commented 3 years ago

And the same problem happen to CUDA 10.2 as well

lianqiann commented 3 years ago

Hi, same happens to cuda 11.0

fangdaoyou commented 2 years ago

have you solved this problem?please help me.

linhh29 commented 2 years ago

So frustrated! Has anyone solved this problem? Please do me a favor.