forked from rapidsai/cugraph
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH Refactored cython graph factory code to scale to additional data …
…types (rapidsai#1178) * Minor update to comment to describe array sizes. * Changed graph container to use smart pointers, added arg for instantiating legacy types and switch statements for it to factory function. * Added PR 1152 to CHANGELOG.md * Removing unnecessary .get() call on unique_ptr instance * Using make_unique() instead of new * Updated to call drop() correctly after cudf API update. * Added args to support calling get_vertex_identifiers(). * Style fixes, removed commented out code meant for a future change. * Updated comment with description of new 'identifiers' arg. * Safety commit, still WIP, does not compile - updates for 2D graph support and upcoming 2D shuffle support * safety commit, does not pass tests: updated enough to be able to run the MG Louvain test. * Updated call_louvain() to use the new graph_t types. Still WIP, needs louvain updates to compile. * WIP: updates for incorporating new 2D shuffle data, still does not pass test. * Adding updates from iroy30 for calling shuffle from louvain.py * Updated to extract and pass the partition_t info and call the graph_t ctor. Now having a problem finding the right subcommunicator. * Updates to set up subcomms - having a problem with something needed by subcomms not being initialized: "address not mapped to object at address (nil)" * Added p2p flag to comms initialize() to enable initialization of UCX endpoints needed for MG test. * some proposed cleanup * safety commit: committing with debug prints to allow other team members to debug in parallel. * new technique for factory * safety commit: more updates to address problems instantiating graph_t (using num edges for partition instead of global for edgelist) and for debugging (print statments). * Changing how row and col rank are obtained, added debug prints for edge lists info * Fixes to partition_t get_matrix_partition_major/minor methods based on feedback. * Update shuffle.py * Integrating changes from iroy30 to produce "option 1" shuffle output by default, with an option to enable "option 2", temporarily enabled graph expensive checks for debugging. * Addressed review feedback: made var names consistent, fixed weights=None bug in cython code, added copyright to shuffle.py, changed how ranks are retrieved from the raft handle. * Removed debug prints. * Added PR 1163 to CHANGELOG.md * Removed extra newlines accidentally added to clean up diff in the PR, updated comment in cython code. * Added specific newlines back so file does not differ unnecessarily. * Disabled graph_t expensive check that was left enabled for debugging. * Added code path in call_louvain to support legacy graph types, to be removed when migration to graph_t types is complete. * Updates based on feedback from PR 1163: code cleanup/removed unused union members, consolidated legacy enum types, updated comments, initial support added for 64-bit vertex types (untested) * plumbed bool set based on running renumbering to set sorted_by_degree flag in graph container. * Added PR 1178 to CHANGELOG.md, C++ style fixes. * Addressed PR review feedback: added support for proper edge_t in cython wrapper and removed unnecessary vertex_t/edge_t int64,int32 combinations. Co-authored-by: Rick Ratzel <[email protected]> Co-authored-by: Chuck Hastings <[email protected]> Co-authored-by: Iroy30 <[email protected]>
- Loading branch information
1 parent
fdfa584
commit 60b9b85
Showing
12 changed files
with
644 additions
and
429 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.