Change8

v2.20.0

Breaking Changes
📦 tensorflowView on GitHub →
1 breaking1 features1 deprecations🔧 3 symbols

Summary

TensorFlow 2.20.0 makes `tensorflow-io-gcs-filesystem` optional, adds `autotune.min_parallelism` to `tf.data.Options`, and deprecates `tf.lite` in favor of LiteRT.

⚠️ Breaking Changes

  • The `tensorflow-io-gcs-filesystem` package is now optional; projects that relied on it must install it explicitly via `pip install "tensorflow[gcs-filesystem]"`.

Migration Steps

  1. If your code uses GCS filesystem support, install the optional package with `pip install "tensorflow[gcs-filesystem]"`.
  2. Replace usage of `tf.lite` with the LiteRT library from https://github.com/google-ai-edge/LiteRT.

✨ New Features

  • Added `autotune.min_parallelism` to `tf.data.Options` to enable faster input pipeline warm-up.

🔧 Affected Symbols

tf.data.Options.autotune.min_parallelismtf.litetensorflow-io-gcs-filesystem

⚡ Deprecations

  • The `tf.lite` module is deprecated in favor of the new LiteRT repository (https://github.com/google-ai-edge/LiteRT).