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

Support Dask 2.0 #4617

Merged
merged 1 commit into from
Jun 28, 2019
Merged

Support Dask 2.0 #4617

merged 1 commit into from
Jun 28, 2019

Conversation

hcho3
Copy link
Collaborator

@hcho3 hcho3 commented Jun 28, 2019

The current Dask integration in XGBoost (xgboost/dask.py) does not work with Dask 2.0.0 (released Jun 25, 2019) because dask/distributed#2758 replaced all occurrences of ncores with nthreads.

This pull request will access ncores and nthreads, whichever is available, so that XGBoost can work with both 1.2.x and 2.0.0 versions of Dask.

Also, we specify the exact version of Dask in the Dockerfile, so that we know which version of Dask XGBoost is tested with.

@RAMitchell @mrocklin @mt-jones

@hcho3 hcho3 merged commit a301769 into dmlc:master Jun 28, 2019
@hcho3 hcho3 deleted the dask2_compat branch June 28, 2019 03:42
@lock lock bot locked as resolved and limited conversation to collaborators Sep 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants