FLoX
FLoX (Federated Learning on funcX) is a Python library for serverless Federated Learning experiments.
This is initial documentation that will be soon expanded.
Installation
Use the package manager pip to install flox.
# seems like flox is taken, will update the name soon
pip install flox
Usage
For a full example, see this Google Colab tutorial.
from flox.flox import federated_learning
# performs 5 rounds of Federated Learning train global_model on given endpoint_ids
# uses 10 epochs and 100 samples from fashion_mnist dataset for training
federated_learning(global_model=global_model,
endpoint_ids=endpoint_ids,
loops=5,
epochs=10,
keras_dataset="fashion_mnist",
num_samples=100,
input_shape=(32, 28, 28, 1))
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Metadata
Release files for pyflox 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyflox-0.1.5.tar.gz | 7.0 kB | Without provenance | Details for pyflox-0.1.5.tar.gz |
Release files / pyflox-0.1.5.tar.gz
| Download URL | pyflox-0.1.5.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7865a4f733298b1f5741986c032805985e61a514cc88827252000df0defbee0b
|
|
BLAKE2b-256 checksum How to use checksums |
cf2710c48b4d3ed8ac7be09ed7872bf218e5ddc6bda932e109e7fa4bf6c022d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.10
|
Security for pyflox 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.