-
Notifications
You must be signed in to change notification settings - Fork 226
Compiler error /cuda/setup.py #27
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
Comments
I don't think you made any mistake. So, for the warning:
For the error, this has been asked a few times: https://github.com/pytorch/extension-cpp/issues?utf8=%E2%9C%93&q=is%3Aissue+fmax I think the consensus was this is an environment error, and the best solution is to build PyTorch from source |
no, it is because of cuda API. No relevance to Pytorch. |
Got the same error here.
although solution from #21 seems to work. Normally i would add the ( Any hints on what to do ? I actually could build before, (last summer) but since then, I updated my python version, along with cuda (and of course pytorch). I might try on a docker build to have a perfeclty clean install, but if the problem is common enough maybe we can add this cast on |
After some investigations, it seems related to gcc version. Originally tested it in gcc-7 but it didn't work. Changed to gcc-5 with a simple "update alternatives" and now it works. Any idea what might have changed from gcc-5 to gcc-7 ? |
I reproduced this on docker today, and fixed the issue with this commit 1031028 |
Hi thanks for the commit ! unfortunately, I believe the
|
whoops, this is my bad. let me re-setup the environment and see what I can do about this. |
@soumith Hi Soumith, do you find the solution for this precision problem? I met this problem in my C++ extension, too. |
I also encountered a similar problem. After deleting some paths in the PATH variable that I felt might cause conflicts, I was able to solve it. |
Hello,
the compilation of the setup.py in
cpp
is successful but, for/cuda/setup.py
I get the following compile error. Therefore I would like to ask you, if you have an idea what my mistake could be.Best regards
System:
Error log:
The text was updated successfully, but these errors were encountered: