Skip to content

Commit

Permalink
rename the executor to runner
Browse files Browse the repository at this point in the history
  • Loading branch information
chesterxgchen committed Aug 26, 2024
1 parent 5018b74 commit ef2a3ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit ef2a3ee

Please sign in to comment.