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

Cannot build MultiScaleDeformableAttention #2

Open
druefena opened this issue Oct 8, 2024 · 1 comment
Open

Cannot build MultiScaleDeformableAttention #2

druefena opened this issue Oct 8, 2024 · 1 comment

Comments

@druefena
Copy link

druefena commented Oct 8, 2024

I wanted to try out your tracker, and followed the installation instructions to the letter. When trying to build the
MultiScaleDeformableAttention, there is a notice that there is a warning:

UserWarning: The detected CUDA version (11.5) has a minor version mismatch with the version that was used to compile PyTorch (11.3). Most likely this shouldn't be a problem.

This is followed by over 100 compilation errors, and ultimately fails with:

subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

Any ideas how to fix? The MSDA library is very old, have you run into any issues when building it?

@balabooooo
Copy link
Owner

Thanks for your question!
According to mapillary/inplace_abn#104, this issue is probably because of the mismatch of your environment.
Could you please provide your environment information for further analysis following:

wget https://raw.githubusercontent.com/pytorch/pytorch/main/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py

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