CASIA-IVA-Lab/DPT

getting error in MultiScaleDeformableAttention

shubham303 opened this issue · 4 comments

Hi ,
I am getting below error.

ImportError: /home/shubham/anaconda3/envs/dpt1/lib/python3.8/site-packages/MultiScaleDeformableAttention-1.0-py3.8-linux-x86_64.egg/MultiScaleDeformableAttention.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZNK2at6Tensor7optionsEv

torch.version = 1.10.0.dev20210812+cu111
GCC: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

你解决了吗?我也出现了这个错误

How did the host solve it? I also got this error?

Perhaps you can check if cudatoolkit (cuda with pytorch) and system cuda (/usr/local/cuda) are of the same version.
If not, it may leads to problems.

Thank you, it has been resolved