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

invalid static_cast #69

Closed
soumith opened this issue Sep 21, 2017 · 1 comment
Closed

invalid static_cast #69

soumith opened this issue Sep 21, 2017 · 1 comment

Comments

@soumith
Copy link
Collaborator

soumith commented Sep 21, 2017

Please see
https://build.pytorch.org/job/pytorch-master-py3-linux/401/console

00:07:06.411 /home/jenkins/buildbot/workspace/pytorch-master-py3-linux/builder/pytorch/torch/lib/build/ATen/ATen/CPUByteType.cpp:1893:39: error: invalid static_cast from type ‘const at::CPUByteType*’ to type ‘at::Type*’
00:07:06.411          return static_cast<Type*>(this)->add_out(self, value, SparseTensor(other), result);
00:07:06.411                                        ^
00:07:06.411 /home/jenkins/buildbot/workspace/pytorch-master-py3-linux/builder/pytorch/torch/lib/build/ATen/ATen/CPUByteType.cpp: In member function ‘virtual at::Tensor at::CPUByteType::s_add(const at::Tensor&, at::Scalar, const at::Tensor&) const’:
00:07:06.411 /home/jenkins/buildbot/workspace/pytorch-master-py3-linux/builder/pytorch/torch/lib/build/ATen/ATen/CPUByteType.cpp:1905:39: error: invalid static_cast from type ‘const at::CPUByteType*’ to type ‘at::Type*’
00:07:06.411          return static_cast<Type*>(this)->add(self, value, SparseTensor(other));
00:07:06.411                           
@soumith soumith changed the title illegal static_cast invalid static_cast Sep 21, 2017
@gchanan
Copy link
Contributor

gchanan commented Sep 21, 2017

Was a pytorch issue, fixed here: pytorch/pytorch#2818

@soumith soumith closed this as completed Sep 21, 2017
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