Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.2 KB

File metadata and controls

36 lines (22 loc) · 1.2 KB

Hello FedAvg NumPy

This example showcases Federated Averaging (FedAvg) with NumPy.

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

You can follow the Getting Started with NVFlare (NumPy) for a detailed walkthrough of the basic concepts.

See the Hello FedAvg with NumPy example documentation page for details on this example.

To run this example with the FLARE API, you can follow the hello_world notebook, or you can quickly get started with the following:

1. Install NVIDIA FLARE

Follow the Installation instructions.

2. Run the experiment

Run the script using the job API to create the job and run it with the simulator:

python3 fedavg_script_runner_hello-numpy.py

3. Access the logs and results

You can find the running logs and results inside the simulator's workspace:

$ ls /tmp/nvflare/jobs/workdir/

For how to use the FLARE API to run this app, see this notebook.