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 number of permutations in pytest and getting handle for cuml models #3920

Merged
merged 2 commits into from
Jun 1, 2021

Conversation

dantegd
Copy link
Member

@dantegd dantegd commented Jun 1, 2021

Closes #3819
Bug fixes:

  • Increase npermutations in pytest (and reduce number of tests a bit), to avoid sporadic failure
  • Simplified code in common avoids a problem for cuML models that have handle as none (Naive Bayes)

@dantegd dantegd added bug Something isn't working non-breaking Non-breaking change labels Jun 1, 2021
@dantegd dantegd added this to PR-WIP in v21.06 Release via automation Jun 1, 2021
@dantegd dantegd requested a review from a team as a code owner June 1, 2021 14:12
@github-actions github-actions bot added the Cython / Python Cython or Python issue label Jun 1, 2021
Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

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

LGTM

v21.06 Release automation moved this from PR-WIP to PR-Reviewer approved Jun 1, 2021
@cjnolet
Copy link
Member

cjnolet commented Jun 1, 2021

Strange ARIMA cython build error in CI. Strange it's in a fresh environment though and in an unrelated PR:

ImportError: Error importing plugin "cuml.test.plugins.quick_run_plugin": /workspace/python/cuml/tsa/arima.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN2ML7predictERN4raft8handle_tERKNS_11ARIMAMemoryIdLi256EEEPKdiiiiRKNS_10ARIMAOrderERKNS_11ARIMAParamsIdEEPdbdSG_SG_

@dantegd
Copy link
Member Author

dantegd commented Jun 1, 2021

I think it was bad timing, the arima PR got merged at a moment that made things fail, I think rerunning tests should be enough

@dantegd
Copy link
Member Author

dantegd commented Jun 1, 2021

rerun tests

@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (branch-21.06@95efa25). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.06    #3920   +/-   ##
===============================================
  Coverage                ?   85.19%           
===============================================
  Files                   ?      228           
  Lines                   ?    17928           
  Branches                ?        0           
===============================================
  Hits                    ?    15273           
  Misses                  ?     2655           
  Partials                ?        0           
Flag Coverage Δ
dask 47.82% <0.00%> (?)
non-dask 77.45% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out 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 95efa25...6943fd1. Read the comment docs.

@dantegd
Copy link
Member Author

dantegd commented Jun 1, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 4e7d987 into rapidsai:branch-21.06 Jun 1, 2021
v21.06 Release automation moved this from PR-Reviewer approved to Done Jun 1, 2021
vimarsh6739 pushed a commit to vimarsh6739/cuml that referenced this pull request Oct 9, 2023
…ls (rapidsai#3920)

Closes rapidsai#3819 
Bug fixes:

- Increase npermutations in pytest (and reduce number of tests a bit), to avoid sporadic failure
- Simplified code in common avoids a problem for cuML models that have handle as `none` (Naive Bayes)

Authors:
  - Dante Gama Dessavre (https://github.com/dantegd)

Approvers:
  - Corey J. Nolet (https://github.com/cjnolet)

URL: rapidsai#3920
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Cython / Python Cython or Python issue non-breaking Non-breaking change
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

[BUG] CI failure on test_explainer_permutation_shap
3 participants