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

Remove Deprecated Sampling Options #3816

Merged

Conversation

alexbarghi-nv
Copy link
Member

@alexbarghi-nv alexbarghi-nv commented Aug 22, 2023

The uniform_neighbor_sample code is becoming increasingly difficult to maintain. This PR removes all the options that were deprecated in the previous release, and also deprecates the with_edge_properties option, which will be replaced by returning whatever properties are in the graph in the next release.

This PR also resolves a FIXME by allowing fanout_vals to be a cupy.ndarray, numpy.ndarray, or cudf.Series.

Closes #3698

@alexbarghi-nv alexbarghi-nv self-assigned this Aug 22, 2023
@alexbarghi-nv alexbarghi-nv added improvement Improvement / enhancement to an existing function breaking Breaking change labels Aug 22, 2023
@alexbarghi-nv alexbarghi-nv added this to the 23.10 milestone Aug 22, 2023
@alexbarghi-nv alexbarghi-nv marked this pull request as ready for review August 23, 2023 14:01
@alexbarghi-nv alexbarghi-nv requested a review from a team as a code owner August 23, 2023 14:02
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.

LGTM, thanks. I think this is technically a (perfectly acceptable) breaking API change, but I'm asking the other teams to see what they do to make sure we're using the right labels.

@rlratzel
Copy link
Contributor

LGTM, thanks. I think this is technically a (perfectly acceptable) breaking API change, but I'm asking the other teams to see what they do to make sure we're using the right labels.

Yep, cuDF also considers this a breaking change so our labels are correct here.

@rlratzel
Copy link
Contributor

rlratzel commented Sep 1, 2023

/merge

@rapids-bot rapids-bot bot merged commit 2b4118a into rapidsai:branch-23.10 Sep 1, 2023
57 checks passed
rlratzel pushed a commit to rlratzel/cugraph that referenced this pull request Sep 8, 2023
The `uniform_neighbor_sample` code is becoming increasingly difficult to maintain.  This PR removes all the options that were deprecated in the previous release, and also deprecates the `with_edge_properties` option, which will be replaced by returning whatever properties are in the graph in the next release.

This PR also resolves a FIXME by allowing `fanout_vals` to be a `cupy.ndarray`, `numpy.ndarray`, or `cudf.Series`.

Closes rapidsai#3698

Authors:
  - Alex Barghi (https://github.com/alexbarghi-nv)

Approvers:
  - Brad Rees (https://github.com/BradReesWork)
  - Rick Ratzel (https://github.com/rlratzel)

URL: rapidsai#3816
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change improvement Improvement / enhancement to an existing function
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove deprecated support for legacy uniform_neighbor_sampling args in 23.10
3 participants