Tensorflow-federated

Latest version: v0.78.0

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

Scan your dependencies

Page 8 of 14

0.36.0

Major Features and Improvements

* Added support for `tff.learning.models.FunctionalModel` to
`tff.learning.algorithms.build_fed_sgd` and
`tff.learning.algorithms.build_fed_prox`.
* Increased the gRPC message limit from 1 GB to 2 GB.
* Added hyperparameter getters/setters to various components in tff.learning.

Breaking Changes

* Updated `tensorflow` to version `2.10`.

Bug Fixes

* Improved documentation for
`tff.analytics.heavy_hitters.iblt.build_iblt_computation()`.
* Fixed incorrect docstring of `tff.federated_select`.
* Fixed typo in federated program example.

0.35.0

Major Features and Improvements

* Added get/set_hparams methods to `tff.learning.templates.ClientWorkProcess`.
* Added `tff.learning.algorithms.build_mime_lite_with_optimizer_schedule`.
* Updated `tensorflow-privacy` to version `0.8.5`.
* Added `tff.learning.entropy_compression_aggregator`.
* Added `tff.aggregators.EliasGammaEncodedSumFactory`.
* Added `tff.program.ClientIdDataSource` and
`tff.program.ClientIdDataSourceIterator`, for working with a data source of
ids of federated clients.

Breaking Changes

* Removed prototype IREE backend.
* Added new dependency on TensorFlow Compression.

Bug Fixes

* Fixed implementation of the `loading_remote_data` tutorial.
* Corrected the docstring of
`tff.simulation.datasets.stackoverflow.get_synthetic`.

Known Bugs

* TFF's Python 3.9 typing conflicts with Colab's Python 3.7 runtime.

0.34.0

Major Features and Improvements

* Updated to use `Bazel` version `5.3.0`.
* Updated the conventions used to specify the version of a Python dependency,
see https://github.com/tensorflow/federated/blob/main/requirements.txt for
more information.
* Updated the `setup.py` to explicitly fail to `pip install` in Python 3.10.
This has always been failing at runtime, but now explicitly fails to install
using `pip`.
* Refreshed loading_remote_data notebook content and added content for
`FederatedDataSource`.
* Added a TFF `type_signature` attribute to objects of type `MapReduceForm`.
* Added a
[series](https://github.com/tensorflow/federated/blob/main/docs/design/TFF_101_lingua_federata.pdf)
[of](https://github.com/tensorflow/federated/blob/main/docs/design/TFF_102_executors.pdf)
[slides](https://github.com/tensorflow/federated/blob/main/docs/design/TFF_103_transformations.pdf)
to the GitHub repo (so not part of the PIP package) which detail a technical
deep dive into TFF.

Breaking Changes

* Bumped tf-privacy version to `0.8.4`.
* Bumped tf-model-optimization version to `0.8.3`.
* Removed `initialize` from `MapReduceForm`.
* `SequenceType` now automatically casts any `StructWithPythonType` that
contains a `list` to a `tuple` for `tf.data` compatibility.
* Unified the `model_fn` and `model` parameters of
`tff.learning.algorithms.build_weighted_fed_avg`.
* `MapReduceForm` now takes a `type_signature` argument in its constructor,
and no longer takes an `initialize` argument.
* `MapReduceForm` no longer contains an `initialize` attribute.

Bug Fixes

* Relaxed overly strict type equivalence check to assignability in TFF-TF code
generation.

0.33.0

Major Features and Improvements

* Extend `tff.analytics.heavy_hitters.iblt` with `create_chunker` API for
encoding non-Unicode strings.
* Extend `tff.aggregators.DifferentiallyPrivateFactory.tree_aggregation` with
an optional `record_aggregation_factory` argument.

Breaking Changes

* Replaced `ModularClippingSumFactory` with `SecureModularSumFactory` in
`tff.analytics.build_hierarchical_histogram_process`.

Known Bugs

* TFF's python 3.9 typing conflicts with Colab's Python 3.7 support.

0.32.0

Major Features and Improvements

* Add a MimeLite implementation that allows from optimizer learning rate
scheduling in
`tff.learning.algorithms.build_mime_lite_with_optimizer_schedule`.

Breaking Changes

* None

Bug Fixes

* None

Known Bugs

* TFF's python 3.9 typing conflicts with Colab's Python 3.7 support.

0.31.0

Major Features and Improvements

* Added `ReleaseManager`s to make authoring program logic more convenient.
* Updated TFFs `attrs` dependency to version `21.4.0`.
* Update TFFs `tensorflow-privacy` dependency to version `0.8.1`.

Breaking Changes

* Changed `tff.learning.BatchOutput` from an attrs class to a namedtuple.
* Removed unused `tff.learning.framework.parameter_count_from_model` API.

Page 8 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.