Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error importing MultiScaleDeformableAttention #15

Closed
jtaylorbus opened this issue Jun 3, 2024 · 3 comments
Closed

Error importing MultiScaleDeformableAttention #15

jtaylorbus opened this issue Jun 3, 2024 · 3 comments

Comments

@jtaylorbus
Copy link

I ran the make.sh script in models/ops/ and it completed without error, but when I try to run inference I get the following error when importing MultiScaleDeformableAttention:

ImportError: /opt/conda/lib/python3.10/site-packages/MultiScaleDeformableAttention-1.0-py3.10-linux-x86_64.egg/MultiScaleDeformableAttention.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops5zeros4callEN3c108ArrayRefINS2_6SymIntEEENS2_8optionalINS2_10ScalarTypeEEENS6_INS2_6LayoutEEENS6_INS2_6DeviceEEENS6_IbEE

I've tried multiple pytorch Docker images and re-ran make.sh for each, but still get the same error every time. Can you please clarify what base image is required or provide one with the repo?

@HELLORPG
Copy link
Collaborator

HELLORPG commented Jun 4, 2024

Have you tried to run the test.py in models/ops/? And what's your CUDA version?

@HELLORPG
Copy link
Collaborator

Have you resolved this problem? If there are no updates, I will close this issue in the near future.

@HELLORPG
Copy link
Collaborator

I temporarily closed this issue. If you have any further questions about this problem, you can re-open this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants