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

Small fix to the MG PyG Test to Account for Current Sampling Behavior #2666

Merged
merged 2 commits into from
Sep 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions python/cugraph/cugraph/tests/mg/test_mg_pyg_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,10 @@ def test_neighbor_sample(single_vertex_graph):

noi_groups, row_dict, col_dict, _ = graph_store.neighbor_sample(
index=cupy.array([0, 1, 2, 3, 4], dtype='int32'),
num_neighbors=[-1],
# FIXME The following line should be num_neighbors=[-1] but
# there is currently a bug in MG uniform_neighbor_sample.
# Once this bug is fixed, this line should be changed.
num_neighbors=[8],
replace=True,
directed=True,
edge_types=[
Expand Down Expand Up @@ -487,7 +490,10 @@ def test_neighbor_sample_multi_vertex(

noi_groups, row_dict, col_dict, _ = graph_store.neighbor_sample(
index=cupy.array([0, 1, 2, 3, 4], dtype='int32'),
num_neighbors=[-1],
# FIXME The following line should be num_neighbors=[-1] but
# there is currently a bug in MG uniform_neighbor_sample.
# Once this bug is fixed, this line should be changed.
num_neighbors=[8],
replace=True,
directed=True,
edge_types=[
Expand Down