From ef2a3eedb701917e21b55c16a4c070df3dcb4094 Mon Sep 17 00:00:00 2001 From: chesterxgchen Date: Mon, 26 Aug 2024 15:56:14 -0700 Subject: [PATCH] rename the executor to runner --- .../step-by-step/higgs/xgboost/xgboost_htree_job.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/hello-world/step-by-step/higgs/xgboost/xgboost_htree_job.py b/examples/hello-world/step-by-step/higgs/xgboost/xgboost_htree_job.py index 62319c4a7e..107062c608 100644 --- a/examples/hello-world/step-by-step/higgs/xgboost/xgboost_htree_job.py +++ b/examples/hello-world/step-by-step/higgs/xgboost/xgboost_htree_job.py @@ -50,8 +50,8 @@ # Add clients for i in range(n_clients): - executor = ScriptRunner(script=train_script, script_args=script_args, framework=FrameworkType.RAW) - job.to(executor, f"site-{i + 1}") + runner = ScriptRunner(script=train_script, script_args=script_args, framework=FrameworkType.RAW) + job.to(runner, f"site-{i + 1}") job.export_job("/tmp/nvflare/jobs/xgboost") job.simulator_run("/tmp/nvflare/xgboost", gpu="0")