Commit 2f23137b authored by Zachary Garrett's avatar Zachary Garrett Committed by tensorflow-copybara
Browse files

Increment the TFF version to 0.12.0 and add release documentation.

PiperOrigin-RevId: 294730699
parent b57dc37c
......@@ -87,8 +87,9 @@ and TensorFlow Python packages.
TensorFlow Federated | TensorFlow
-------------------------------------------------------------- | ----------
[0.11.0](https://github.com/tensorflow/federated/tree/v0.10.0) | [tensorflow 2.0.0](https://pypi.org/project/tensorflow/2.0.0/)
[0.10.1](https://github.com/tensorflow/federated/tree/v0.10.0) | [tensorflow 2.0.0](https://pypi.org/project/tensorflow/2.0.0/)
[0.12.0](https://github.com/tensorflow/federated/tree/v0.12.0) | [tensorflow 2.0.0](https://pypi.org/project/tensorflow/2.1.0/)
[0.11.0](https://github.com/tensorflow/federated/tree/v0.11.0) | [tensorflow 2.0.0](https://pypi.org/project/tensorflow/2.0.0/)
[0.10.1](https://github.com/tensorflow/federated/tree/v0.10.1) | [tensorflow 2.0.0](https://pypi.org/project/tensorflow/2.0.0/)
[0.10.0](https://github.com/tensorflow/federated/tree/v0.10.0) | [tensorflow 2.0.0](https://pypi.org/project/tensorflow/2.0.0/)
[0.9.0](https://github.com/tensorflow/federated/tree/v0.9.0) | [tf-nightly 2.1.0.dev20191005](https://pypi.org/project/tf-nightly/2.1.0.dev20191005/)
[0.8.0](https://github.com/tensorflow/federated/tree/v0.8.0) | [tf-nightly 1.15.0.dev20190805](https://pypi.org/project/tf-nightly/1.15.0.dev20190805/)
......
# Release 0.12.0
## Major Features and Improvements
* Upgraded tensorflow dependency from `2.0.0` to `2.1.0`.
* Upgraded tensorflow-addons dependency from `0.6.0` to `0.7.0`.
* Upgraded attr dependency from `18.2` to `19.3`.
* Upgraded tfmot dependency from `0.1.3` to `0.2.1`.
* Added a federated partition of the CIFAR-100 dataset to
`tff.simulation.datasets.cifar100`.
* Made the high performance, parallel executor the default (replacing the
reference executor).
* Added a new `tff.learning.build_personalization_eval` for evaluating model
personalization strategies.
* Added new federated intrinsic `tff.federated_secure_sum`.
* `tff.learning.build_federated_averaing_process()` now takes a
`client_optimizer_fn` and a `tff.learning.Model`.
`tff.learning.TrainableModel` is now deprecated.
* Improved performance in the high performance executor stack.
* Implemented and exposed `tff.framework.ExecutorFactory`; all
`tff.framework...executor_factory` calls now return an instance of this
class.
* Added `remote_executor_example` binary which demonstrates using the
RemoteExecutor across multi-machine deployments.
* Added `close()` method to the Executor, allowing subclasses to proactively
release resources.
* Updated documentation and scripts for creating Docker images of the TFF
runtime.
* Automatically call `tff.federated_zip` on inputs to other federated
intrinsics.
## Breaking Changes
* Dropped support for Python2.
* Renamed `tff.framework.create_local_executor` (and similar methods) to
`tff.framework.local_executor_factory`.
* Deprecated `federated_apply()`, instead use `federated_map()` for all
placements.
## Bug Fixes
* Fixed problem with different instances of the same model having different
named types. `tff.learning.ModelWeights` no longer names the tuple fields
returned for model weights, instead relying on an ordered list.
* `tff.sequence_*` on unplaced types now correctly returns a `tff.Value`.
## Known Bugs
* `tff.sequence_*`.. operations are not implemented yet on the new
high-performance executor stack.
* A subset of previously-allowed lambda captures are no longer supported on
the new execution stack.
# Release 0.11.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.11.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.12.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.11.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.12.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.11.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.12.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.11.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.12.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.11.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.12.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.11.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.12.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.11.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.12.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.11.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.12.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:
......
......@@ -14,4 +14,4 @@
# limitations under the License.
"""TensorFlow Federated version."""
__version__ = '0.11.0'
__version__ = '0.12.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