Torch._dynamo.optimize: The tensor has a non-zero number of elements, but its data is not allocated yet

Can you file the issue with PyTorch core? Sign in to GitHub · GitHub

The fix might end up going into torch_cluster but it’s worth seeing if we can get things to work automatically and/or provide a better error message!

1 Like