Skip to content
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

build error with pytorch-1.0 #52

Closed
godspeed1989 opened this issue Oct 9, 2018 · 2 comments
Closed

build error with pytorch-1.0 #52

godspeed1989 opened this issue Oct 9, 2018 · 2 comments

Comments

@godspeed1989
Copy link

Hi,
I try to compile this project with pytorch-1.0.
But it reports a lot of compiling error.

In file included from sparseconvnet/SCN/sparseconvnet_cuda.cpp:30:
sparseconvnet/SCN/CPU/Convolution.cpp: In Function ‘double cpu_Convolution_updateOutput(at::Tensor, at::Tensor, at::Tensor, at::Tensor, Metadata<Dimension>&, at::Tensor, at::Tensor, at::Tensor, at::Tensor)’:
sparseconvnet/SCN/CPU/Convolution.cpp:65:47: Error:‘struct at::Type’ has no member named ‘tensor’; did you mean ‘renorm’?
       auto input_rows = input_features.type().tensor({nRules, ip});
                                               ^~~~~~
                                               renorm

..... (lots of similar errors)

error: command 'gcc' failed with exit status 1
@godspeed1989
Copy link
Author

It works now.
Thank you very much.

@btgraham
Copy link
Contributor

Thanks for the report.
Ben

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants