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
RuntimeError: Not compiled with GPU support #41
Comments
Hi @FrancescoSaverioZuppichini , which PyTorch version did you install? This repo requires Pytorch>=1.9 and torchvision. After installing the Pytorch, please try to run the setup.py again to see if this error still exists. |
Hi @Haotian-Zhang , I am running that bad boy inside a |
@FrancescoSaverioZuppichini It seems like the environment is not yet compatible with the deformable convolution? Could you please try using a different container that has Pytorch 1.9 and give it a try again? Thanks! |
Hi @Haotian-Zhang , I met the same error and tried with Pytorch 1.9 and CUDA 10.2 , but the error remains. |
The problem remains for DCNv2 installation with your local env. In order for code to be compiled with DCN modules, please make sure torch.cuda.is_available() is True, and CUDA_HOME is not None (L31-40 in setup.py). If the problem still remains, please check CharlesShang/DCNv2#82. |
@Haotian-Zhang |
@Haotian-Zhang can you share your installation process/ a docker file that works? Thanks a lot |
For those who are still suffering from this problem... I was using a slurm cluster and met the same issue First, I noticed that I was on head node so no GPU with my machine. Then I entered a computing node with CUDA and GPU. Re-install it did not help. Then, I noticed that |
I have the same problem, and my solution is to type |
Im still facing the same problem, even after deleting Could you please mention the correct list of installations you have performed which works. Thanks ! |
I could solve it finally using this virtual env
Also set path to |
Hi guys,
Thanks for the amazing work! I am trying to run the model but I got the following error:
My
nvidia-smi
output, I've runpython setup.py build develop --user
beforehand.Thanks :)
Cheers,
Francesco
The text was updated successfully, but these errors were encountered: