We are excited to announce the release of OpenFL 1.7! This release brings the following changes.
New Features
-
FederatedRuntime for Workflow API: enables a seamless transition from a local simulation (via LocalRuntime) to a distributed Federated Learning deployment - all orchestrated from a familiar Jupyter notebook environment. Check out the FederatedRuntime 101 Tutorial to try it yourself. The initial version of the FederatedRuntime included in this release is an experimental feature that should be used only in an internal environment. We further recommend that users operate only on artificial or public data that is not considered intellectual property. The experimental tag and restrictions will be removed in future releases of OpenFL.
-
Federated XGBoost: Adding support for XGBoost training in OpenFL via TaskRunner API, illustrated with the Higgs dataset.
-
Callbacks: An abstraction for running user-defined actions in TaskRunner API or Workflow API. Callbacks can be used to perform custom actions at different stages of the Federated Learning process.
Enhanced Developer Experience
-
Streamlining OpenFL APIs: With this release, the OpenFL Team will concentrate on the TaskRunner API and Workflow API. Consequently, the Python Native API and Interactive API have been deprecated and are scheduled for removal in future iterations.
-
Docker packaging improvements: Revised Task Runner API workspace dockerization process, with TEE-ready containers (using Gramine and Intel® Software Guard Extensions). Follow the updated instructions to enhance the privacy and security of your FL experiments.
-
Federated Evaluation via TaskRunner API: OpenFL 1.7 further simplifies the creation of Federated Evaluation experiments via the TaskRunner API (see the example FedEval workspace).
-
Keras 3 support: Upgrading the base TaskRunner classes and example workspaces to Keras 3 for building state-of-the-art FL experiments with TensorFlow (more backends to be included in the upcoming OpenFL releases).
-
Updated Tutorials: This includes fixes to existing tutorial and example code, and migrating a selection of key OpenFL tutorials from deprecated APIs to Workflow API. Check out the updated Tutorials folder.
-
Updated Official Documentation: The OpenFL documentation website has been comprehensively reviewed and reorganized to improve navigation and provide clearer content.
Breaking Changes
- Removing support for Python 3.8 and 3.9: We are moving to a new policy of 42 month support for historical Python versions - which currently includes Python 3.10-3.12. This policy is in line with Numpy and other popular open source Python packages.
New Contributors
Thank you and welcome to our 5 first time contributors in OpenFL 1.7:
@jkk-intel, @gbikkiintel, @vrancurel, @ynonflumintel, @yontyon
Full Changelog: v1.6...v1.7