AIAny
AI Deploy2024
Icon for item

LiteRT

Runs and optimizes ML and generative-AI models on-device across mobile, desktop, web, and IoT. Successor to TensorFlow Lite, it adds automated GPU/NPU accelerator selection and zero-copy buffer interop to cut latency without cloud round-trips.

Introduction

On-device ML used to mean shrinking a small classifier until it fit on a phone. LiteRT — the renamed, re-scoped successor to TensorFlow Lite — reflects a different reality: the hard part is no longer model size but extracting throughput from wildly heterogeneous silicon while running generative models locally. Its answer is to treat accelerator choice and memory movement as first-class runtime concerns rather than developer chores.

What Sets It Apart
  • Backward compatible with TensorFlow Lite: existing .tflite models and the familiar API keep working, so adopting it is an evolution rather than a forced migration.
  • Automated accelerator selection: the runtime picks GPU/NPU backends per device instead of you hand-writing delegate code — decisive when shipping to thousands of Android and embedded SKUs.
  • Zero-copy buffer interoperability: tensors pass between CPU, GPU, and NPU without memcpy, cutting latency and memory pressure exactly where constrained devices feel it most.
  • GenAI-first scope: it targets LLMs and diffusion-class models at the edge, not just the vision CNNs of the classic TFLite era.
Who It's For

Great fit if you ship inference to Android, embedded Linux, or the web and want one runtime spanning CPU/GPU/NPU without per-device delegate plumbing — especially when moving from cloud inference to on-device GenAI for privacy or offline use. Look elsewhere if you serve in the datacenter (reach for full TensorFlow/JAX or a server runtime), need training rather than inference, or your stack is committed to PyTorch's ExecuTorch and Core ML.

Information

  • Websitegithub.com
  • OrganizationsGoogle
  • AuthorsGoogle AI Edge
  • Published date2024/09/04

Categories

More Items

Hugging Face
AI Model2026

Packages Inkling 2 Mini for local inference with Strata in three sizes for different memory budgets. The largest pack matched the original model’s next-token predictions in the reported tests.

GitHub
AI Infra2026

Runs and serves language models locally on Apple Silicon and GPUs using native Metal, CUDA, and other backends. Its Zig engine performs inference without requiring Python or MLX.

Hugging Face
AI Model2026

Provides GGUF quantizations of DeepSeek-V4.1-Flash-1017 for local inference, with swappable Engram n-gram tables. Even the smallest quant requires about 128 GB of memory; SSD offloading can reduce the amount kept resident.