-
Notifications
You must be signed in to change notification settings - Fork 532
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
Allow cuML MNMG estimators to be serialized #5571
Allow cuML MNMG estimators to be serialized #5571
Conversation
@@ -167,6 +166,8 @@ def fit(self, X): | |||
|
|||
wait_and_raise_from_futures([models]) | |||
|
|||
models = models.result() |
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.
Is this line missing from these two specific estimators or should it be added in other models as well (e.g. Logistic regression)?
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.
This PR only fixes NB and TF-IDF. But, in the long run we should fix all of the estimators.
Thanks for the PR! I'll see if this solves my problem. Is it worth adding a non-regression test? That way the bug won't come back in the future :D Can't really review it, as I know too little about cuml + dask :( |
Thanks :). Sure, we should probably add some tests. I will do that later. |
Unfortunately this doesn't solve my problem with |
For context the problem I'm seeing and thought this might solve in the |
@viclafargue can you add a more descriptive title and description to the PR? |
/ok to test |
@viclafargue there seems to be a CI failure in dask tests, could you take a look at it? |
a60daba
to
8877d8e
Compare
/ok to test |
/ok to test |
/ok to test |
/ok to test |
/merge |
This PR :
- Edit the NB and TF-IDF estimators to prevent their model from being serialized as Dask futures