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

BUG fix BatchedLevelAlgo DtClsTest & DtRegTest failing tests #3690

Conversation

venkywonka
Copy link
Contributor

@venkywonka venkywonka commented Apr 1, 2021

cc @teju85 @vinaydes @JohnZed @hcho3

    * updated to new method for quantiles computation
    * deleted unused tempmem
@venkywonka venkywonka requested a review from a team as a code owner April 1, 2021 04:47
@venkywonka venkywonka added bug Something isn't working CUDA / C++ CUDA issue non-breaking Non-breaking change tests Unit testing for project and removed CUDA/C++ labels Apr 1, 2021
Copy link
Member

@teju85 teju85 left a comment

Choose a reason for hiding this comment

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

Changes LGTM. Thanks @venkywonka for the quick fix.

@codecov-io
Copy link

Codecov Report

Merging #3690 (78ec480) into branch-0.19 (fd9ec89) will increase coverage by 1.77%.
The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           branch-0.19    #3690      +/-   ##
===============================================
+ Coverage        80.70%   82.48%   +1.77%     
===============================================
  Files              227      227              
  Lines            17615    17541      -74     
===============================================
+ Hits             14217    14469     +252     
+ Misses            3398     3072     -326     
Flag Coverage Δ
dask 46.40% <100.00%> (+1.40%) ⬆️
non-dask 74.46% <100.00%> (+1.54%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...cuml/_thirdparty/sklearn/preprocessing/__init__.py 100.00% <ø> (ø)
...on/cuml/_thirdparty/sklearn/preprocessing/_data.py 64.36% <ø> (+1.24%) ⬆️
...hirdparty/sklearn/preprocessing/_discretization.py 83.33% <ø> (-0.88%) ⬇️
...l/_thirdparty/sklearn/preprocessing/_imputation.py 64.25% <ø> (+1.45%) ⬆️
...cuml/_thirdparty/sklearn/utils/skl_dependencies.py 80.00% <ø> (+26.07%) ⬆️
python/cuml/cluster/__init__.py 100.00% <ø> (ø)
python/cuml/cluster/agglomerative.pyx 96.47% <ø> (ø)
python/cuml/cluster/dbscan.pyx 98.19% <ø> (-1.81%) ⬇️
python/cuml/cluster/kmeans.pyx 91.95% <ø> (ø)
python/cuml/common/array_sparse.py 96.29% <ø> (+1.95%) ⬆️
... and 92 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update daf0d14...78ec480. Read the comment docs.

@JohnZed
Copy link
Contributor

JohnZed commented Apr 1, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 538a2be into rapidsai:branch-0.19 Apr 1, 2021
rapids-bot bot pushed a commit that referenced this pull request Apr 4, 2021
…ogram calculation and occupancy optimization (#3616)

* This PR introduces:
    * A faster way to calculate the histograms containing splits in the `ML::DecisionTree::computeSplitClassificationKernel` . These histograms are used for node-splitting in decision trees for the task of classification.
    * A change in the default `gridDim.x` in the launch configuration of the above kernel from `4` to based on occupancy calculator and other dimension gridDims, thus improving the occupancy to theoretical limits
* Earlier too many atomic adds to shared memory limited the kernel times, which has been avoided by blockwide sum-scans to obtain the same histogram using fewer atomic writes to shared memory.
* The resulting kernel time speedups are significant (upto 30x for some nodes) 
* `computeSplitRegressionKernel` has different share-memory write patterns that deserves it's own PR for optimization 😬 
* Tests will pass once #3690  is merged

Authors:
  - Venkat (https://github.com/venkywonka)

Approvers:
  - AJ Schmidt (https://github.com/ajschmidt8)
  - Philip Hyunsu Cho (https://github.com/hcho3)
  - Thejaswi. N. S (https://github.com/teju85)
  - John Zedlewski (https://github.com/JohnZed)

URL: #3616
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CUDA / C++ CUDA issue non-breaking Non-breaking change tests Unit testing for project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants