Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.36 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.36 KB

Hello Numpy Scatter and Gather

"Scatter and Gather" is the standard workflow to implement Federated Averaging (FedAvg). This workflow follows the hub and spoke model for communicating the global model to each client for local training (i.e., "scattering") and aggregates the result to perform the global model update (i.e., "gathering").

NOTE: This example uses a Numpy-based trainer and will generate its data within the code.

1. Install NVIDIA FLARE

Follow the Installation instructions.

2. Set up your FL workspace

Follow the Quickstart instructions to set up your POC ("proof of concept") workspace.

3. Run the experiment

Log into the Admin client by entering admin for both the username and password. Then, use these Admin commands to run the experiment:

submit_job hello-numpy-sag

4. Shut down the server/clients

To shut down the clients and server, run the following Admin commands:

shutdown client
shutdown server

NOTE: For more information about the Admin client, see here.