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

Cut peak memory footprint in per_v_transform_reduce_dst_key_aggregated_outgoing_e #4484

Merged
merged 7 commits into from
Jun 28, 2024

Conversation

seunghwak
Copy link
Contributor

Cut peak memory usage.

For an ultimate solution, we need to implement our own function to emulate ncclReduce with a custom reduction operator.

@seunghwak seunghwak requested a review from a team as a code owner June 12, 2024 20:01
@seunghwak seunghwak self-assigned this Jun 12, 2024
@seunghwak seunghwak requested a review from jnke2016 June 12, 2024 20:01
@seunghwak
Copy link
Contributor Author

@jnke2016 After confirming that the input size of sort_by_key grows as we increase # GPUs (and graph size grows proportional to # GPUs), you can try this. With this approach, we might be able to avoid OOM for 2-4x more GPUs. But we may encounter OOM again later especially for graphs with small E / V. To solve, this we need a multi-GPU reduce function that supports a custom reduce function (@naimnv also needs this to improve the performance of matching).

@seunghwak seunghwak added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jun 12, 2024
@jnke2016
Copy link
Contributor

Can you also fix the out of memory allocation bug in Louvain in this PR please?

@ChuckHastings
Copy link
Collaborator

/merge

@rapids-bot rapids-bot bot merged commit 3ca5d78 into rapidsai:branch-24.08 Jun 28, 2024
131 checks passed
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.

4 participants