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

[pyspark] Support collective.Conf in spark #11003

Merged
merged 5 commits into from
Nov 21, 2024
Merged

Conversation

wbo4958
Copy link
Contributor

@wbo4958 wbo4958 commented Nov 19, 2024

This PR is a followup of #10983

@@ -257,21 +258,20 @@ class _SparkXGBParams(
"launched on the driver side; otherwise, it will be launched on the executor side.",
TypeConverters.toBoolean,
)
tracker_host_ip = Param(
tracker = Param(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the name "tracker" is ok?

Copy link
Member

Choose a reason for hiding this comment

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

I would probably continue to use the name coll_cfg just to be consistent. Besides, the configuration is for both the tracker and the communicators.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure, I changed it to collective_conf

Copy link
Member

Choose a reason for hiding this comment

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

I know everyone has a naming preference ... if you use a new name, please modify the existing ones in Dask for consistency.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, I just changed it to coll_cfg to be compatible with dask.

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.

Thank you for the PR!

@trivialfis trivialfis merged commit 96d60ad into dmlc:master Nov 21, 2024
30 of 31 checks passed
@wbo4958 wbo4958 deleted the config branch November 22, 2024 00:27
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.

2 participants