app-pytorch: A Flower / PyTorch app

View on GitHub

[!NOTE] This example is a playground for upcoming features with Flower’s Message API.

Install dependencies and project

pip install -e .

Run with the Simulation Engine

In the app-pytorch directory, use flwr run to run a local simulation:

flwr run .

Refer to the How to Run Simulations guide in the documentation for advice on how to optimize your simulations.

Run with the Deployment Engine

Follow this how-to guide to run the same app in this example but with Flower’s Deployment Engine. After that, you might be intersted in setting up secure TLS-enabled communications and SuperNode authentication in your federation.

If you are already familiar with how the Deployment Engine works, you may want to learn how to run it using Docker. Check out the Flower with Docker documentation.

Resources