As the title suggests, I would like to run a Flower simulation on multiple nodes. I have referred to the following documentation Multi-node Flower simulations, but the provided solution does not seem to match the current version’s style of Flower’s ServerApp/ClientApp. Could you please advise on how to run a simulation on multiple nodes for Flower Next-style applications using the example of
quickstart-pytorch ?
PS: From my observation, I guess that modifying the configuration in pyproject.toml might be a solution that aligns with the current Flower design philosophy. Is it right ?
Also, for multi-node execution that is not a simulation, apart from the methods mentioned in the documentation upgrade-to-flower-next#deployment, is it possible to run it directly using flwr run
by modifying the configuration?
PPS: When manually calling the method *run_simulation*
like run_simulation(server_app=server_app, client_app=client_app,num_supernodes=10)
, how to pass the Context to ServerApp and ClientApp.