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 Deploy2018

Serves machine learning and deep learning models for cloud, data center, edge and embedded environments. Supports multiple frameworks and backends, dynamic and sequence batching, HTTP/gRPC APIs, Docker deployment and NVIDIA-optimized runtimes.

GitHub
AI Deploy2026

Pools multiple ChatGPT/Codex accounts behind a local OpenAI-compatible proxy and dashboard — provides request load balancing, per-account usage/cost tracking, API-key management, and configurable routing strategies.

GitHub
AI Video2025

Automatically transfers YouTube videos to AcFun and bilibili with an end-to-end pipeline: downloading, ASR, subtitle translation and QC, AI-generated metadata, content moderation, and automated uploads; includes a web dashboard and monitoring.