-
Notifications
You must be signed in to change notification settings - Fork 35
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
Will not compile on GCC 11.1.0, CUDA 11.3 #34
Comments
Hi there-I got it to work on my laptop (GTX 1650 Ti, CUDA 11.3, PyTorch 1.11.0) by fixing the following lines in
You might also want to run it with |
I got more errors:
|
I can't reproduce this error on my machine. I am compiling on Ubuntu 20.04.4, torch 1.12.0, gcc 9.4.0 and the cule main branch. I tried recompiling using an older version the cuda toolkit, version 11.3, from the dockerfile but that also worked on my machine. If anyone has a Dockerfile to generate the failure with the configured software that would help a lot. |
Thanks @sdalton1 I just installed the latest ubuntu ( 22.04 I think). Looks like it is related to the wrong gcc version. |
I've been trying to build this package for the last two nights to no avail. Every time I run
python setup.py install
, I get a big wall of compiler warnings indicating that it's not allowed to call__host__
functions from__host__ __device__
functions, followed by a few errors:GCC indicates that this invalid template instantiation is required from
torchcule/backend.cu:44:21
, although the chain of dependencies linking that line of code to the final error is way too long and complex for me to understand. I've attached the entire stderr & stdout output from the compiler to this post. Any help toward solving this issue would be greatly appreciated.compile-errors.txt
The text was updated successfully, but these errors were encountered: