-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dask] [python-package] Search for available ports when setting up ne…
…twork (fixes #3753) (#3766) * starting work * fixed port-binding issue on localhost * minor cleanup * updates * getting closer * definitely working for LocalCluster * it works, it works * docs * add tests * removing testing-only files * linting * Apply suggestions from code review Co-authored-by: Nikita Titov <[email protected]> * remove duplicated code * remove unnecessary listen() Co-authored-by: Nikita Titov <[email protected]>
- Loading branch information
1 parent
9bacf03
commit f6d2dce
Showing
2 changed files
with
137 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f6d2dce
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.
Hi @jameslamb , thanks for all your and others work on dask lightgbm, I think it will be alot more stable in the end.
I wonder if you have noticed or considered these issues I hit:
dask/dask-lightgbm#22
dask/dask-lightgbm#24
I still hit these. The KeyError is most concerning, since it seems to happen randomly. GPU support would be nice to have.
Also, what is the status of dask support in lightgbm currently? Should I transition from dask-lightgbm package to lightgbm now? Were you able to incorporate my changes for early stopping support?
e.g. I notice you guys still point to dask-lightgbm package at: https://lightgbm.readthedocs.io/en/latest/Parallel-Learning-Guide.html
f6d2dce
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.
Ah I hadn't moved those over to LightGBM. That's done now.
Not yet. This is documented in #3712 and @ffineis has offered to contribute it.
There isn't an official release of LightGBM yet that includes
lightgbm.dask
. That will come in LightGBM 3.2.0, which doesn't have a planned release date yet. You shouldn't consider the version currently onmaster
to be stable. We're still working on it and still might make breaking changes to it. We won't remove references todask-lightgbm
from the documentation until the next LightGBM release.If you cut over from
dask-lightgbm
tomaster
of LightGBM I'd appreciate it, because you might find other bugs we can fix before 3.2.0. But I want to be sure you understand that it isn't stable so you can make an informed decision.One other note...in the future, please open an issue instead of commenting on a commit. That will be more visible to maintainers, contributors, and others arriving from search engines.