We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 748d516 commit b3208aaCopy full SHA for b3208aa
demo/nvflare/custom/trainer.py
@@ -53,6 +53,7 @@ def _do_training(self, fl_ctx: FLContext):
53
client_name = fl_ctx.get_prop(FLContextKey.CLIENT_NAME)
54
rank = int(client_name.split('-')[1]) - 1
55
communicator_env = {
56
+ 'xgboost_communicator': 'federated',
57
'federated_server_address': self._server_address,
58
'federated_world_size': self._world_size,
59
'federated_rank': rank,
0 commit comments