Skip to content

Commit

Permalink
update readme with system resources
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerroth committed Apr 5, 2024
1 parent 7f8a1ac commit 019e486
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions research/fed-bpt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ nvflare job create -force -j "./jobs/fedbpt" -w "fedbpt" -sd "./src" \
-f app/config/config_fed_server.conf min_clients=${N_CLIENTS} num_rounds=200 seed=${SEED}
```
Start the FL simulator with `N_CLIENTS` clients in parallel.
The following setting requires a GPU with at least 24 GB memory and enough system memory to run the clients in parallel (we recommend at least 40 GB).
For a system with less resources, you can set -t to be a lower number and simulate the clients running sequentially.
```commandline
OUT_DIR="/tmp/nvflare/fedbpt"
nvflare simulator ./jobs/fedbpt -n ${N_CLIENTS} -t ${N_CLIENTS} -w ${OUT_DIR}
Expand Down

0 comments on commit 019e486

Please sign in to comment.