@taner/app-numpy

A Flower Numpy App.

Publisher@taner
Downloads5
Runs0

Quickstart

flwr new @taner/app-numpy

Readme

app-numpy: A Flower / NumPy app

Install dependencies and project

The dependencies are listed in the pyproject.toml and you can install them as follows:

pip install -e .

Tip: Your pyproject.toml file can define more than just the dependencies of your Flower app. You can also use it to specify hyperparameters for your runs and control which Flower Runtime is used. By default, it uses the Simulation Runtime, but you can switch to the Deployment Runtime when needed. Learn more in the TOML configuration guide.

Run with the Simulation Engine

In the app-numpy 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 interested in setting up secure TLS-enabled communications and SuperNode authentication in your federation.

You can run Flower on Docker too! Check out the Flower with Docker documentation.

Resources