You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am getting the following error when I try to install pytorch_cluster. My pytorch version is 1.1.0.
Any idea about how to fix it?
Thanks
cpu/sampler.cpp: In function ‘at::Tensor neighbor_sampler(at::Tensor, at::Tensor, size_t, float)’:
cpu/sampler.cpp:6:45: error: ‘getDefaultCPUGenerator’ is not a member of ‘at::detail’
6 | at::CPUGenerator *generator = at::detail::getDefaultCPUGenerator();
| ^~~~~~~~~~~~~~~~~~~~~~
cpu/sampler.cpp:27:32: error: ‘struct at::CPUGenerator’ has no member named ‘random’
27 | int64_t z = generator->random() % num_neighbors;
The text was updated successfully, but these errors were encountered:
Hi,
I am getting the following error when I try to install pytorch_cluster. My pytorch version is 1.1.0.
Any idea about how to fix it?
Thanks
cpu/sampler.cpp: In function ‘at::Tensor neighbor_sampler(at::Tensor, at::Tensor, size_t, float)’:
cpu/sampler.cpp:6:45: error: ‘getDefaultCPUGenerator’ is not a member of ‘at::detail’
6 | at::CPUGenerator *generator = at::detail::getDefaultCPUGenerator();
| ^~~~~~~~~~~~~~~~~~~~~~
cpu/sampler.cpp:27:32: error: ‘struct at::CPUGenerator’ has no member named ‘random’
27 | int64_t z = generator->random() % num_neighbors;
The text was updated successfully, but these errors were encountered: