-
Notifications
You must be signed in to change notification settings - Fork 310
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
cuGraph-PyG Loader Improvements #3795
cuGraph-PyG Loader Improvements #3795
Conversation
…alexbarghi-nv/cugraph into cugraph-pyg-loader-improvements
…alexbarghi-nv/cugraph into cugraph-pyg-loader-improvements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me, just have asked for a bunch of clarifications.
Co-authored-by: Vibhu Jawa <[email protected]>
Based on feedback from @VibhuJawa , this PR is going back to draft while I work on improvements |
…alexbarghi-nv/cugraph into cugraph-pyg-loader-improvements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes mostly look good, requested some changes to improve code clarity and readability.
…alexbarghi-nv/cugraph into cugraph-pyg-loader-improvements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I scanned it and only found two things that jumped out to me. Vibhu and Tingyu would be able to provide a more thorough review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great as much as I understood. Just saw aplace where I wasn't sure what wasn't working due to the fixme
/merge |
Consolidates various speed improvements tested while running performance benchmarks. Avoids copying batch data, removes redundant data loading code, simplifies and improves de-offsetting, even though that is now being bypassed entirely for homogeneous graphs. Removes extra host to device copy. Properly flips the src/dst columns in the returned
HeteroData
minibatch objects, avoid exposing this to the end user.I've confirmed this cuts the MFG time by a factor of 4.
Closes #3807