-
Notifications
You must be signed in to change notification settings - Fork 541
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
[REVIEW] Reducing dask coordinate descent test runtime #3074
[REVIEW] Reducing dask coordinate descent test runtime #3074
Conversation
Please update the changelog in order to start CI tests. View the gpuCI docs here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good, just one request to "stress" test the small data size before merging
@pytest.mark.parametrize('algorithm', ['cyclic', 'random']) | ||
@pytest.mark.parametrize('nrows', [unit_param(500), | ||
@pytest.mark.parametrize('nrows', [unit_param(50), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good, but I worry a little bit about the small data size could create some brittleness in the test. @Nanthini10 could you use pytest-repeat
to run the test locally for a number of times (say 100 at least) just to confirm that the test is still robust and for peace of mind?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dantegd Ran it a 100 times and it passed the tests 👍
rerun tests |
Codecov Report
@@ Coverage Diff @@
## branch-0.17 #3074 +/- ##
===============================================
+ Coverage 58.39% 59.23% +0.84%
===============================================
Files 143 142 -1
Lines 8897 8966 +69
===============================================
+ Hits 5195 5311 +116
+ Misses 3702 3655 -47
Continue to review full report at Codecov.
|
It already seems to be minimal, removing a few redundant values.
Runtime on my machine went from 72 seconds to 45 seconds
Closes #3043