Skip to content

Reduce peak memory requirement of WCC#4990

Merged
rapids-bot[bot] merged 6 commits intorapidsai:branch-25.04from
seunghwak:enh_wcc_memory_requirement
Mar 20, 2025
Merged

Reduce peak memory requirement of WCC#4990
rapids-bot[bot] merged 6 commits intorapidsai:branch-25.04from
seunghwak:enh_wcc_memory_requirement

Conversation

@seunghwak
Copy link
Contributor

If there exists a high degree vertex, run BFS from the highest degree vertex first to possibly find the largest connected component in the graph. BFS uses a visited flag (1 bit) instead of component ID (sizeof(vertex_t)) to store edge end point (src or dst) properties; thus use less memory.

Then, we can create a smaller graph just extracting edges with unvisited endpoints.

@copy-pr-bot
Copy link

copy-pr-bot bot commented Mar 19, 2025

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@seunghwak seunghwak changed the title [WIP] reduce peak memory requirement of WCC Reduce peak memory requirement of WCC Mar 20, 2025
@seunghwak seunghwak marked this pull request as ready for review March 20, 2025 02:55
@seunghwak seunghwak requested a review from a team as a code owner March 20, 2025 02:55
@seunghwak seunghwak added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Mar 20, 2025
@seunghwak seunghwak added this to the 25.04 milestone Mar 20, 2025
@ChuckHastings
Copy link
Collaborator

/merge

@rapids-bot rapids-bot bot merged commit 73156a1 into rapidsai:branch-25.04 Mar 20, 2025
81 checks passed
@seunghwak seunghwak deleted the enh_wcc_memory_requirement branch May 21, 2025 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuGraph 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.

2 participants