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

Nx compatibility based on making Graph subclass and calling Cugraph algos #2099

Merged
merged 61 commits into from
Mar 30, 2022
Merged

Nx compatibility based on making Graph subclass and calling Cugraph algos #2099

merged 61 commits into from
Mar 30, 2022

Conversation

acostadon
Copy link
Contributor

@acostadon acostadon commented Mar 1, 2022

Code to inherit all of networkx graph then call cugraph pagerank with just an import change.
This was originally going to do bfs first but pargerank was considered a more useful first algorithm.

@acostadon acostadon added DO NOT MERGE Hold off on merging; see PR for details Epic Tracker for a relatively large body of work that is broken down into stories and issues non-breaking Non-breaking change python labels Mar 1, 2022
@BradReesWork BradReesWork self-requested a review March 29, 2022 15:36
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.

Looks good, I had just one minor suggestion.



@pytest.fixture(scope="module", params=fixture_params)
def input_combo(request):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixture isn't used by any tests so you could just combine it with input_expected_output()

@BradReesWork
Copy link
Member

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 04ca362 into rapidsai:branch-22.04 Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants