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

Update pylibcugraph weakly connected components call #7693

Merged
merged 7 commits into from
Jul 7, 2023

Conversation

jnke2016
Copy link

@jnke2016 jnke2016 commented Jul 4, 2023

A breaking pylibcugraph PR updated the function signature of weakly connected components thereby breaking the weak connection of CuPy connected components. Furthermore, both pylibcugraph strongly and weakly connected components no longer returns ordered labels and the starting value is now 0.

This PR updates the pylibcugraph.weakly_connected_components call in cupy connected_components along with the tests to always adjust labels since in most cases, the labels returned by both CuPy and SciPy are un-ordered.

closes #7672

@kmaehashi
Copy link
Member

Thank you! Let me bump up the RAPIDS version for CI in this PR.

@kmaehashi
Copy link
Member

/test rapids

@kmaehashi
Copy link
Member

/test rapids

Copy link
Member

@kmaehashi kmaehashi 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 @jnke2016!

@kmaehashi kmaehashi merged commit b6e2664 into cupy:main Jul 7, 2023
42 of 43 checks passed
@chainer-ci
Copy link
Member

@kmaehashi Failed to backport automatically.


Not cleanly cherry-picked

kmaehashi added a commit to kmaehashi/cupy that referenced this pull request Jul 7, 2023
Update pylibcugraph weakly connected components call
@kmaehashi kmaehashi added this to the v13.0.0b1 milestone Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:bug Bugs prio:high to-be-backported Pull-requests to be backported to stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix cupyx.scipy.sparse.csgraph module to work with the latest RAPIDS cuGraph
4 participants