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

[Dist] partition_graph crash if no etyped edges or ntyped nodes are available #7779

Closed
Rhett-Ying opened this issue Sep 6, 2024 · 0 comments · Fixed by #7785
Closed

[Dist] partition_graph crash if no etyped edges or ntyped nodes are available #7779

Rhett-Ying opened this issue Sep 6, 2024 · 0 comments · Fixed by #7785
Assignees

Comments

@Rhett-Ying
Copy link
Collaborator

🐛 Bug

To Reproduce

for etype in g.canonical_etypes:
inner_etype_mask = inner_etype == g.get_etype_id(etype)
typed_eids = np.sort(
F.asnumpy(F.boolean_mask(inner_eids, inner_etype_mask))
)
assert np.all(
typed_eids
== np.arange(int(typed_eids[0]), int(typed_eids[-1]) + 1)
)

Expected behavior

Environment

  • DGL Version (e.g., 1.0):
  • Backend Library & Version (e.g., PyTorch 0.4.1, MXNet/Gluon 1.3):
  • OS (e.g., Linux):
  • How you installed DGL (conda, pip, source):
  • Build command you used (if compiling from source):
  • Python version:
  • CUDA/cuDNN version (if applicable):
  • GPU models and configuration (e.g. V100):
  • Any other relevant information:

Additional context

@Rhett-Ying Rhett-Ying assigned CfromBU and Rhett-Ying and unassigned CfromBU Sep 6, 2024
@Rhett-Ying Rhett-Ying linked a pull request Sep 6, 2024 that will close this issue
8 tasks
@Rhett-Ying Rhett-Ying changed the title [Distributed] graph partition crash if no etyped edges are available [Dist] partition_graph crash if no etyped edges or ntyped nodes are available Sep 9, 2024
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

Successfully merging a pull request may close this issue.

2 participants