-
Notifications
You must be signed in to change notification settings - Fork 124
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 while installing MultiScaleDeformableAttention package #107
Comments
Your compilation throws a |
I also tried installing the package in Ubuntu 18.04 that has a NVIDIA GeForce RTX 3080 but found out it was incompatible with CUDA below 11.1. Is there any solution for this scenario? Can we use a CUDA version after 11.1 with appropriate pytorch version for this repository ? |
You can try running a different CUDA version and install the PyTorch version closest to 1.5 working with that CUDA version. There is a good chance this will work. Check out this #60 pull request which is supposed to make the repo work for more recent PyTorch versions. |
Thank you @timmeinhardt , I will check the repo. |
@nikeshdevkota Have U got your problem sorted bcoz i'm getting a similar kind of error |
I couldn't solve the error in Windows and the GPU I had in Linux was not compatible with the original repository. So, as @timmeinhardt suggested I used the pytorch version as suggested in #60 and it worked. |
@nikeshdevkota How about the corresponding cuda version? |
The original version of CUDA is not compatible with the GPU I am using in Linux , so it doesn't work in my case. |
I am trying to simply run the code for this repo, but I get a "RuntimeError: Error compiling objects for extension" whenever I try to install MultiScaleDeformableAttention package after installing the necessary pytorch version.
##Code that I ran
python src/trackformer/models/ops/setup.py build --build-base=src/trackformer/models/ops/ install
##Compilation Error

Environment:
I am using a Windows 10 PC with a NVIDIA GeForce RTX 2080
I also tried installing the package in Ubuntu 18.04 that has a NVIDIA GeForce RTX 3080 but found out it was incompatible with CUDA below 11.1. Is there any solution for this scenario? Can we use a CUDA version after 11.1 with appropriate pytorch version for this repository ?
The text was updated successfully, but these errors were encountered: