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

fix bug when calculating the number of vertices #1992

Merged

Conversation

jnke2016
Copy link
Contributor

The number of vertices calculation in the previous implementation relied on getting the max of the source and destination's max. Each worker computes the max of its partition however, workers having empty partition attempt to do the same causing an error. This seems to be caused by a recent change on how dask handle empty partitions with the max() function.

This PR calculates the total number of vertices by summing each partition's number of vertices which is inspired from our code base.

@jnke2016 jnke2016 requested a review from a team as a code owner December 16, 2021 05:22
@rlratzel rlratzel added bug Something isn't working non-breaking Non-breaking change labels Dec 16, 2021
@rlratzel
Copy link
Contributor

Build timed out for some reason.

rerun tests

@rlratzel
Copy link
Contributor

@gpucibot merge

@codecov-commenter
Copy link

codecov-commenter commented Dec 16, 2021

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (branch-22.02@dec389c). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff               @@
##             branch-22.02    #1992   +/-   ##
===============================================
  Coverage                ?   70.50%           
===============================================
  Files                   ?      142           
  Lines                   ?     8880           
  Branches                ?        0           
===============================================
  Hits                    ?     6261           
  Misses                  ?     2619           
  Partials                ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rlratzel
Copy link
Contributor

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 4123051 into rapidsai:branch-22.02 Dec 17, 2021
@BradReesWork BradReesWork added this to the 22.02 milestone Jan 19, 2022
@jnke2016 jnke2016 deleted the fix-bug-num_vertices-calc branch September 24, 2022 23:05
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.

4 participants