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

shuffle-benchmark: add --partition-distribution #1081

Merged

Conversation

madsbk
Copy link
Member

@madsbk madsbk commented Jan 13, 2023

Implements a --partition-distribution argument to local_cudf_shuffle.py

@github-actions github-actions bot added the python python code needed label Jan 13, 2023
@madsbk madsbk added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change and removed python python code needed labels Jan 13, 2023
@ajschmidt8
Copy link
Member

ajschmidt8 commented Jan 13, 2023

I canceled the latest GH Action run because it looks like the python tests were in-progress for over 4 hours, which is dramatically longer than the usual ~30 minutes that they take.

The logs are below, it looks like there were some errors throughout the tests.

To prevent this from happening again, I will open a PR to put a reasonable timeout on the Python tests.

This also happened on #981.

ajschmidt8 added a commit to ajschmidt8/dask-cuda that referenced this pull request Jan 13, 2023
There were two instances recently (below) where some Python test errors caused the `conda-python-tests` job to run/hang for ~4 hours.

- rapidsai#981 (comment)
- rapidsai#1081 (comment)

To prevent this from happening again in the future, I've added a reasonable timeout of 45 minutes to that particular job.

The job usually takes ~25 minutes to complete, so 45 minutes should be plenty.

This timeout will help prevent jobs from hanging and thus help preserve our finite GPU capacity for CI (particularly for `arm` nodes).
ajschmidt8 added a commit that referenced this pull request Jan 13, 2023
There were two instances recently (below) where some Python test errors caused the `conda-python-tests` job to run/hang for ~4 hours.

- #981 (comment)
- #1081 (comment)

To prevent this from happening again in the future, I've added a reasonable timeout of ~~45 minutes to that particular job~~ 30 minutes to the `pytest` command.

The job usually takes ~25 minutes to complete entirely, so 30 minutes just for `pytest` should be plenty.

This timeout will help prevent jobs from hanging and thus help preserve our finite GPU capacity for CI (particularly for `arm` nodes).

Authors:
   - AJ Schmidt (https://github.com/ajschmidt8)

Approvers:
   - Jake Awe (https://github.com/AyodeAwe)
@github-actions github-actions bot added the python python code needed label Jan 17, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jan 17, 2023

Codecov Report

Base: 87.89% // Head: 87.89% // No change to project coverage 👍

Coverage data is based on head (f3cb189) compared to base (03e5dcc).
Patch has no changes to coverable lines.

Additional details and impacted files
@@              Coverage Diff              @@
##           branch-23.02    #1081   +/-   ##
=============================================
  Coverage         87.89%   87.89%           
=============================================
  Files                17       17           
  Lines              2296     2296           
=============================================
  Hits               2018     2018           
  Misses              278      278           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@wence- wence- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor niggle in an error message, but otherwise I think this looks fine.

dask_cuda/benchmarks/local_cudf_shuffle.py Outdated Show resolved Hide resolved
@madsbk madsbk marked this pull request as ready for review January 20, 2023 07:38
@madsbk madsbk requested a review from a team as a code owner January 20, 2023 07:38
@madsbk madsbk requested a review from wence- January 20, 2023 07:38
Copy link
Contributor

@wence- wence- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@wence-
Copy link
Contributor

wence- commented Jan 23, 2023

/merge

@rapids-bot rapids-bot bot merged commit 66a6a46 into rapidsai:branch-23.02 Jan 23, 2023
@madsbk madsbk deleted the local_cudf_shuffle_partition_argument branch January 24, 2023 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change python python code needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants