-
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] Fixes memory allocation for experimental backend and improves quantile computations #3586
[REVIEW] Fixes memory allocation for experimental backend and improves quantile computations #3586
Conversation
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.
Changes LGTM.
Codecov Report
@@ Coverage Diff @@
## branch-0.19 #3586 +/- ##
===============================================
+ Coverage 80.69% 80.83% +0.13%
===============================================
Files 227 227
Lines 17615 17737 +122
===============================================
+ Hits 14214 14337 +123
+ Misses 3401 3400 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
This should help address issue #3529 |
This should help also address issue #3530 |
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.
LGTM. I'm confident that this PR will reduce memory consumption of the new RF backend.
@gpucibot merge |
Previous to this PR, when new/experimental backend is used for training, the temporary memory needed by old backend is also getting allocated. This PR fixes the issue. The temporary memory is allocated conditionally now. This PR also changes the computation of quantiles for new backend. The old way of computing quantiles may leave last few samples due to incorrect quantile thresholds. Impact on accuracy is still to be evaluated thoroughly.