Giter VIP home page Giter VIP logo

Comments (11)

Natsu-Akatsuki avatar Natsu-Akatsuki commented on July 22, 2024 4

Try to use the previous version. i.e. git checkout fa9b2fd
Please read the README carefully.

from dcnv2_latest.

Natsu-Akatsuki avatar Natsu-Akatsuki commented on July 22, 2024 1

try python3 setup.py build develop without sudo...

from dcnv2_latest.

xiao-pengyou avatar xiao-pengyou commented on July 22, 2024

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)

from dcnv2_latest.

JehanJay avatar JehanJay commented on July 22, 2024

I do have the same error as @xiao-pengyou
fatal error: ATen/ceil_div.h: No such file or directory
In my case, I am using a conda environment developed with Pytorch LTS 1.8.2 and Cudatoolkit 11.1 Nvidia 3050Ti

try python3 setup.py build develop without sudo...

@Natsu-Akatsuki Tried this way, but still, the issue remains.

What exactly would be the bug causing this error?

from dcnv2_latest.

JehanJay avatar JehanJay commented on July 22, 2024

I do have the same error as @xiao-pengyou fatal error: ATen/ceil_div.h: No such file or directory In my case, I am using a conda environment developed with Pytorch LTS 1.8.2 and Cudatoolkit 11.1 Nvidia 3050Ti

try python3 setup.py build develop without sudo...

@Natsu-Akatsuki Tried this way, but still, the issue remains.

What exactly would be the bug causing this error?

However, DCnv2 got successfully compiled with Cudatoolkit 11.3 with PyTorch stable 1.11.0.

from dcnv2_latest.

Natsu-Akatsuki avatar Natsu-Akatsuki commented on July 22, 2024

What I mean is that the lateset version of DCNv2 only support pytorch 1.11.+.
On the other hand, when you use pytorch 1.8.2 you need to use previous version.

from dcnv2_latest.

xiao-pengyou avatar xiao-pengyou commented on July 22, 2024

What I mean is that the lateset version of DCNv2 only support pytorch 1.11.+. On the other hand, when you use pytorch 1.8.2 you need to use previous version.

You can find the latest DCNv2 in the issue ,which support Pytorch 1.12, or other version support 1.6, 1.7, 1.8.

from dcnv2_latest.

JehanJay avatar JehanJay commented on July 22, 2024

What I mean is that the lateset version of DCNv2 only support pytorch 1.11.+. On the other hand, when you use pytorch 1.8.2 you need to use previous version.

For the previous version of DCNv2, PyTorch 1.8.2 was not supported and supported only versions <=1.7.0.
The issue with that was, PyTorch 1.7.0 is not supported with Cudatoolkit 11.1 which is the oldest compatible version with CUDA SDK 8.6.
So as far as I understood the issue, conceptually the previous DCNv2 is no longer supported with newer GPU architectures.

from dcnv2_latest.

DhruvKoolRajamani avatar DhruvKoolRajamani commented on July 22, 2024

Just add #ifdef macro flags to check for the version of PyTorch before the ATen library include.

from dcnv2_latest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.