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

GitHub
AI Deploy2026

Provides reusable Docker compose files, scripts and benchmarked configs to serve modern LLMs (Qwen, Gemma, etc.) on 1–2 NVIDIA RTX 3090/4090/5090 GPUs. Multi-engine (vLLM, llama.cpp, ik_llama), measured TPS/context tradeoffs, and validated single/dual‑GPU recipes.

GitHub
AI Deploy2023

Provides a unified platform for AI development and deployment, including the MAX serving framework and the Mojo systems programming language for writing kernels. Offers an OpenAI-compatible inference endpoint, Mojo-written CPU/GPU kernels, and tools to run hundreds of open models across diverse hardware without vendor lock-in.

GitHub
AI Deploy2026

Runs local LLMs on Apple Silicon using native MTP speculative decoding to accelerate token generation while preserving the model's output distribution. Leverages the model's own MTP heads with batched verification and exact rejection sampling; ships with a Mac app, CLI, local OpenAI/Anthropic-compatible server, auto-tune, and Forge for building/verifying MTP adapters.