-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PyG Loaders by properly supporting
multi_get_tensor
(#2860)
Fixes the currently-broken `pyg_hetero_mag` notebook, which fails due to the sampling output not matching what the API expects. Note: this does use an optional import of PyG, similar to how other code optionally uses `torch` or `cudf`. Also adds an in-place `fillna` function for `PropertyGraph` and `MGPropertyGraph`. There is a separate issue to do this for `RemoteGraph` (rapidsai/graph_dl#97). Also removes an unintended dependence on `cugraph` by adding `is_multi_gpu()` methods to `PropertyGraph` and `MGPropertyGraph` so whether a graph is MG can be determined without importing `cugraph`. Closes rapidsai/graph_dl#78 Closes rapidsai/graph_dl#77 Closes rapidsai/graph_dl#63 Merge after #2832 Authors: - Alex Barghi (https://github.com/alexbarghi-nv) - Erik Welch (https://github.com/eriknw) Approvers: - Rick Ratzel (https://github.com/rlratzel) - Erik Welch (https://github.com/eriknw) URL: #2860
- Loading branch information
1 parent
435e1c3
commit 6574e55
Showing
11 changed files
with
570 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.