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

Fix compatibility with xgboost 2.1.0 #311

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

farridav
Copy link

In xgboost 2.0.3 the arguments to RabitTracker are in the order host_ip, n_workers (https://github.com/dmlc/xgboost/blob/v2.0.3/python-package/xgboost/tracker.py#L183) but in the latest xgboost (2.1.0) the arguments have been swapped around: https://github.com/dmlc/xgboost/blob/v2.1.0/python-package/xgboost/tracker.py#L53

This causes errors when using this package, as it defines no upper bound for the xgboost version: https://github.com/ray-project/xgboost_ray/blob/master/setup.py#L18

This PR aims to solve that problem and maintain compatability but naming the arguments

@dvmorris
Copy link

+1 I'm experiencing this same issue today.

@ajayrgb
Copy link

ajayrgb commented Oct 21, 2024

linking issue #312

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.

3 participants