-
Notifications
You must be signed in to change notification settings - Fork 304
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
[REVIEW] BUG Update weights check in bc and graph prims wrappers #1290
Conversation
Please update the changelog in order to start CI tests. View the gpuCI docs here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @hlinsen. Could you elaborate on this fix in the context of my earlier comment:
#1282 (comment)
In particular, I think we should throw an error when weights are passed since this is not supported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there should be an else condition after the weight checks
The weight parameter option is currently throwing an error here: https://github.com/rapidsai/cugraph/blob/branch-0.17/python/cugraph/centrality/betweenness_centrality.py#L237. The ones inside the wrapper are used to construct the graph but are ignored during computation. |
Codecov Report
@@ Coverage Diff @@
## branch-0.17 #1290 +/- ##
============================================
Coverage 60.38% 60.38%
============================================
Files 67 67
Lines 3029 3029
============================================
Hits 1829 1829
Misses 1200 1200 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the test and clarifying @hlinsen 👍
rerun tests |
rerun tests |
2 similar comments
rerun tests |
rerun tests |
rerun tests |
1 similar comment
rerun tests |
This PR fixes the check for weights in betweenness_centrality and edge_betweenness_centrality wrappers.
Addresses issue #1282.