flwr-nightly 1.5.0.dev20230426__tar.gz → 1.5.0.dev20230427__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/PKG-INFO +1 -1
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/pyproject.toml +1 -1
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/setup.py +1 -1
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/app.py +33 -11
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/LICENSE +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/README.md +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/app.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/client.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/dpfedavg_numpy_client.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/grpc_client/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/grpc_client/connection.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/message_handler/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/message_handler/message_handler.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/message_handler/task_handler.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/numpy_client.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/rest_client/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/rest_client/connection.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/address.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/constant.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/date.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/dp.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/grpc.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/logger.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/parameter.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/serde.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/telemetry.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/typing.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/version.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/driver/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/driver/driver.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/driver_pb2.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/driver_pb2.pyi +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/driver_pb2_grpc.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/driver_pb2_grpc.pyi +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/fleet_pb2.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/fleet_pb2.pyi +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/fleet_pb2_grpc.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/fleet_pb2_grpc.pyi +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/node_pb2.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/node_pb2.pyi +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/node_pb2_grpc.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/node_pb2_grpc.pyi +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/task_pb2.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/task_pb2.pyi +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/task_pb2_grpc.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/task_pb2_grpc.pyi +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/transport_pb2.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/transport_pb2.pyi +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/transport_pb2_grpc.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/transport_pb2_grpc.pyi +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/py.typed +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/client_manager.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/client_proxy.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/criterion.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/driver/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/driver/driver_servicer.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/fleet/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/fleet/fleet_servicer.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/grpc_server/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/grpc_server/driver_client_manager.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/grpc_server/flower_service_servicer.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/grpc_server/grpc_bridge.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/grpc_server/grpc_client_proxy.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/grpc_server/grpc_server.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/grpc_server/ins_scheduler.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/history.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/rest_server/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/rest_server/rest_api.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/server.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/state/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/state/in_memory_state.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/state/sqlite_state.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/state/state.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/state/state_factory.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/aggregate.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/dpfedavg_adaptive.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/dpfedavg_fixed.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/fault_tolerant_fedavg.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/fedadagrad.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/fedadam.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/fedavg.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/fedavg_android.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/fedavgm.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/fedmedian.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/fedopt.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/fedprox.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/fedxgb_nn_avg.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/fedyogi.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/krum.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/qfedavg.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/strategy/strategy.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/utils/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/utils/tensorboard.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/utils/validator.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/simulation/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/simulation/app.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/simulation/ray_transport/__init__.py +0 -0
- {flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/simulation/ray_transport/ray_client_proxy.py +0 -0
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
4
4
|
|
5
5
|
[tool.poetry]
|
6
6
|
name = "flwr-nightly"
|
7
|
-
version = "1.5.0-
|
7
|
+
version = "1.5.0-dev20230427"
|
8
8
|
description = "Flower: A Friendly Federated Learning Framework"
|
9
9
|
license = "Apache-2.0"
|
10
10
|
authors = ["The Flower Authors <hello@flower.dev>"]
|
@@ -49,7 +49,7 @@ entry_points = \
|
|
49
49
|
|
50
50
|
setup_kwargs = {
|
51
51
|
'name': 'flwr-nightly',
|
52
|
-
'version': '1.5.0.
|
52
|
+
'version': '1.5.0.dev20230427',
|
53
53
|
'description': 'Flower: A Friendly Federated Learning Framework',
|
54
54
|
'long_description': '# Flower: A Friendly Federated Learning Framework\n\n<p align="center">\n <a href="https://flower.dev/">\n <img src="https://flower.dev/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Fflower_white_border.c2012e70.png&w=640&q=75" width="140px" alt="Flower Website" />\n </a>\n</p>\n<p align="center">\n <a href="https://flower.dev/">Website</a> |\n <a href="https://flower.dev/blog">Blog</a> |\n <a href="https://flower.dev/docs/">Docs</a> |\n <a href="https://flower.dev/conf/flower-summit-2022">Conference</a> |\n <a href="https://flower.dev/join-slack">Slack</a>\n <br /><br />\n</p>\n\n[![GitHub license](https://img.shields.io/github/license/adap/flower)](https://github.com/adap/flower/blob/main/LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/adap/flower/blob/main/CONTRIBUTING.md)\n![Build](https://github.com/adap/flower/actions/workflows/flower.yml/badge.svg)\n![Downloads](https://pepy.tech/badge/flwr)\n[![Slack](https://img.shields.io/badge/Chat-Slack-red)](https://flower.dev/join-slack)\n\nFlower (`flwr`) is a framework for building federated learning systems. The\ndesign of Flower is based on a few guiding principles:\n\n* **Customizable**: Federated learning systems vary wildly from one use case to\n another. Flower allows for a wide range of different configurations depending\n on the needs of each individual use case.\n\n* **Extendable**: Flower originated from a research project at the University of\n Oxford, so it was built with AI research in mind. Many components can be\n extended and overridden to build new state-of-the-art systems.\n\n* **Framework-agnostic**: Different machine learning frameworks have different\n strengths. Flower can be used with any machine learning framework, for\n example, [PyTorch](https://pytorch.org),\n [TensorFlow](https://tensorflow.org), [Hugging Face Transformers](https://huggingface.co/), [PyTorch Lightning](https://pytorchlightning.ai/), [MXNet](https://mxnet.apache.org/), [scikit-learn](https://scikit-learn.org/), [JAX](https://jax.readthedocs.io/), [TFLite](https://tensorflow.org/lite/), [fastai](https://www.fast.ai/), [Pandas](https://pandas.pydata.org/\n) for federated analytics, or even raw [NumPy](https://numpy.org/)\n for users who enjoy computing gradients by hand.\n\n* **Understandable**: Flower is written with maintainability in mind. The\n community is encouraged to both read and contribute to the codebase.\n\nMeet the Flower community on [flower.dev](https://flower.dev)!\n\n## Federated Learning Tutorial\n\nFlower\'s goal is to make federated learning accessible to everyone. This series of tutorials introduces the fundamentals of federated learning and how to implement them in Flower.\n\n0. **What is Federated Learning?**\n\n [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial/Flower-0-What-is-FL.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial/Flower-0-What-is-FL.ipynb))\n\n1. **An Introduction to Federated Learning**\n\n [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial/Flower-1-Intro-to-FL-PyTorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial/Flower-1-Intro-to-FL-PyTorch.ipynb))\n\n2. **Using Strategies in Federated Learning**\n\n [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial/Flower-2-Strategies-in-FL-PyTorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial/Flower-2-Strategies-in-FL-PyTorch.ipynb))\n \n3. **Building Strategies for Federated Learning**\n\n [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial/Flower-3-Building-a-Strategy-PyTorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial/Flower-3-Building-a-Strategy-PyTorch.ipynb))\n \n4. **Custom Clients for Federated Learning**\n\n [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/adap/flower/blob/main/doc/source/tutorial/Flower-4-Client-and-NumPyClient-PyTorch.ipynb) (or open the [Jupyter Notebook](https://github.com/adap/flower/blob/main/doc/source/tutorial/Flower-4-Client-and-NumPyClient-PyTorch.ipynb))\n\nStay tuned, more tutorials are coming soon. Topics include **Privacy and Security in Federated Learning**, and **Scaling Federated Learning**.\n\n## Documentation\n\n[Flower Docs](https://flower.dev/docs):\n* [Installation](https://flower.dev/docs/installation.html)\n* [Quickstart (TensorFlow)](https://flower.dev/docs/quickstart-tensorflow.html)\n* [Quickstart (PyTorch)](https://flower.dev/docs/quickstart-pytorch.html)\n* [Quickstart (Hugging Face [code example])](https://flower.dev/docs/quickstart-huggingface.html)\n* [Quickstart (PyTorch Lightning [code example])](https://flower.dev/docs/quickstart-pytorch-lightning.html)\n* [Quickstart (MXNet)](https://flower.dev/docs/example-mxnet-walk-through.html)\n* [Quickstart (Pandas)](https://flower.dev/docs/quickstart-pandas.html)\n* [Quickstart (fastai)](https://flower.dev/docs/quickstart-fastai.html)\n* [Quickstart (JAX)](https://github.com/adap/flower/tree/main/examples/quickstart_jax)\n* [Quickstart (scikit-learn)](https://github.com/adap/flower/tree/main/examples/sklearn-logreg-mnist)\n* [Quickstart (TFLite on Android [code example])](https://github.com/adap/flower/tree/main/examples/android)\n\n## Flower Baselines\n\nFlower Baselines is a collection of community-contributed experiments that reproduce the experiments performed in popular federated learning publications. Researchers can build on Flower Baselines to quickly evaluate new ideas:\n\n* [FedAvg](https://arxiv.org/abs/1602.05629):\n * [MNIST](https://github.com/adap/flower/tree/main/baselines/flwr_baselines/publications/fedavg_mnist)\n* [FedProx](https://arxiv.org/abs/1812.06127):\n * [MNIST](https://github.com/adap/flower/tree/main/baselines/flwr_baselines/publications/fedprox_mnist)\n* [FedBN: Federated Learning on non-IID Features via Local Batch Normalization](https://arxiv.org/abs/2102.07623):\n * [Convergence Rate](https://github.com/adap/flower/tree/main/baselines/flwr_baselines/publications/fedbn/convergence_rate)\n* [Adaptive Federated Optimization](https://arxiv.org/abs/2003.00295):\n * [CIFAR-10/100](https://github.com/adap/flower/tree/main/baselines/flwr_baselines/publications/adaptive_federated_optimization)\n\nCheck the Flower documentation to learn more: [Using Baselines](https://flower.dev/docs/using-baselines.html)\n\nThe Flower community loves contributions! Make your work more visible and enable others to build on it by contributing it as a baseline: [Contributing Baselines](https://flower.dev/docs/contributing-baselines.html)\n\n## Flower Usage Examples\n\nSeveral code examples show different usage scenarios of Flower (in combination with popular machine learning frameworks such as PyTorch or TensorFlow).\n\nQuickstart examples:\n\n* [Quickstart (TensorFlow)](https://github.com/adap/flower/tree/main/examples/quickstart_tensorflow)\n* [Quickstart (PyTorch)](https://github.com/adap/flower/tree/main/examples/quickstart_pytorch)\n* [Quickstart (Hugging Face)](https://github.com/adap/flower/tree/main/examples/quickstart_huggingface)\n* [Quickstart (PyTorch Lightning)](https://github.com/adap/flower/tree/main/examples/quickstart_pytorch_lightning)\n* [Quickstart (fastai)](https://github.com/adap/flower/tree/main/examples/quickstart_fastai)\n* [Quickstart (Pandas)](https://github.com/adap/flower/tree/main/examples/quickstart_pandas)\n* [Quickstart (MXNet)](https://github.com/adap/flower/tree/main/examples/quickstart_mxnet)\n* [Quickstart (JAX)](https://github.com/adap/flower/tree/main/examples/quickstart_jax)\n* [Quickstart (scikit-learn)](https://github.com/adap/flower/tree/main/examples/sklearn-logreg-mnist)\n* [Quickstart (TFLite on Android)](https://github.com/adap/flower/tree/main/examples/android)\n\nOther [examples](https://github.com/adap/flower/tree/main/examples):\n\n* [Raspberry Pi & Nvidia Jetson Tutorial](https://github.com/adap/flower/tree/main/examples/embedded_devices)\n* [Android & TFLite](https://github.com/adap/flower/tree/main/examples/android)\n* [PyTorch: From Centralized to Federated](https://github.com/adap/flower/tree/main/examples/pytorch_from_centralized_to_federated)\n* [MXNet: From Centralized to Federated](https://github.com/adap/flower/tree/main/examples/mxnet_from_centralized_to_federated)\n* [Advanced Flower with TensorFlow/Keras](https://github.com/adap/flower/tree/main/examples/advanced_tensorflow)\n* [Advanced Flower with PyTorch](https://github.com/adap/flower/tree/main/examples/advanced_pytorch)\n* Single-Machine Simulation of Federated Learning Systems ([PyTorch](https://github.com/adap/flower/tree/main/examples/simulation_pytorch)) ([Tensorflow](https://github.com/adap/flower/tree/main/examples/simulation_tensorflow))\n\n## Community\n\nFlower is built by a wonderful community of researchers and engineers. [Join Slack](https://flower.dev/join-slack) to meet them, [contributions](#contributing-to-flower) are welcome.\n\n<a href="https://github.com/adap/flower/graphs/contributors">\n <img src="https://contrib.rocks/image?repo=adap/flower" />\n</a>\n\n## Citation\n\nIf you publish work that uses Flower, please cite Flower as follows: \n\n```bibtex\n@article{beutel2020flower,\n title={Flower: A Friendly Federated Learning Research Framework},\n author={Beutel, Daniel J and Topal, Taner and Mathur, Akhil and Qiu, Xinchi and Fernandez-Marques, Javier and Gao, Yan and Sani, Lorenzo and Kwing, Hei Li and Parcollet, Titouan and Gusmão, Pedro PB de and Lane, Nicholas D}, \n journal={arXiv preprint arXiv:2007.14390},\n year={2020}\n}\n```\n\nPlease also consider adding your publication to the list of Flower-based publications in the docs, just open a Pull Request.\n\n## Contributing to Flower\n\nWe welcome contributions. Please see [CONTRIBUTING.md](CONTRIBUTING.md) to get started!\n',
|
55
55
|
'author': 'The Flower Authors',
|
@@ -590,7 +590,12 @@ def _validate_ssl_files(
|
|
590
590
|
def _parse_args_driver() -> argparse.ArgumentParser:
|
591
591
|
"""Parse command line arguments for Driver API."""
|
592
592
|
parser = argparse.ArgumentParser(
|
593
|
-
description="Start Flower
|
593
|
+
description="Start a Flower Driver API server. "
|
594
|
+
"This server will be responsible for "
|
595
|
+
"receiving TaskIns from the Driver script and "
|
596
|
+
"sending them to the Fleet API. Once the client nodes "
|
597
|
+
"are done, they will send the TaskRes back to this Driver API server (through"
|
598
|
+
" the Fleet API) which will then send them back to the Driver script.",
|
594
599
|
)
|
595
600
|
|
596
601
|
_add_args_common(parser=parser)
|
@@ -602,7 +607,12 @@ def _parse_args_driver() -> argparse.ArgumentParser:
|
|
602
607
|
def _parse_args_fleet() -> argparse.ArgumentParser:
|
603
608
|
"""Parse command line arguments for Fleet API."""
|
604
609
|
parser = argparse.ArgumentParser(
|
605
|
-
description="Start Flower
|
610
|
+
description="Start a Flower Fleet API server."
|
611
|
+
"This server will be responsible for "
|
612
|
+
"sending TaskIns (received from the Driver API) to the client nodes "
|
613
|
+
"and of receiving TaskRes sent back from those same client nodes once "
|
614
|
+
"they are done. Then, this Fleet API server can send those "
|
615
|
+
"TaskRes back to the Driver API.",
|
606
616
|
)
|
607
617
|
|
608
618
|
_add_args_common(parser=parser)
|
@@ -614,7 +624,9 @@ def _parse_args_fleet() -> argparse.ArgumentParser:
|
|
614
624
|
def _parse_args_server() -> argparse.ArgumentParser:
|
615
625
|
"""Parse command line arguments for both Driver API and Fleet API."""
|
616
626
|
parser = argparse.ArgumentParser(
|
617
|
-
description="
|
627
|
+
description="This will start a Flower server "
|
628
|
+
"(meaning, a Driver API and a Fleet API), "
|
629
|
+
"that clients will be able to connect to.",
|
618
630
|
)
|
619
631
|
|
620
632
|
_add_args_common(parser=parser)
|
@@ -627,7 +639,11 @@ def _parse_args_server() -> argparse.ArgumentParser:
|
|
627
639
|
def _add_args_common(parser: argparse.ArgumentParser) -> None:
|
628
640
|
parser.add_argument(
|
629
641
|
"--database",
|
630
|
-
help=
|
642
|
+
help="A string representing the path to the database "
|
643
|
+
"file that will be opened. Note that passing ':memory:' "
|
644
|
+
"will open a connection to a database that is in RAM, "
|
645
|
+
"instead of on disk. If nothing is provided, "
|
646
|
+
"Flower will just create a state in memory.",
|
631
647
|
default=DATABASE,
|
632
648
|
)
|
633
649
|
|
@@ -635,7 +651,8 @@ def _add_args_common(parser: argparse.ArgumentParser) -> None:
|
|
635
651
|
def _add_args_driver_api(parser: argparse.ArgumentParser) -> None:
|
636
652
|
parser.add_argument(
|
637
653
|
"--driver-api-address",
|
638
|
-
help=
|
654
|
+
help="The Driver API gRPC server address, which can be an IPv4, "
|
655
|
+
"IPv6, or a domain name.",
|
639
656
|
default=ADDRESS_DRIVER_API,
|
640
657
|
)
|
641
658
|
|
@@ -649,7 +666,8 @@ def _add_args_fleet_api(parser: argparse.ArgumentParser) -> None:
|
|
649
666
|
dest="fleet_api_type",
|
650
667
|
const="grpc",
|
651
668
|
default="grpc",
|
652
|
-
help="Start a gRPC-based Fleet API server"
|
669
|
+
help="Start a gRPC-based Fleet API server "
|
670
|
+
"(which is the default if no argument is provided).",
|
653
671
|
)
|
654
672
|
ex_group.add_argument(
|
655
673
|
"--rest",
|
@@ -663,7 +681,8 @@ def _add_args_fleet_api(parser: argparse.ArgumentParser) -> None:
|
|
663
681
|
grpc_group = parser.add_argument_group("Fleet API gRPC server options", "")
|
664
682
|
grpc_group.add_argument(
|
665
683
|
"--grpc-fleet-api-address",
|
666
|
-
help=
|
684
|
+
help="The Fleet API gRPC server address, which can be an IPv4, "
|
685
|
+
"IPv6, or a domain name.",
|
667
686
|
default=ADDRESS_FLEET_API_GRPC_RERE,
|
668
687
|
)
|
669
688
|
|
@@ -671,22 +690,25 @@ def _add_args_fleet_api(parser: argparse.ArgumentParser) -> None:
|
|
671
690
|
rest_group = parser.add_argument_group("Fleet API REST server options", "")
|
672
691
|
rest_group.add_argument(
|
673
692
|
"--rest-fleet-api-address",
|
674
|
-
help=
|
693
|
+
help="The Fleet API REST server address, which can be an IPv4, "
|
694
|
+
"IPv6, or a domain name.",
|
675
695
|
default=ADDRESS_FLEET_API_REST,
|
676
696
|
)
|
677
697
|
rest_group.add_argument(
|
678
698
|
"--ssl-certfile",
|
679
|
-
help="Fleet API REST SSL certificate file (as a path str)
|
699
|
+
help="Fleet API REST server SSL certificate file (as a path str), "
|
700
|
+
"needed for using 'https'.",
|
680
701
|
default=None,
|
681
702
|
)
|
682
703
|
rest_group.add_argument(
|
683
704
|
"--ssl-keyfile",
|
684
|
-
help="Fleet API REST SSL private key file (as a path str)
|
705
|
+
help="Fleet API REST server SSL private key file (as a path str), "
|
706
|
+
"needed for using 'https'.",
|
685
707
|
default=None,
|
686
708
|
)
|
687
709
|
rest_group.add_argument(
|
688
710
|
"--rest-fleet-api-workers",
|
689
|
-
help=
|
711
|
+
help="Set the number of concurrent workers for the Fleet API REST server.",
|
690
712
|
type=int,
|
691
713
|
default=1,
|
692
714
|
)
|
File without changes
|
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/__init__.py
RENAMED
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/client.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/client/numpy_client.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/__init__.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/address.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/constant.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/date.py
RENAMED
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/grpc.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/logger.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/parameter.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/serde.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/telemetry.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/typing.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/common/version.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/driver/__init__.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/driver/driver.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/__init__.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/driver_pb2.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/driver_pb2.pyi
RENAMED
File without changes
|
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/fleet_pb2.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/fleet_pb2.pyi
RENAMED
File without changes
|
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/node_pb2.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/node_pb2.pyi
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/node_pb2_grpc.py
RENAMED
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/task_pb2.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/task_pb2.pyi
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/task_pb2_grpc.py
RENAMED
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/proto/transport_pb2.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/__init__.py
RENAMED
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/client_proxy.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/criterion.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/history.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/server.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/server/state/state.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/simulation/__init__.py
RENAMED
File without changes
|
{flwr_nightly-1.5.0.dev20230426 → flwr_nightly-1.5.0.dev20230427}/src/py/flwr/simulation/app.py
RENAMED
File without changes
|
File without changes
|