-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
dask async operation with XGBoost failed (with Rapids on GPU) #5639
Comments
Haven't tested it yet. But from a quick glance, for the first log, I'm not sure why do you need to await For the second log, it's a bug in XGBoost's internal profiling code where verbosity is not available for |
Thanks @trivialfis ! First, I did made a mistake copying the code over, I have corrected in original issue, I cross pasted the code between xgboost and dask-xgboost. for the first issue, if I don't await
|
on second issue, I tried your workaround and change verbosity to 2, this time the scheduler has a different error
|
Jumping in here briefly (hope that is ok), I think what Dong is looking for (also please correct me if I'm wrong Dong) is an option to have |
Suggestions are welcomed. :-)
…________________________________
From: jakirkham <[email protected]>
Sent: Thursday, May 7, 2020 3:07:24 AM
To: dmlc/xgboost <[email protected]>
Cc: Jiaming Yuan <[email protected]>; Assign <[email protected]>
Subject: Re: [dmlc/xgboost] dask async operation with XGBoost failed (with Rapids on GPU) (#5639)
Jumping in here briefly (hope that is ok), I think what Dong is looking for is an option to have Futures returned here<https://github.com/dmlc/xgboost/blob/8b04736b8199509707c523094d257712a6f33d5d/python-package/xgboost/dask.py#L460-L461> instead of syncing on them. Maybe this can be controlled by a flag to train?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub<#5639 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AD7YPKJO7K7OGIQFKQXE7QLRQGYOZANCNFSM4M2VJAKA>.
|
Added to 1.2 roadmap. |
I have tested #5862 will fix this issue. |
Hi Folks,
Trying to launch Dask cluster with python async APIs and do XGBoost training, 2 issues observed: 1, seems like xgb.dask.DaskDMatrix cannot be awaited, how should I use it in async mode (dask_xgboost doesn't have this issue as it is not depended on xgb.dask.DaskDMatrix) ? 2, calling client.shutdown after a XGBoost training will incur error, without XGBoost, Dask cluster can shutdown gracefully, what is the reason behind it? (this error occurs with dask_xgboost as well)
Example code with xgboost:
Error log:
Example code with dask-xgboost:
Error log:
The text was updated successfully, but these errors were encountered: