nvflare.private.fed.app.client.sub_worker_process module¶
Sub_worker process to start the multi-processes client.
- class EventRelayer(conn, local_rank)[source]¶
Bases:
FLComponent
To relay the event from the worker_process.
To init the EventRelayer.
- Parameters
conn – worker_process connection.
local_rank – process local rank
- execute(run_manager, local_rank, exe_conn, executor)[source]¶
To execute the event task and pass to worker_process.
- Parameters
run_manager – Client_Run_Manager
local_rank – provcess local rank
exe_conn – execution connection
executor – local executor