nvflare.private.fed.app.client.sub_worker_process module
Sub_worker process to start the multi-processes client.
- class EventRelayer(cell, parent_fqcn, local_rank)[source]
Bases:
FLComponentTo relay the event from the worker_process.
To init the EventRelayer.
- Parameters:
cell – the local cell.
parent_fqcn – FQCN of the parent cell
local_rank – process local rank
- class SubWorkerExecutor(args, workspace, num_of_processes, local_rank)[source]
Bases:
RunnerInit FLComponent.
The FLComponent is the base class of all FL Components. (executors, controllers, responders, filters, aggregators, and widgets are all FLComponents)
FLComponents have the capability to handle and fire events and contain various methods for logging.