-
Notifications
You must be signed in to change notification settings - Fork 87
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
Cuda mismatch error when building module for ModuleNotFoundError: No module named 'MultiScaleDeformableAttention' #46
Comments
@zubairahmed-ai Hi, we use CUDA 11.3 + Pytorch 1.10.0 as shown in install.md. Could you please try this Pytorch and CUDA version? |
This requires downgrading the entire CUDA version on my Windows machine, unfortunately I can't do that, what's the workaround? Remember there were already too many things to fix before getting this far including finding the matching |
@MasterBin-IIAU you're using CUDA 11.3 but Deformable-DETR uses CUDA 9.2 so I doubt it will still compile after downgrading to CUDA 11.3, any solution? |
Were you able to find a workaround or a solution, i have also encountered this issue? Kindly advise. |
I am facing when running I faced ModuleNotFoundError: No module named 'MultiScaleDeformableAttention' error so I tried
unicorn/models/ops/python setup.py build
andpython setup.py install
but I am getting the error belowraise RuntimeError(CUDA_MISMATCH_MESSAGE.format(cuda_str_version, torch.version.cuda)) RuntimeError: The detected CUDA version (10.1) mismatches the version that was used to compile PyTorch (11.7). Please make sure to use the same CUDA versions.
I see that Deformable-DETR is only available until 10.1 or something below, how to fix it?
The text was updated successfully, but these errors were encountered: