-
Notifications
You must be signed in to change notification settings - Fork 144
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
torch_sparse.tensor.SparseTensor.partition causes "core dumped" #373
Comments
There exists a few edge cases where METIS sadly silently just crashes :( In your case, you need to make sure that your adj = SparseTensor.from_edge_index(torch.LongTensor([[1,2], [1,3], [2, 3]]).t(), sparse_sizes=(4, 4))
adj.partition(2) |
Hi, thanks for the reply. What are the "edge cases" which causes METIS "silently just crashes"? I encountered the issue when using a Python package who used the function. It was extremely hard to debug with neither error messgaes nor documents re available. Thanks! |
I think too small graphs is one edge case. The other one is that METIS expects to operate on undirected graphs. |
A minimal reproducing example:
In what circumstances will this partition function lead to core dumping?
The text was updated successfully, but these errors were encountered: