nvflare.private.fed.app.deployer.server_deployer module

FL Server deployer.

class ServerDeployer[source]

Bases: object

FL Server deployer.

Init the ServerDeployer.

build(build_ctx)[source]

To build the ServerDeployer.

Parameters:

build_ctx – build context

close()[source]

To close the services.

create_fl_server(args, secure_train=False)[source]

To create the FL Server.

Parameters:
  • args – command args

  • secure_train – True/False

Returns: FL Server

deploy(args)[source]

To deploy the FL server services.

Parameters:

args – command args.

Returns: FL Server