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

JNI wrapper for the collective communicator #8242

Merged
merged 4 commits into from Sep 20, 2022

Conversation

rongou
Copy link
Contributor

@rongou rongou commented Sep 10, 2022

We're probably not going to support federated learning in Spark, but since we'll switch the c++ code to use the communicator interface, this is also needed to keep the java/scala code functioning.

@rongou
Copy link
Contributor Author

rongou commented Sep 12, 2022

@trivialfis

@trivialfis
Copy link
Member

Started buildkite.

Copy link
Member

@trivialfis trivialfis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me overall. Please document its experimental status.

@rongou
Copy link
Contributor Author

rongou commented Sep 16, 2022

Added a note about the api being experimental.

@trivialfis
Copy link
Member

Restarted failed tests.

@wbo4958
Copy link
Contributor

wbo4958 commented Sep 20, 2022

Looks like Communicator.java is quite the same as Rabit.java. So does Communicator is dedicated to federated learning? Can it be replaced with the existing Rabit? Looks like we need to re-design this part to abstract the common parts. But that can be in a following-up PR.

@rongou
Copy link
Contributor Author

rongou commented Sep 20, 2022

@wbo4958 yes it's more a less a drop-in replacement for Rabit. My next step is to replace all the rabit calls with communicator, and then delete Rabit.java. These changes don't affect the JVM side in terms of behavior, but are needed since we are changing the c++ code.

@rongou
Copy link
Contributor Author

rongou commented Sep 20, 2022

@trivialfis can this be merged? Thanks!

@trivialfis trivialfis merged commit 7d43e74 into dmlc:master Sep 20, 2022
@rongou rongou deleted the jvm-communicator branch November 18, 2022 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants