Skip to content

Added guards for preventing k-truss execution on CUDA 11.4 systems#1773

Merged
raydouglass merged 3 commits intorapidsai:branch-21.08from
rlratzel:branch-21.08-conditionalktruss
Aug 16, 2021
Merged

Added guards for preventing k-truss execution on CUDA 11.4 systems#1773
raydouglass merged 3 commits intorapidsai:branch-21.08from
rlratzel:branch-21.08-conditionalktruss

Conversation

@rlratzel
Copy link
Copy Markdown
Contributor

@rlratzel rlratzel commented Aug 13, 2021

Added guards for preventing k-truss execution on CUDA 11.4 systems and the appropriate user-friendly messaging, along with a new unit test.
Also updated the k-truss notebook with a note about the unsupported CUDA version and a comment to skip automated tests on CUDA 11.4, along with updates to the notebook skip mechanism to also look at CUDA version.

Tested on a CUDA 11.2 system by changing the unsupported version to 11.2 to verify correct behavior.

Behavior on a CUDA 11.4 systems should be to allow cugraph to be imported as always, but if the user calls k_truss or kturss_subgraph, a NotImplementedError exception with "is not currently supported in CUDA 11.4 environments" message is raised. If the user directly imports the module (ie. from cugraph.community.ktruss_subgraph import k_truss), the exception is raised immediately.

Behavior on non-CUDA 11.4 systems should be exactly the same as prior to this change.

@rlratzel rlratzel added bug Something isn't working ! - Hotfix non-breaking Non-breaking change labels Aug 13, 2021
@rlratzel rlratzel self-assigned this Aug 13, 2021
@rlratzel rlratzel requested review from a team as code owners August 13, 2021 19:37
@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@raydouglass raydouglass merged commit 97bfeed into rapidsai:branch-21.08 Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants