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

Use Vertex ID Offsets in CuGraphStorage #2996

Merged
merged 183 commits into from
Jan 12, 2023

Conversation

alexbarghi-nv
Copy link
Member

@alexbarghi-nv alexbarghi-nv commented Nov 29, 2022

Users Vertex ID offsets in CuGraphStore. Offers the option of using pre-computed offsets by setting renumber_graph=False. Default behavior is to warn the user that it is computing offsets and save the original vertex ids in a new column. If renumber_graph=True, there is no warning, renumber_vertices_by_type() is called, and the vertex ids are overwritten.

Due to a bug in MGPropertyGraph, if vertices are renumbered, edges must also be renumbered.

Closes https://github.com/rapidsai/graph_dl/issues/95
Closes #3069

  • Update Remote Graph tests
  • Update CGS e2e tests
  • Update SG PyG Extension Tests
  • Update MG PyG Extension Tests
  • Verify tests that are currently broken in CI

Includes fix for #3069
Merge after #3012

eriknw and others added 30 commits August 9, 2022 16:13
Currently, this only does SG version for rapidsai#2401.  MG is still TODO.

This also doesn't change anything user-facing (yet).
Co-authored-by: Vibhu Jawa <[email protected]>
@VibhuJawa
Copy link
Member

@alexbarghi-nv , ready for second round of reviews ?

@alexbarghi-nv
Copy link
Member Author

Go ahead

@alexbarghi-nv alexbarghi-nv requested review from rlratzel and removed request for a team January 3, 2023 15:57
@alexbarghi-nv
Copy link
Member Author

rerun tests

1 similar comment
@alexbarghi-nv
Copy link
Member Author

rerun tests

Copy link
Member

@VibhuJawa VibhuJawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexbarghi-nv
Copy link
Member Author

@rlratzel I think this can be merged now

@BradReesWork
Copy link
Member

/merge

@rapids-bot rapids-bot bot merged commit ef52c5c into rapidsai:branch-23.02 Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FIX] PropertyGraph & MGPropertyGraph renumber_vertices/edges_by_type Fails to Preserve Data Type
7 participants