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

what is the distribution communication framework in lightGBM? #4550

Closed
ICDI0906 opened this issue Aug 24, 2021 · 3 comments
Closed

what is the distribution communication framework in lightGBM? #4550

ICDI0906 opened this issue Aug 24, 2021 · 3 comments
Labels

Comments

@ICDI0906
Copy link

Is there a distribution distribution communication framework in LightGBM like rabit in xgboost?

@jameslamb
Copy link
Collaborator

Unlike rabit, LightGBM's implementation of collective operations like Allreduce, Allgather, etc. was never released as a standalone library. It is an integrated part of LightGBM itself.

Linking in case you aren't aware...last year, XGBoost decided to use a similar approach, pulling rabit back into XGBoost and shipping it with that library directly: dmlc/xgboost#5995.

More Details

The core communication code can be found here:

Notice there that LightGBM by default uses TCP sockets directly for communication, but it can also be compiled with MPI features enabled and run as an MPI application.

Those core communication routines are used to implement Data Parallel, Feature Parallel, and Voting Parallel training.

Those features are then exposed in several interfaces (including running the LightGBM CLI, Dask, or Spark). See https://lightgbm.readthedocs.io/en/latest/Parallel-Learning-Guide.html#integrations for a more complete list.

@no-response
Copy link

no-response bot commented Sep 23, 2021

This issue has been automatically closed because it has been awaiting a response for too long. When you have time to to work with the maintainers to resolve this issue, please post a new comment and it will be re-opened. If the issue has been locked for editing by the time you return to it, please open a new issue and reference this one. Thank you for taking the time to improve LightGBM!

@no-response no-response bot closed this as completed Sep 23, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants