[REVIEW] Fix MNMG failures in mg_dgl_extensions #2786
[REVIEW] Fix MNMG failures in mg_dgl_extensions #2786rapids-bot[bot] merged 15 commits intorapidsai:branch-22.12from
Conversation
Codecov Report
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. |
| if isinstance(vertex_ids, int): | ||
| vertex_ids = [vertex_ids] | ||
| elif not isinstance(vertex_ids, | ||
| (list, slice, self.__series_type)): | ||
| vertex_ids = list(vertex_ids) |
There was a problem hiding this comment.
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.
rlratzel
left a comment
There was a problem hiding this comment.
Thanks for adding the extra test coverage. Just had a few minor suggestions/fixes/typos
Co-authored-by: Rick Ratzel <3039903+rlratzel@users.noreply.github.com>
Co-authored-by: Rick Ratzel <3039903+rlratzel@users.noreply.github.com>
Thanks for the review Rick, Addressed all of your comments so should be ready for another round of reviews. |
|
@gpucibot merge |
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
This PR fixes the below errors that have popped up in MNMG testing.
(Work around [BUG] dask_cudf loc operation fails with cudf Series and cupy array fails cudf#11877)
vertex_col_namestonode_col_namesto match DGL