Skip to content

Commit

Permalink
Fix xgb standalone fed (#2924)
Browse files Browse the repository at this point in the history
Co-authored-by: Chester Chen <512707+chesterxgchen@users.noreply.github.com>
  • Loading branch information
YuanTingHsieh and chesterxgchen authored Sep 6, 2024
1 parent f5d2025 commit 8a1d161
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def load_test_data(data_path: str):


def run_server(port: int, world_size: int) -> None:
xgboost.federated.run_federated_server(port, world_size)
xgboost.federated.run_federated_server(n_workers=world_size, port=port)


def run_worker(port: int, world_size: int, rank: int, args) -> None:
Expand Down

0 comments on commit 8a1d161

Please sign in to comment.