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 trying to run the example in pytorch_geometric/examples/distributed/pyg/, when i execute the script python partition_graph.py --dataset=ogbn-products --root_dir=../../../data --num_partitions=2 it gives me the following error: Illegal instruction (core dumped). I found out that the code that gives the error is
ifclusterisNoneandtorch_geometric.typing.WITH_METIS:
cluster=pyg_lib.partition.metis(
indptr.cpu(),
index.cpu(),
self.num_parts,
recursive=self.recursive,
).to(edge_index.device)
ifclusterisNone:
raiseImportError(f"'{self.__class__.__name__}' requires either "f"'pyg-lib' or 'torch-sparse'")
in particular the function pyg_lib.partition.metis seems to give the error.
I am using:
pyg-lib 0.3.1+pt21cpu
torch 2.1.2
torch_geometric 2.5.3.
Thank you in advance for all the answers.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to run the example in pytorch_geometric/examples/distributed/pyg/, when i execute the script python partition_graph.py --dataset=ogbn-products --root_dir=../../../data --num_partitions=2 it gives me the following error: Illegal instruction (core dumped). I found out that the code that gives the error is
in particular the function pyg_lib.partition.metis seems to give the error.
I am using:
pyg-lib 0.3.1+pt21cpu
torch 2.1.2
torch_geometric 2.5.3.
Thank you in advance for all the answers.
Beta Was this translation helpful? Give feedback.
All reactions