Change8

v2.20.0-rc0

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

Summary

TensorFlow 2.20.0 makes `tensorflow-io-gcs-filesystem` optional and deprecates `tf.lite` while adding `autotune.min_parallelism` to `tf.data.Options` for faster pipeline warm‑up.

⚠️ Breaking Changes

  • The `tensorflow-io-gcs-filesystem` package is now optional; code that relied on it will fail unless the extra is installed. Fix by installing with `pip install \"tensorflow[gcs-filesystem]\"`.

Migration Steps

  1. If your project depends on `tensorflow-io-gcs-filesystem`, add the optional extra: `pip install \"tensorflow[gcs-filesystem]\"`.
  2. Replace usages 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

tensorflow-io-gcs-filesystemtf.data.Options.autotune.min_parallelismtf.lite

⚡ Deprecations

  • `tf.lite` is deprecated in favor of the new LiteRT repository (https://github.com/google-ai-edge/LiteRT). The duplicated source will be removed from the TF repo.