-
Notifications
You must be signed in to change notification settings - Fork 126
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
using pytorch1.11, I still can not compile DCNv2 because of #include <ATen/ceil_div.h> #56
Comments
try python3 setup.py build develop without sudo... |
Thank you very much. I find when add sudo,the compiler use the default environment(python3.6) instead of python3.8 which I bulid for the project(python3.8) |
I do have the same error as @xiao-pengyou
@Natsu-Akatsuki Tried this way, but still, the issue remains. What exactly would be the bug causing this error? |
Try to use the previous version. i.e. git checkout fa9b2fd |
However, DCnv2 got successfully compiled with Cudatoolkit 11.3 with PyTorch stable 1.11.0. |
What I mean is that the lateset version of DCNv2 only support pytorch 1.11.+. |
You can find the latest DCNv2 in the issue ,which support Pytorch 1.12, or other version support 1.6, 1.7, 1.8. |
For the previous version of DCNv2, PyTorch 1.8.2 was not supported and supported only versions <=1.7.0. |
Just add #ifdef macro flags to check for the version of PyTorch before the ATen library include. |
gpu 3080ti
nvidia-smi show Driver version 510.47.03 CUDA Version: 11.6
nvcc -V show Cuda compilation tools, release 11.4, V11.4.120
when I create conda env I use create -n FairMOT python=3.8
when I install pytorch ,use conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
then I check the version , input python, import torch
torch.version 1.11 torch.version.cuda 11.3 torch.backends.cudnn.version() 8200
then input sudo python3 setup.py build develop
fatal error: ATen/ceil_div.h: 没有那个文件或目录
#include <ATen/ceil_div.h>
Is there something I do wrong?
The text was updated successfully, but these errors were encountered: