Tensorflow-federated

Latest version: v0.78.0

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

Scan your dependencies

Page 9 of 14

0.30.0

Major Features and Improvements

* Add tests for `namedtuple`s in the `tff.program` package.
* Add `num_subrounds` parameter to the mergeable context, allowing callers to
optionally sequentialize subrounds.
* Add metrics support to `tff.learning.models.FunctionalModel`, including
updates to the helper function `create_functional_metric_fns` and the
downstream caller `tff.learning.algorithms.build_weighted_fed_avg`.

Bug Fixes

* Fix typo in the types constructed for testing the `tff.program` package.
* Fix some program example typos.
* Fix tests that don't seem to be running under the CI.
* Fix naming bug for Python mergeable execution.
* Ensure exceptions raised from remote executor stub implement gRPC error
interface.
* Update `tff.structure.Struct` integration with JAX pytrees to not flatten
the entire structure.
* Use Python 3.7 compatible type annotations until Colab updates to Python
3.9.

0.29.0

Major Features and Improvements

* Update the `MemoryReleaseManager` to save `type_signature` when releasing
values.
* Add a `type_signature` parameter to the `ReleaseManager.release` method.
* Unify retryability logic between TFF-C++ and TFF-Python.
* Update the TFF contributions and collaboration links to point to the Discord
server.

Breaking Changes

* Move Python executor stacks file to `python_executor_stacks.py` in
`executor_stacks` directory.

Bug Fixes

* Ensure that dataset deserialization will return ragged and sparse tensors,
as needed according to the TFF type of the dataset.
* Make `metric_finalizers` use metric constructors if available.

0.28.0

Major Features and Improvements

* Updated tutorials to use `tff.learning.algorithms` API.
* Asynchronous TFF execution contexts no longer assume a single global
cardinality; they concurrently invoke any computation for which concurrency
is requested.

Breaking Changes

* Removed `tff.learning.build_federated_averaging_process`; users should
migrate to `tff.learning.algorithms.build_weighted_fed_avg`.

Bug Fixes

* Clarified semantics for TFF-C++ multimachine `Dispose`, `DisposeExecutor`,
and executor keying, to avoid raising exceptions and spamming logs in the
course of normal operation.
* Fixed unsigned integer overflow for TFF-C++
`max_concurrent_computation_calls`.
* Normalizes on call-dominant form before attempting to compile to
`MergeableCompForm`, removing spurious failures on dependent-aggregation
checking.

Known Bugs

* Serialization / deserialization of tf.data.Datasets yielding non-dense
tensors for multimachine runtime may encounter issues:
* `tff.framework.deserialize_value` may fail to deserialize
tf.data.Datasets yielding RaggedTensors or SparseTensors.
* `tff.framework.serialize_value` may fail to serialize tf.data.Datasets
yielding SparseTensors.

0.27.0

Major Features and Improvements

* New Colab notebook illustrating how to use `DataBackend` to load remote
datasets.
* Added a CreateDataDescriptor helper function.
* Added a worker binary serving the TFF-C++ executor service.

Bug Fixes

* Fixed bug with intermediate aggregation and controller failures, causing
hangs.

0.26.0

Major Features and Improvements

* Updated TensorFlow to `2.9.1`.
* Update pybind11 to `2.9.2`.
* Re-enable cpp_fast_protos.
* Introduces container class to run coroutines in a dedicated thread, allowing
TFF’s synchronous execution interfaces to be used in conjunction with other
asyncio code.
* Use latest TFF version in Colab notebook links.
* Rename the helper functions that create test `MeasuredProcess`es.
* Add a compiler transform checking Tensorflow computations against list of
allowed ops.
* Explicitly specify return types in the `program` package.
* Adds convenience function for setting a local async CPP execution context.
* Move jax components into a non-experimental namespace.

Breaking Changes

* Switch compilation flag `_GLIBCXX_USE_CXX11_ABI` to `1`.

0.25.0

Major Features and Improvements

* Adds error message logging to TFF C++ execution context.
* Adds test coverage for C++ runtime with aggregators.
* Redefines 'workers going down with fixed clients per round' test.
* Add complete examples of using `DataBackend` with TFF comps.
* Updated the MapReduceForm documentation to include the two additional secure
sum intrinsics.
* tff.learning
* Relax the type check on LearningProcess from strictly SequenceType to
also allow structures of SequenceType.

Breaking Changes

* Remove usage of `tff.test.TestCase`, `tff.test.main()`, and delete
`test_case` module.
* Update test utility docstrings to use consistent vocabulary.
* Update to TensorFlow 2.9.0
* Rename up `compiler/test_utils` to `compiler/building_block_test_utils`.
* Remove some unnecessary usage of `pytype: skip-file`.
* Specify the `None` return type of `ReleaseManager.release`.
* Remove usage of deprecated numpy types.
* Replace depreciated `random_integers` with `randint`.

Bug Fixes

* Fix numpy warning.

Page 9 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.