Migrating to TensorFlow v2.20.0
Version v2.20.0 introduces 1 breaking change. This guide details how to update your code.
Released: 8/13/2025
1
Breaking Changes
2
Migration Steps
3
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
tf.data.Options.autotune.min_parallelismtf.litetensorflow-io-gcs-filesystemBreaking Changes
●Issue #1
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
- 1If your code uses GCS filesystem support, install the optional package with `pip install "tensorflow[gcs-filesystem]"`.
- 2Replace usage of `tf.lite` with the LiteRT library from https://github.com/google-ai-edge/LiteRT.
Release 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.
Need More Details?
View the full release notes and all changes for TensorFlow v2.20.0.
View Full Changelog