Skip to content

[REVIEW] Fix MNMG failures in mg_dgl_extensions #2786

Merged
rapids-bot[bot] merged 15 commits intorapidsai:branch-22.12from
VibhuJawa:fix_MNMG_failures
Oct 11, 2022
Merged

[REVIEW] Fix MNMG failures in mg_dgl_extensions #2786
rapids-bot[bot] merged 15 commits intorapidsai:branch-22.12from
VibhuJawa:fix_MNMG_failures

Conversation

@VibhuJawa
Copy link
Member

@VibhuJawa VibhuJawa commented Oct 7, 2022

This PR fixes the below errors that have popped up in MNMG testing.

@VibhuJawa VibhuJawa self-assigned this Oct 7, 2022
@VibhuJawa VibhuJawa added bug Something isn't working non-breaking Non-breaking change labels Oct 7, 2022
@codecov-commenter
Copy link

codecov-commenter commented Oct 7, 2022

Codecov Report

❗ No coverage uploaded for pull request base (branch-22.12@4d020cb). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@               Coverage Diff               @@
##             branch-22.12    #2786   +/-   ##
===============================================
  Coverage                ?   60.45%           
===============================================
  Files                   ?      111           
  Lines                   ?     6514           
  Branches                ?        0           
===============================================
  Hits                    ?     3938           
  Misses                  ?     2576           
  Partials                ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@VibhuJawa VibhuJawa changed the title [WIP] Fix frontier includes out-of-range keys error [WIP] Fix MNMG failures in mg_dgl_extensions Oct 7, 2022
Comment on lines -488 to -492
if isinstance(vertex_ids, int):
vertex_ids = [vertex_ids]
elif not isinstance(vertex_ids,
(list, slice, self.__series_type)):
vertex_ids = list(vertex_ids)
Copy link
Member Author

Choose a reason for hiding this comment

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

I think we should let the underlying library handle it rather than limiting location to these types.

Also, this fails with GPU objects like cupy , cudf.Series , for numpy arrays we pay a cost.

@VibhuJawa VibhuJawa changed the title [WIP] Fix MNMG failures in mg_dgl_extensions [REVIEW] Fix MNMG failures in mg_dgl_extensions Oct 8, 2022
@VibhuJawa VibhuJawa marked this pull request as ready for review October 8, 2022 01:28
@VibhuJawa VibhuJawa requested a review from a team as a code owner October 8, 2022 01:28
@BradReesWork BradReesWork added this to the 22.12 milestone Oct 10, 2022
Copy link
Contributor

@rlratzel rlratzel left a comment

Choose a reason for hiding this comment

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

Thanks for adding the extra test coverage. Just had a few minor suggestions/fixes/typos

VibhuJawa and others added 2 commits October 11, 2022 10:29
Co-authored-by: Rick Ratzel <3039903+rlratzel@users.noreply.github.com>
Co-authored-by: Rick Ratzel <3039903+rlratzel@users.noreply.github.com>
@VibhuJawa
Copy link
Member Author

Thanks for adding the extra test coverage. Just had a few minor suggestions/fixes/typos

Thanks for the review Rick, Addressed all of your comments so should be ready for another round of reviews.

@rlratzel
Copy link
Contributor

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 9ee03f2 into rapidsai:branch-22.12 Oct 11, 2022
nv-rliu pushed a commit to nv-rliu/cugraph-gnn that referenced this pull request Jul 15, 2025
This PR fixes the below errors that have popped up in MNMG testing. 
- [x] fix_out of index keys on MNMG graphs
- [x] fix loc/get_node_storage error  on MNMG graphs 
(Work around  rapidsai/cudf#11877)
- [x] Clear Cached Properties when they become invalid
- [x] Remove  6 pytest skipping as both these PRs have landed 
- rapidsai/cugraph#2751
- rapidsai/cugraph#2523
- [x] Change `vertex_col_names` to  `node_col_names`  to match DGL 
- [x] Ensure MNMG tests pass 
- [x] Work around the PG bug and also prevent redundant conversion to lists

Authors:
  - Vibhu Jawa (https://github.com/VibhuJawa)

Approvers:
  - Rick Ratzel (https://github.com/rlratzel)
  - Erik Welch (https://github.com/eriknw)

URL: rapidsai/cugraph#2786
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants