Improve memory footprint and performance of graph creation#3542
Merged
rapids-bot[bot] merged 20 commits intorapidsai:branch-23.06from May 17, 2023
Merged
Conversation
…awa/cugraph into cugraph_scaling_benchmark
rlratzel
reviewed
May 4, 2023
python/cugraph/cugraph/structure/graph_implementation/simpleDistributedGraph.py
Outdated
Show resolved
Hide resolved
Member
|
I think this PR may have some bugs, you may want to run the MG tests before finalizing it |
Member
|
I ran into issues trying to use this with the latest changes to sampling and edge properties |
…thub.com/VibhuJawa/cugraph into improve_memory_footprint_symmetrsization
…thub.com/VibhuJawa/cugraph into improve_memory_footprint_symmetrsization
Member
Author
@alexbarghi-nv , Can you try again. i think i have resolved all the bugs from my side and testing on multiple GPU configurations. |
rlratzel
approved these changes
May 16, 2023
Member
|
/merge |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR improves the memory footprint in graph creation and resolves story: #3439
The metric we are concerned about is input_to_peak_ratio which is currently 12.1x. Ideally this should be in 2x range.
Metric Meaning: How much memory expands for an input graph of size x. So if you want to analyze a graph of size x, we need 12x GPU ram currently.
Memory overhead ratio reduction:
12xto6.14xfor undirected (Reverse edges added)5.9xto3.07xfor directed graphs (No reverse edges)Time Reduction:
Comparison Table
Graph Creation:
CC: @rlratzel