-
Notifications
You must be signed in to change notification settings - Fork 527
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] Audit cuML source code and add test to catch incorrect use of cuML array #2456
Comments
Let's get these shaken out within 0.15. I'm sure some annoying bugs are lurking as a result. |
Tagging @mdemoret-nv who will look at this |
I'm breaking this down into several steps to incrementally improve the repo:
This should be spread out over a few PRs. |
In order to add testing to detect incorrect uses of Naming Conventions:
To support these naming conventions, there are some rules that must be followed when deriving from
Open to comments/concerns/questions. |
Caching system work is being done here: https://github.com/mdemoret-nv/cuml/tree/bug-audit-cumlarray-use-improved |
In good shape now with the addition of CumlArrayDescriptor |
Recently, we updated all cuML algorithms to use cuML arrays. The convention is that fields of estimators that are of cuML array type should be prefixed with an underscore, like this:
It is quite easy to leave out the underscore:
Leaving out the underscore in the cuML array field is dangerous because, when the user accesses the field, they'll get
None
. This is what happened in the bug #2438.Todo. Audit the cuML codebase to find instances of this error.
The text was updated successfully, but these errors were encountered: