Commit 2849e472 authored by Weikang Song's avatar Weikang Song Committed by tensorflow-copybara
Browse files

Increment the TFF version and add release documentation.

PiperOrigin-RevId: 321639468
parent 3f644a0e
......@@ -93,6 +93,7 @@ versa.
TensorFlow Federated | TensorFlow
--------------------------------------------------------------------- | ----------
[0.15.0](https://github.com/tensorflow/federated/tree/v0.15.0) | [tensorflow 2.2.0](https://pypi.org/project/tensorflow/2.2.0/)
[0.14.0](https://github.com/tensorflow/federated/tree/v0.14.0) | [tensorflow 2.2.0](https://pypi.org/project/tensorflow/2.2.0/)
[0.13.1](https://github.com/tensorflow/federated/tree/v0.13.1) | [tensorflow 2.1.0](https://pypi.org/project/tensorflow/2.1.0/)
[0.13.0](https://github.com/tensorflow/federated/tree/v0.13.0) | [tensorflow 2.1.0](https://pypi.org/project/tensorflow/2.1.0/)
......
# Release 0.15.0
## Major Features and Improvements
* Updated `tensorflow-addons` package dependency to `0.9.0`.
* Added API to expose the native backend more conveniently. See
`tff.backends.native.*` for more information.
* Added a compiler argument to the `tff.framework.ExecutionContext` API and
provided a compiler for the native execution environment, which improves
TFF’s default concurrency pattern.
* Introduced a new `tff.templates.MeasuredProcess` concept, a specialization
of `tff.templates.IterativeProcess`.
* Extends `tff.learning` interfaces to accept `tff.templates.MeasuredProcess`
objects for aggregation and broadcast computations.
* Introduce new convenience method `tff.learning.weights_type_from_model`.
* Introduced the concept of a `tff.framework.FederatingStrategy`, which
parameterizes the `tff.framework.FederatingExecutor` so that the
implementation of a specific intrinsic is easier to provide.
* Reduced duplication in TFF’s generated ASTs.
* Enabled usage of GPUs on remote workers.
* Documentation improvements.
## Breaking Changes
* The `IterativeProcess` return from
`tff.learning.build_federated_averaging_process` and
`tff.learning.build_federated_sgd_process` now zip the second tuple output
(the metrics) to change the result from a structure of federated values to
to a federated structure of values.
* Removed `tff.framework.set_default_executor` function, instead you should
use the more convenient `tff.backends.native.set_local_execution_context`
function or manually construct a context an set it using
`tff.framework.set_default_context`.
* The `tff.Computation` base class now contains an abstract `__hash__` method,
to ensure compilation results can be cached. Any custom implementations of
this interface should be updated accordingly.
## Bug Fixes
* Fixed issue for missing variable initialization for variables explicitly not
added to any collections.
* Fixed issue where table initializers were not run if the
`tff.tf_computation` decorated function used no variables.
## Thanks to our Contributors
This release contains contributions from many people at Google, as well as:
jvmcns@
# Release 0.14.0
## Major Features and Improvements
......
......@@ -27,14 +27,14 @@
<table class="tfo-notebook-buttons" align="left">
<td>
<a target="_blank" href="https://www.tensorflow.org/federated/tutorials/custom_federated_algorithms_1"><img src="https://www.tensorflow.org/images/tf_logo_32px.png" />View on TensorFlow.org</a>
</td>
<td>
<a target="_blank" href="https://colab.research.google.com/github/tensorflow/federated/blob/v0.14.0/docs/tutorials/custom_federated_algorithms_1.ipynb"><img src="https://www.tensorflow.org/images/colab_logo_32px.png" />Run in Google Colab</a>
<a target="_blank" href="https://colab.research.google.com/github/tensorflow/federated/blob/v0.15.0/docs/tutorials/custom_federated_algorithms_1.ipynb"><img src="https://www.tensorflow.org/images/colab_logo_32px.png" />Run in Google Colab</a>
</td>
<td>
<a target="_blank" href="https://github.com/tensorflow/federated/blob/v0.14.0/docs/tutorials/custom_federated_algorithms_1.ipynb"><img src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" />View source on GitHub</a>
<a target="_blank" href="https://github.com/tensorflow/federated/blob/v0.15.0/docs/tutorials/custom_federated_algorithms_1.ipynb"><img src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" />View source on GitHub</a>
</td>
</table>
%% Cell type:markdown id: tags:
......
......@@ -27,14 +27,14 @@
<table class="tfo-notebook-buttons" align="left">
<td>
<a target="_blank" href="https://www.tensorflow.org/federated/tutorials/custom_federated_algorithms_2"><img src="https://www.tensorflow.org/images/tf_logo_32px.png" />View on TensorFlow.org</a>
</td>
<td>
<a target="_blank" href="https://colab.research.google.com/github/tensorflow/federated/blob/v0.14.0/docs/tutorials/custom_federated_algorithms_2.ipynb"><img src="https://www.tensorflow.org/images/colab_logo_32px.png" />Run in Google Colab</a>
<a target="_blank" href="https://colab.research.google.com/github/tensorflow/federated/blob/v0.15.0/docs/tutorials/custom_federated_algorithms_2.ipynb"><img src="https://www.tensorflow.org/images/colab_logo_32px.png" />Run in Google Colab</a>
</td>
<td>
<a target="_blank" href="https://github.com/tensorflow/federated/blob/v0.14.0/docs/tutorials/custom_federated_algorithms_2.ipynb"><img src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" />View source on GitHub</a>
<a target="_blank" href="https://github.com/tensorflow/federated/blob/v0.15.0/docs/tutorials/custom_federated_algorithms_2.ipynb"><img src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" />View source on GitHub</a>
</td>
</table>
%% Cell type:markdown id: tags:
......
......@@ -27,14 +27,14 @@
<table class="tfo-notebook-buttons" align="left">
<td>
<a target="_blank" href="https://www.tensorflow.org/federated/tutorials/federated_learning_for_image_classification"><img src="https://www.tensorflow.org/images/tf_logo_32px.png" />View on TensorFlow.org</a>
</td>
<td>
<a target="_blank" href="https://colab.research.google.com/github/tensorflow/federated/blob/v0.14.0/docs/tutorials/federated_learning_for_image_classification.ipynb"><img src="https://www.tensorflow.org/images/colab_logo_32px.png" />Run in Google Colab</a>
<a target="_blank" href="https://colab.research.google.com/github/tensorflow/federated/blob/v0.15.0/docs/tutorials/federated_learning_for_image_classification.ipynb"><img src="https://www.tensorflow.org/images/colab_logo_32px.png" />Run in Google Colab</a>
</td>
<td>
<a target="_blank" href="https://github.com/tensorflow/federated/blob/v0.14.0/docs/tutorials/federated_learning_for_image_classification.ipynb"><img src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" />View source on GitHub</a>
<a target="_blank" href="https://github.com/tensorflow/federated/blob/v0.15.0/docs/tutorials/federated_learning_for_image_classification.ipynb"><img src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" />View source on GitHub</a>
</td>
</table>
%% Cell type:markdown id: tags:
......
......@@ -27,14 +27,14 @@
<table class="tfo-notebook-buttons" align="left">
<td>
<a target="_blank" href="https://www.tensorflow.org/federated/tutorials/federated_learning_for_text_generation"><img src="https://www.tensorflow.org/images/tf_logo_32px.png" />View on TensorFlow.org</a>
</td>
<td>
<a target="_blank" href="https://colab.research.google.com/github/tensorflow/federated/blob/v0.14.0/docs/tutorials/federated_learning_for_text_generation.ipynb"><img src="https://www.tensorflow.org/images/colab_logo_32px.png" />Run in Google Colab</a>
<a target="_blank" href="https://colab.research.google.com/github/tensorflow/federated/blob/v0.15.0/docs/tutorials/federated_learning_for_text_generation.ipynb"><img src="https://www.tensorflow.org/images/colab_logo_32px.png" />Run in Google Colab</a>
</td>
<td>
<a target="_blank" href="https://github.com/tensorflow/federated/blob/v0.14.0/docs/tutorials/federated_learning_for_text_generation.ipynb"><img src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" />View source on GitHub</a>
<a target="_blank" href="https://github.com/tensorflow/federated/blob/v0.15.0/docs/tutorials/federated_learning_for_text_generation.ipynb"><img src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" />View source on GitHub</a>
</td>
</table>
%% Cell type:markdown id: tags:
......
......@@ -13,4 +13,4 @@
# limitations under the License.
"""TensorFlow Federated version."""
__version__ = '0.14.0'
__version__ = '0.15.0'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment