tflite-runtime
TensorFlow Lite is for mobile and embedded devices.
What it is and what it does
TensorFlow Lite runtime is the official inference engine for running pre-trained machine learning models on mobile and embedded devices. It is designed to execute models with minimal latency and a small footprint, supporting Android, iOS, and other operating systems. The package provides Python bindings to load and run .tflite model files, making it suitable for edge deployment scenarios where full TensorFlow would be too heavy.
The package depends only on numpy and ships as platform-specific wheels for common architectures (x86_64, aarch64, armv7l) across Python 3.8–3.11. It is classified as Production/Stable and carries no known security vulnerabilities, though the package has been dormant since its last release on 2023-10-03.
Use it for:
- Run pre-trained image classification or object detection models on Raspberry Pi or ARM-based edge devices.
- Deploy real-time inference pipelines on mobile devices without the overhead of the full TensorFlow library.
- Execute quantized or pruned models for resource-constrained IoT and embedded systems.
- Integrate lightweight neural networks into Python applications on ARM architectures (aarch64, armv7l).
- Prototype and test model inference performance on edge hardware before production deployment.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
TensorFlow Lite runtime enables on-device machine learning inference on mobile and embedded devices with low latency and minimal binary size.
Yes, if you have a pre-converted .tflite model and need to run inference on mobile or embedded devices. The package is stable, lightweight, and carries no known vulnerabilities. However, the dormant maintenance status means no recent updates or security patches; verify compatibility with your target model format and hardware before committing to production use.
Install
tflite-runtime on PyPI
pip
pip install tflite-runtimeuv
uv add tflite-runtimepoetry
poetry add tflite-runtimeInstalling tflite-runtime
Before you install
Medium install friction due to platform-specific wheels for x86_64, aarch64, and armv7l architectures across Python 3.8–3.11. Package is dormant (last release 1046 days ago), but carries Production/Stable status and no known vulnerabilities.
License in practice
Apache 2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most deployment scenarios.
Quickstart
pip install tflite-runtime
import tflite_runtime.interpreter as tflite
interpreter = tflite.Interpreter(model_path='model.tflite')
interpreter.allocate_tensors()
output = interpreter.get_tensor(interpreter.get_output_details()[0]['index'])
Requires a pre-converted TensorFlow Lite model (.tflite file); numpy is a runtime dependency.
Verify before relying
- Whether dormant status affects compatibility with current model formats or ecosystem changes.
- Performance characteristics compared to other edge inference runtimes on specific hardware.
- Support timeline and security patch policy for the dormant package.
- Whether the package works on Python versions beyond 3.11.
Package facts
| License | Apache 2.0 (permissive) |
| Python support | not specified |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 1 — numpy |
| Maintenance | dormant — 1,046 days since the last release |
| First released | |
| Downloads | 120,678/month — #12,013 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: tflite_runtime-2.14.0-cp310-cp310-manylinux2014_x86_64.whl; tflite_runtime-2.14.0-cp310-cp310-manylinux_2_34_aarch64.whl; tflite_runtime-2.14.0-cp310-cp310-manylinux_2_34_armv7l.whl; tflite_runtime-2.14.0-cp311-cp311-manylinux2014_x86_64.whl; tflite_runtime-2.14.0-cp311-cp311-manylinux_2_34_aarch64.whl; tflite_runtime-2.14.0-cp311-cp311-manylinux_2_34_armv7l.whl; tflite_runtime-2.14.0-cp38-cp38-manylinux2014_x86_64.whl; tflite_runtime-2.14.0-cp38-cp38-manylinux_2_34_aarch64.whl; tflite_runtime-2.14.0-cp38-cp38-manylinux_2_34_armv7l.whl; tflite_runtime-2.14.0-cp39-cp39-manylinux2014_x86_64.whl; tflite_runtime-2.14.0-cp39-cp39-manylinux_2_34_aarch64.whl; tflite_runtime-2.14.0-cp39-cp39-manylinux_2_34_armv7l.whl
Keywords: tflite, tensorflow, tensor, machine, learning
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
ai-edge-litertai-edge-litert runs machine learning models on…
permissive · top 15,000 on PyPI
executorchExecuTorch exports and runs PyTorch models on…
permissive · top 15,000 on PyPI
mnnMNN is a lightweight deep learning inference…
permissive · top 15,000 on PyPI
moblyMobly is a Python test framework designed to…
permissive · top 15,000 on PyPI
tfliteParses TensorFlow Lite (*.tflite) model files…
permissive · top 15,000 on PyPI
litert-converterConverts machine learning models to LiteRT…
permissive · top 15,000 on PyPI
ai-edge-litert-nightlyLiteRT is a runtime for running trained machine…
permissive · top 15,000 on PyPI
mediapipeMediaPipe provides pre-built machine learning…
permissive · top 5,000 on PyPI
litert-torchConverts PyTorch models to .tflite format for…
permissive · top 15,000 on PyPI
onnxruntime-genaiRuns small and large language models and…
permissive · top 15,000 on PyPI