nvflare.private.fed.app.simulator.simulator_runner module
- class SimulatorClientRunner(server_custom_folder, args, clients: [], client_config, deploy_args, build_ctx)[source]
Bases:
FLComponentInit 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.
- class SimulatorRunner(job_folder: str, workspace: str, clients=None, n_clients=None, threads=None, gpu=None, log_config=None, max_clients=100, end_run_for_all=False)[source]
Bases:
FLComponentInit 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.