Overview
TensorFlow 2.20, released on August 19, 2025, deprecates tf.lite in favor of LiteRT, the new runtime for mobile deployment.
Main Features
tf.lite deprecated, moved to LiteRT
The tf.lite module is officially deprecated. LiteRT (formerly TensorFlow Lite) becomes a standalone project with its own API and packages.
python
# Old (deprecated)
# import tensorflow as tf
# converter = tf.lite.TFLiteConverter.from_saved_model('model/')
# New: use LiteRT
# pip install litert
import litert
converter = litert.Converter.from_saved_model('model/')
tflite_model = converter.convert()
