Tensorflow-federated

Latest version: v0.87.0

Safety actively analyzes 701563 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 15

0.45.0

Major Features and Improvements

* Integrated the `CppToPythonExecutorBridge` into the `CPPExecutorFactory`.
* Changed Python Remote Executor to decompose and stream structures in Compute
and CreateValue when _stream_structs is true. Added a bool parameter
`stream_structs` to
`tff.backends.native.set_localhost_cpp_execution_context()` API.

Breaking Changes

* Renamed `tff.backends.native.set_localhost_cpp_execution_context()` to
`backends.native.set_sync_local_cpp_execution_context()`.
* Renamed `tff.framework.ExecutionContext` to
`tff.framework.SyncExecutionContext` to be consistent with
`tff.framework.AsyncExecutionContext`.
* Removed the `SyncSerializeAndExecuteCPPContext` and
`AsyncSerializeAndExecuteCPPContext` classes.

Bug Fixes

* Fixed usage of `typing.Generic` in the learning package.
* Enabled pytype analysis for some modules.
* Fixed lint and formatting issues for some modules.

0.44.0

Major Features and Improvements

* Improved the Python type annotations for `tff.program` API.
* Extended the metrics interface on FunctionalModel to accept the entire
`BatchOutput` structure from the model `forward_pass` (not just the
predictions).
* Introduced a DTensor Executor.

Bug Fixes

* Fixed async RuntimeWarning in the `tff.program.NativeFederatedContext`.

0.43.0

Major Features and Improvements

* Improve serialization method to allow structures larger than 2 GiB (~500
million model parameters):
* `tff.learning.models.FunctionalModel`
* `tff.programs.FileProgramStateManager`

Bug Fixes

* Fix a bug using `copy.deepcopy` for structures of awaitables (non-pickable)
in `tff.learning.programs`.
* Fix a bug when resuming an evaluation in
`tff.learning.programs.EvaluationManager` where the restarted evaluation
would overwrite released metrics.

0.42.0

Major Features and Improvements

* Reduced memory usage for entropy compression.
* Updated `com_google_protobuf` version to `v3.19.0`.
* Removed dependency on `six`.

Breaking Changes

* Removed default value for the key parameter from the abstract base class
`tff.program.ReleaseManager`.

Bug Fixes

* Fixed a whitespace syntax issue with shutting down a process when using the
localhost C++ execution context.
* Modified `tff.simulation.build_uniform_sampling_fn` so that the output
raises on non-integer inputs.
* Only wait a subprocess instance if it is not None.

0.41.0

Major Features and Improvements

* TFF-C++ runtime now installed by default. Note that this release will have a
significantly larger PIP package size.
* Introduce `tff.learning.programs` for federated program-logic using the
`tff.program` APIs.
* Updated `tensorflow` to version `2.11.0`.
* Updated `tensorflow_compression` to version `2.11.0`.
* Updated `bazel_skylib` to version `1.3.0`.

0.40.0

Major Features and Improvements

* Skip model updates that are non-finite in
`tff.learning.templates.build_apply_optimizer_finalizer`.

Breaking Changes

* Removed deprecated APIs in `tff.learning.framework`
* Update the Python package scripts to use Python 3.10 by default.
* Remove module wildcard imports from **init**.py files in TFF.
* Update the Python package scripts to use Python 3.10 by default.

Bug Fixes

* Remove `functools.wraps` within `tff.tf_computation`.
* Fix typo in iNaturalist dataset docstring.

Page 8 of 15

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.