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

[BUG] Fix Incorrect File Selection in cuGraph-PyG Loader #3599

Merged
merged 3 commits into from
May 24, 2023

Conversation

alexbarghi-nv
Copy link
Member

@alexbarghi-nv alexbarghi-nv commented May 23, 2023

The current version of the cuGraph-PyG loader does not properly handle the case where samples were previously computed and saved to disk. It also compares the batch ids to determine when it is done processing, which is also incorrect, since batches can be loaded in any order.

This PR updates the cuGraph-PyG loader to use only the list of input files to determine when it is done. It also allows specifying the input file list to support cases where previously-computed batches are loaded from disk. The loader tests are updated to verify the new behavior and ensure that loading previously-computed batches works as expected.

@alexbarghi-nv alexbarghi-nv self-assigned this May 23, 2023
@alexbarghi-nv alexbarghi-nv added bug Something isn't working breaking Breaking change labels May 23, 2023
@alexbarghi-nv alexbarghi-nv added this to the 23.06 milestone May 23, 2023
@alexbarghi-nv alexbarghi-nv marked this pull request as ready for review May 23, 2023 15:12
@alexbarghi-nv alexbarghi-nv requested a review from a team as a code owner May 23, 2023 15:12
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

/merge

@rapids-bot rapids-bot bot merged commit ab39563 into rapidsai:branch-23.06 May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants