Failed when Compiling CUDA operators python test.py.
Error information is as follows
(/data/Envs/dino39) /data/DINO/models/dino/ops$ python test.py
Traceback (most recent call last):
File "/data/DINO/models/dino/ops/test.py", line 18, in <module>
from functions.ms_deform_attn_func import MSDeformAttnFunction, ms_deform_attn_core_pytorch
File "/data/DINO/models/dino/ops/functions/__init__.py", line 9, in <module>
from .ms_deform_attn_func import MSDeformAttnFunction
File "/data/DINO/models/dino/ops/functions/ms_deform_attn_func.py", line 18, in <module>
import MultiScaleDeformableAttention as MSDA
ImportError: /data/Envs/dino39/lib/python3.9/site-packages/MultiScaleDeformableAttention-1.0-py3.9-linux-x86_64.egg/MultiScaleDeformableAttention.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZNK3c1010TensorImpl18compute_contiguousEv
The program were previously able to run python test.py in 2080 Ti, python-3.7, cuda-11.6 but failed to train because cuda out of memory. So I change to 4090 but still failed. What should I do?
Failed when Compiling CUDA operators
python test.py
. Error information is as followsMy environment settings:
The program were previously able to run
python test.py
in2080 Ti, python-3.7, cuda-11.6
but failed to train becausecuda out of memory
. So I change to 4090 but still failed. What should I do?