# LiteRT

Published articles for LiteRT.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## On-Device Speech Recognition and Text-to-Speech in Google AI Edge Gallery

DevFeed: [On-Device Speech Recognition and Text-to-Speech in Google AI Edge Gallery](<https://devfeed.tech/articles/on-device-speech-recognition-and-text-to-speech-in-google-ai-edge-gallery-127499.md>)

Original publisher: [Read original article](<https://developers.googleblog.com/on-device-speech-recognition-and-text-to-speech-in-google-ai-edge-gallery/>)

Author: Google AI Edge Team; Android ML Team

Published: 2026-11-10T23:05:48.732831Z

Content type: release

Language: en

Sources: [Google Developers Blog](<https://devfeed.tech/sources/google-developers-blog.md>)

Topics: [Speech Processing](<https://devfeed.tech/topics/speech-processing.md>), [asr](<https://devfeed.tech/topics/asr.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>), [ML Kit](<https://devfeed.tech/topics/ml-kit.md>), [Conversational AI](<https://devfeed.tech/topics/conversational-ai.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Real-time AI interactions](<https://devfeed.tech/topics/real-time-ai-interactions.md>), [Google AI](<https://devfeed.tech/topics/google-ai.md>), [gemma](<https://devfeed.tech/topics/gemma.md>), [Whisper](<https://devfeed.tech/topics/whisper.md>)

Tags: [ai-edge-gallery](<https://devfeed.tech/tags/ai-edge-gallery.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [gemini-nano](<https://devfeed.tech/tags/gemini-nano.md>), [gemma-4](<https://devfeed.tech/tags/gemma-4.md>), [google](<https://devfeed.tech/tags/google.md>), [litert](<https://devfeed.tech/tags/litert.md>), [mediapipe](<https://devfeed.tech/tags/mediapipe.md>), [ml-kit](<https://devfeed.tech/tags/ml-kit.md>), [offline](<https://devfeed.tech/tags/offline.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [small-language-models](<https://devfeed.tech/tags/small-language-models.md>), [speech](<https://devfeed.tech/tags/speech.md>), [speech-recognition](<https://devfeed.tech/tags/speech-recognition.md>), [text-to-speech](<https://devfeed.tech/tags/text-to-speech.md>)

### AI overview

Google AI Edge Gallery adds offline, on-device speech recognition and text-to-speech that can pair with small language models for live transcription and spoken replies. Android developers can use ML Kit's GenAI Speech APIs, with speech models managed through AICore and on-device speech services; the source says this avoids app-managed model downloads and APK size growth, and provides hardware acceleration when available. MediaPipe Tasks offers high-level ASR and TTS APIs across iOS, macOS, Windows, Linux, and Web, abstracting audio preprocessing and routing. For finer control or custom open models, developers can use LiteRT directly; model components are packaged in .litertlm files. The showcase and AI Chat demonstrate local voice interactions, including an XR language-learning experience, though the source gives no measured accuracy or latency comparisons.

### Source excerpt

Google AI Edge Gallery now supports on-device, offline Automatic Speech Recognition (ASR) and Text-to-Speech (TTS) capabilities for building developer-friendly voice applications. Developers can leverage ML Kit for optimized Android performance, or use MediaPipe Tasks and LiteRT for cross-platform open-weight model integration. This local pipeline seamlessly pairs lightweight speech models with on-device small language models like Gemini Nano and Gemma 4 to enable real-time streaming transcription and low-latency synthesis.

## Leveling the Playing Field: Building a 100% Offline Kubernetes Docs RAG Exam Assistant with WebAI

DevFeed: [Leveling the Playing Field: Building a 100% Offline Kubernetes Docs RAG Exam Assistant with WebAI](<https://devfeed.tech/articles/leveling-the-playing-field-building-a-100-offline-kubernetes-docs-rag-exam-assistant-with-webai-118018.md>)

Original publisher: [Read original article](<https://medium.com/google-developer-experts/leveling-the-playing-field-building-a-100-offline-kubernetes-docs-rag-exam-assistant-with-webai-566efc066b6f?source=rss----a67bd6fa7d58---4>)

Author: Cyrus Wong

Published: 2026-11-04T14:26:55Z

Content type: article

Language: en

Sources: [Google Developer Experts](<https://devfeed.tech/sources/google-developer-experts-medium.md>)

Topics: [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Local-First](<https://devfeed.tech/topics/local-first.md>), [Web](<https://devfeed.tech/topics/web.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-web](<https://devfeed.tech/tags/ai-web.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [browser](<https://devfeed.tech/tags/browser.md>), [classroom](<https://devfeed.tech/tags/classroom.md>), [cloud-native](<https://devfeed.tech/tags/cloud-native.md>), [data-privacy](<https://devfeed.tech/tags/data-privacy.md>), [devops](<https://devfeed.tech/tags/devops.md>), [embeddinggemma](<https://devfeed.tech/tags/embeddinggemma.md>), [exam](<https://devfeed.tech/tags/exam.md>), [gemma-4](<https://devfeed.tech/tags/gemma-4.md>), [integrity](<https://devfeed.tech/tags/integrity.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [like](<https://devfeed.tech/tags/like.md>), [litert](<https://devfeed.tech/tags/litert.md>), [litertjs](<https://devfeed.tech/tags/litertjs.md>), [offline](<https://devfeed.tech/tags/offline.md>), [rag](<https://devfeed.tech/tags/rag.md>), [rags](<https://devfeed.tech/tags/rags.md>), [webai](<https://devfeed.tech/tags/webai.md>), [webgpu](<https://devfeed.tech/tags/webgpu.md>)

### AI overview

The article describes Kubernetes WebAI RAG, an offline browser assistant intended to give students consistent AI support during technical assessments without cloud access or inference fees. A maintainer prepares and distributes 16,483 documentation chunks with precomputed embeddings and a BM25 keyword index; students search them locally using semantic and keyword retrieval combined with reciprocal rank fusion, then receive streamed answers from Gemma 4 E2B with citations to a bundled Kubernetes documentation mirror. The Windows 11 setup uses a fixed localhost origin so the roughly 2 GB model can persist in browser OPFS storage. The article specifies Chromium with hardware WebGPU, about 8 GiB of free disk space, and memory limits designed for integrated GPUs. It also describes citation verification, YAML copying, and security measures including a restrictive content policy and inert Markdown rendering. The text presents a detailed implementation and its claimed classroom benefits, but provides no independent performance evaluation.

### Source excerpt

Leveling the Playing Field: Building a 100% Offline Kubernetes Docs RAG Exam Assistant with Web AI, Gemma 4, and WebGPU How to enable fair, zero-cost, air-gapped AI assistance in technical classrooms and assessments -- running entirely in the browser on everyday student hardware. The Classroom & Exam Dilemma: How Can We Use AI Fairly? As educators teaching cloud-native technologies like Kubernetes, we want our assessments to reflect real-world DevOps workflows. In production, engineers don't memorize every nested field of a Kubernetes YAML manifest -- they consult official documentation and use AI assistants to troubleshoot and scaffold configurations. However, allowing AI in a live classroom test or practical exam immediately introduces three critical pain points: The "Pay-to-Win" Equity Gap: Students with paid subscriptions to frontier cloud models (ChatGPT Plus, Claude Pro, Gemini Advanced) gain a massive speed and reasoning advantage over peers relying on free tiers with strict rate limits. Internet Access & Academic Integrity: Opening internet access so students can reach cloud AI APIs also opens the door to messaging apps, file-sharing sites, and unauthorized collaboration. Cloud API Costs & Data Privacy: Provisioning a centralized school-hosted LLM proxy for hundreds of concurrent exam-takers is expensive, vulnerable to rate-limit bottlenecks when everyone hits "Submit" at the same minute, and raises student privacy concerns. What if every student's computer could run an identical, pinned, official-documentation-grounded AI assistant completely offline? In this article, we'll walk through the architecture and implementation of Kubernetes WebAI RAG -- an open-source, 100% offline Retrieval-Augmented Generation (RAG) system running entirely inside the browser using Gemma 4 E2B, EmbeddingGemma, LiteRT-LM, TensorFlow.js, and WebGPU. https://medium.com/media/20d1c5f68aadab894d27095275f8dae3/hrefhttps://medium.com/media/74a7213c2a5fb8e8d7bae9fe600461e8/hrefEvolving fr

## Google Launches LiteRT Tensor API for Building, Customizing, and Optimizing ML Models for On-Device

DevFeed: [Google Launches LiteRT Tensor API for Building, Customizing, and Optimizing ML Models for On-Device](<https://devfeed.tech/articles/google-launches-litert-tensor-api-for-building-customizing-and-optimizing-ml-models-for-on-device-115569.md>)

Original publisher: [Read original article](<https://www.infoq.com/news/2026/11/litert-tensor-api/>)

Author: Sergio De Simone

Published: 2026-11-03T19:00:00Z

Content type: news

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [LiteRT](<https://devfeed.tech/topics/litert.md>), [Model Development](<https://devfeed.tech/topics/model-development.md>), [hugging face](<https://devfeed.tech/topics/hugging-face.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-coding-agents](<https://devfeed.tech/tags/ai-coding-agents.md>), [ai-ml-data-engineering](<https://devfeed.tech/tags/ai-ml-data-engineering.md>), [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [authoring](<https://devfeed.tech/tags/authoring.md>), [build](<https://devfeed.tech/tags/build.md>), [building](<https://devfeed.tech/tags/building.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [developers](<https://devfeed.tech/tags/developers.md>), [development](<https://devfeed.tech/tags/development.md>), [edge-computing](<https://devfeed.tech/tags/edge-computing.md>), [execution](<https://devfeed.tech/tags/execution.md>), [flexibility](<https://devfeed.tech/tags/flexibility.md>), [google](<https://devfeed.tech/tags/google.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [introduced](<https://devfeed.tech/tags/introduced.md>), [ios](<https://devfeed.tech/tags/ios.md>), [launches](<https://devfeed.tech/tags/launches.md>), [learning](<https://devfeed.tech/tags/learning.md>), [litert](<https://devfeed.tech/tags/litert.md>), [litert-tensor-api](<https://devfeed.tech/tags/litert-tensor-api.md>), [ml](<https://devfeed.tech/tags/ml.md>), [ml-data-engineering](<https://devfeed.tech/tags/ml-data-engineering.md>), [ml-models](<https://devfeed.tech/tags/ml-models.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [models](<https://devfeed.tech/tags/models.md>), [news](<https://devfeed.tech/tags/news.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [optimizing](<https://devfeed.tech/tags/optimizing.md>), [tensorflow](<https://devfeed.tech/tags/tensorflow.md>)

### AI overview

Google's LiteRT Tensor API lets developers define machine-learning computation graphs operation by operation in C++, then run the same graphs through LiteRT on CPU, GPU, and NPU targets without rewriting for each backend. The source highlights direct loading of checkpoint weights, including `.safetensors`, and zero-copy buffer interoperability across preprocessing, inference, and postprocessing. It says coding agents can generate and optimize the C++ graphs. In Google's reported SAM 2 tests, the same code ran on GPUs using Metal on a Mac and iPhone and OpenCL on Android; on a MacBook Pro, it was about 1.5x faster than Apple MLX in the stated fp16 image-encoder plus mask-decoder comparison. Arm's Laurence Moroney advised starting with model conversion and using the C++ API when graph-level control or accelerator-side preprocessing and postprocessing are needed. Planned improvements include ML Drift support, more NPU-friendly operations, full-graph quantization, and broader dynamic-shape support.

### Source excerpt

Google has introduced the LiteRT Tensor API, a lightweight C++ API that allows developers to build, customize, and optimize machine learning models directly for on-device execution. According to Google, it combines the flexibility of native model authoring with cross-platform portability. By Sergio De Simone

## Smaller apps and faster GPU inference with LiteRT in Google Play services

DevFeed: [Smaller apps and faster GPU inference with LiteRT in Google Play services](<https://devfeed.tech/articles/smaller-apps-and-faster-gpu-inference-with-litert-in-google-play-services-105743.md>)

Original publisher: [Read original article](<https://developers.googleblog.com/smaller-apps-and-faster-gpu-inference-with-litert-in-google-play-services/>)

Author: Google AI Edge Team; Android ML Team

Published: 2026-10-29T03:38:31.321833Z

Content type: release

Language: en

Sources: [Google Developers Blog](<https://devfeed.tech/sources/google-developers-blog.md>)

Topics: [LiteRT](<https://devfeed.tech/topics/litert.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [android](<https://devfeed.tech/tags/android.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [api](<https://devfeed.tech/tags/api.md>), [app](<https://devfeed.tech/tags/app.md>), [apps](<https://devfeed.tech/tags/apps.md>), [can](<https://devfeed.tech/tags/can.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [developers](<https://devfeed.tech/tags/developers.md>), [faster](<https://devfeed.tech/tags/faster.md>), [google](<https://devfeed.tech/tags/google.md>), [google-play](<https://devfeed.tech/tags/google-play.md>), [google-play-services](<https://devfeed.tech/tags/google-play-services.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [gpu-inference](<https://devfeed.tech/tags/gpu-inference.md>), [inference](<https://devfeed.tech/tags/inference.md>), [litert](<https://devfeed.tech/tags/litert.md>), [play](<https://devfeed.tech/tags/play.md>), [services](<https://devfeed.tech/tags/services.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

LiteRT in Google Play services adds GPU inference through the CompiledModel API, which the source says ran about 1.4x faster than the legacy GPU delegate in its testing. Moving from bundled LiteRT can reduce app size by about 8 MB because Play services supplies the runtime and GPU accelerator. Developers can add `com.google.android.gms:play-services-litert:17.0.0` or later, remove the bundled `litert` dependency, initialize with GPU enabled, and pass the environment to CompiledModel. Existing Interpreter code continues to work on CPU; GPU use requires moving to CompiledModel. The Android Studio LiteRT skill can automate migration, but the source recommends reviewing its changes, building, and comparing outputs on a real device. Legacy GPU and custom delegate APIs are deprecated, NNAPI removal begins in 2027, and deprecated API code will not compile against the latest SDK.

### Source excerpt

LiteRT in Google Play services now offers GPU inference powered by ML Drift, delivering about 1.4x faster performance alongside the new CompiledModel API. Switching from bundled binaries reduces app size by approximately 8 MB while enabling seamless, automatic runtime updates across billions of devices. Developers can easily adopt these updates by updating their dependencies and utilizing the new Android Studio LiteRT skill for automated migration.

## Native Model Authoring for Edge with LiteRT Tensor API

DevFeed: [Native Model Authoring for Edge with LiteRT Tensor API](<https://devfeed.tech/articles/native-model-authoring-for-edge-with-litert-tensor-api-90416.md>)

Original publisher: [Read original article](<https://developers.googleblog.com/native-model-authoring-for-edge-with-litert-tensor-api/>)

Author: Ping Yu; Quentin Khan; Chintan Parikh; Lu Wang

Published: 2026-10-20T02:35:00.194306Z

Content type: release

Language: en

Sources: [Google Developers Blog](<https://devfeed.tech/sources/google-developers-blog.md>)

Topics: [LiteRT](<https://devfeed.tech/topics/litert.md>), [Advanced AI workflows](<https://devfeed.tech/topics/advanced-ai-workflows.md>), [quantization](<https://devfeed.tech/topics/quantization.md>), [PyTorch](<https://devfeed.tech/topics/pytorch.md>)

Tags: [antigravity](<https://devfeed.tech/tags/antigravity.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [litert](<https://devfeed.tech/tags/litert.md>), [ml](<https://devfeed.tech/tags/ml.md>)

### AI overview

Google introduces the LiteRT Tensor API, a C++ layer for authoring machine-learning computation graphs that can run across CPU, GPU, and NPU backends. The article presents a Segment Anything Model 2 demo and describes how shared accelerator buffers and graph-level changes can reduce data transfers and improve frame rates. It also discusses the API's potential use in AI coding-agent workflows.

### Source excerpt

Meet the LiteRT Tensor API: giving developers native C++ control over the model graph to unify end-to-end ML computations on heterogeneous edge hardware.

## Building On-Device AI Agents on Android with Google ADK -- Part 6: Advanced Agent Architectures --...

DevFeed: [Building On-Device AI Agents on Android with Google ADK -- Part 6: Advanced Agent Architectures --...](<https://devfeed.tech/articles/building-on-device-ai-agents-on-android-with-google-adk-part-6-advanced-agent-architectures-90232.md>)

Original publisher: [Read original article](<https://medium.com/google-developer-experts/building-on-device-ai-agents-on-android-with-google-adk-part-6-advanced-agent-architectures-b4b2bffbf1ba?source=rss----a67bd6fa7d58---4>)

Author: Pankaj Rai

Published: 2026-10-19T14:27:20Z

Content type: tutorial

Language: en

Sources: [Google Developer Experts](<https://devfeed.tech/sources/google-developer-experts-medium.md>)

Topics: [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [google-adk](<https://devfeed.tech/topics/google-adk.md>), [human in the loop agent](<https://devfeed.tech/topics/human-in-the-loop-agent.md>), [hierarchical agent systems](<https://devfeed.tech/topics/hierarchical-agent-systems.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>), [vercel ai sdk](<https://devfeed.tech/topics/vercel-ai-sdk.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [google-adk](<https://devfeed.tech/tags/google-adk.md>), [human-in-the-loop](<https://devfeed.tech/tags/human-in-the-loop.md>), [litert](<https://devfeed.tech/tags/litert.md>), [multi-agent](<https://devfeed.tech/tags/multi-agent.md>), [on-device-ai](<https://devfeed.tech/tags/on-device-ai.md>)

### AI overview

This Android tutorial demonstrates how to use Google ADK to organize an on-device agent into a supervisor and specialist agents, route requests with `transfer_to_agent`, and pause destructive tool actions for user confirmation through a Jetpack Compose dialog. It also shows Kotlin implementation patterns and a mode selector for comparing single-agent, multi-agent, and human-in-the-loop designs.

### Source excerpt

Building On-Device AI Agents on Android with Google ADK -- Part 6: Advanced Agent Architectures -- Hierarchical Multi-Agent Teams & Human-in-the-Loop Safety Scale from a single agent to an autonomous multi-agent system. Implement supervisor routing with transfer_to_agent and safety approval gates. 1. Beyond the Monolithic Agent Over the course of this series, we have built a capable on-device AI agent: In Part 1, we initialized LiteRT-LM with Gemma on Android. In Part 2, we empowered it with programmatic BaseTool and compile-time @Tool KSP bindings. In Part 3, we explored ToolContext and session artifacts. In Part 4, we built local RAG with Room SQLite. In Part 5, we enabled real-time SSE streaming and an observability drawer. However, as applications scale into production, monolithic single-agent designs hit two major walls: 1. Tool Bloat & Cognitive Overload When an agent is given 15 to 20 tools, its system prompt becomes crowded with tool definitions. On small mobile models (1B to 2B parameters), too many tools degrade instruction following, cause tool hallucination, and dramatically increase prefill latency on mobile CPUs. 2. Unchecked Autonomy An autonomous agent must never perform destructive actions -- such as wiping an entire database, deleting user data, or triggering a financial transaction -- without explicit user confirmation. In this final article, we solve both challenges using Google ADK's most advanced primitives: Hierarchical Multi-Agent Teams: Decomposing our monolithic agent into a Supervisor Agent and specialized sub-agents with ADK's native transfer_to_agent mechanism. Human-in-the-Loop (HITL) Safety Gates: Pausing agent execution to prompt the user with an interactive Compose approval dialog before running destructive code. 2. Architecture One: Hierarchical Multi-Agent Teams Instead of forcing one generalist agent to know everything, we structure our system as a team of focused specialists overseen by a Supervisor Agent: graph TD User["User Prompt"

## Bring multimodal semantic search to the edge with EmbeddingGemma 2

DevFeed: [Bring multimodal semantic search to the edge with EmbeddingGemma 2](<https://devfeed.tech/articles/bring-multimodal-semantic-search-to-the-edge-with-embeddinggemma-2-65872.md>)

Original publisher: [Read original article](<https://developers.googleblog.com/google-ai-edge-with-embeddinggemma-2/>)

Author: Google AI Edge Team; Android ML Team

Published: 2026-10-07T02:19:03.028931Z

Content type: release

Language: en

Sources: [Google Developers Blog](<https://devfeed.tech/sources/google-developers-blog.md>)

Topics: [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>), [Real-time AI interactions](<https://devfeed.tech/topics/real-time-ai-interactions.md>)

Tags: [cpu](<https://devfeed.tech/tags/cpu.md>), [edge](<https://devfeed.tech/tags/edge.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [litert](<https://devfeed.tech/tags/litert.md>), [low-latency](<https://devfeed.tech/tags/low-latency.md>), [mediapipe](<https://devfeed.tech/tags/mediapipe.md>), [multimodal](<https://devfeed.tech/tags/multimodal.md>), [npu](<https://devfeed.tech/tags/npu.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [search](<https://devfeed.tech/tags/search.md>), [semantic-search](<https://devfeed.tech/tags/semantic-search.md>)

### AI overview

Google introduces EmbeddingGemma 2, a compact open-weight multimodal model that embeds text, images, video, and audio in a shared vector space for local retrieval. The post presents on-device media search and video moment finding, and describes developer paths through MediaPipe Tasks and LiteRT for cross-platform deployment and hardware acceleration.

### Source excerpt

EmbeddingGemma 2 is a new 740M open-weight multimodal model that maps text, images, video, and audio into a unified vector space for privacy-first, on-device retrieval. Developers can easily integrate these capabilities cross-platform using MediaPipe Tasks or optimize fine-grained performance across CPU, GPU, and NPU accelerators with LiteRT. The model enables ultra-low-latency local solutions like search-as-you-type media retrieval, keyframe video moments finding, and zero-shot intent routing.

## Fine-Tuning Small Models for On-Device Agents: Train, Convert, and Measure What Changed

DevFeed: [Fine-Tuning Small Models for On-Device Agents: Train, Convert, and Measure What Changed](<https://devfeed.tech/articles/fine-tuning-small-models-for-on-device-agents-train-convert-and-measure-what-changed-65297.md>)

Original publisher: [Read original article](<https://medium.com/google-developer-experts/fine-tuning-small-models-for-on-device-agents-train-convert-and-measure-what-changed-f7f494a044f3?source=rss----a67bd6fa7d58---4>)

Author: Sasha Denisov

Published: 2026-10-06T07:20:54Z

Content type: tutorial

Language: en

Sources: [Google Developer Experts](<https://devfeed.tech/sources/google-developer-experts-medium.md>)

Topics: [peft](<https://devfeed.tech/topics/peft.md>), [lora](<https://devfeed.tech/topics/lora.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [ML model versioning](<https://devfeed.tech/topics/ml-model-versioning.md>), [Deployment Strategies](<https://devfeed.tech/topics/deployment-strategies.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-on-device](<https://devfeed.tech/tags/ai-on-device.md>), [apache](<https://devfeed.tech/tags/apache.md>), [build](<https://devfeed.tech/tags/build.md>), [data](<https://devfeed.tech/tags/data.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [edge](<https://devfeed.tech/tags/edge.md>), [edge-ai](<https://devfeed.tech/tags/edge-ai.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [hugging-face](<https://devfeed.tech/tags/hugging-face.md>), [inference](<https://devfeed.tech/tags/inference.md>), [litert](<https://devfeed.tech/tags/litert.md>), [lora](<https://devfeed.tech/tags/lora.md>), [mediapipe](<https://devfeed.tech/tags/mediapipe.md>), [model](<https://devfeed.tech/tags/model.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [trl](<https://devfeed.tech/tags/trl.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

The article presents litetune, an open-source command-line workflow for fine-tuning small models with LoRA, converting them to LiteRT-LM, and verifying converted artifacts against float models on held-out data. In the reported tests, eight-bit conversions stayed close to float on the measured workloads, while four-bit results varied by model and recipe and could show substantial quality losses. The author emphasizes testing the converted artifact and measuring performance on its target device.

### Source excerpt

How litetune rebuilds the LoRA-to-device workflow and measures the model that actually ships. In February 2025, I published a ten-step guide to fine-tuning Gemma with LoRA in Colab, converting the model, and running it on a phone. I build Flutter Edge AI (formerly flutter_gemma), a plugin for running these models directly on the device, so fine-tuning was the natural next step. Today, following that guide step by step no longer works. I first tried to update it, but replacing one stage led to another. LoRA was the only part that stayed the same. So this is not a patched version of the old tutorial. It is a new workflow, with one stage the original did not have: verifying the converted model on held-out data. What Changed in the Workflow The old guide was built around the first Gemma models -- 2B and 7B -- and MediaPipe for on-device inference. The entire path from training to a MediaPipe-ready artifact fit inside a single Colab notebook. Today, its parts are spread across Hugging Face, TRL, litert-converter, and LiteRT-LM. They have different dependencies, and export settings vary by model architecture. LoRA training itself still looks familiar -- the complexity now sits around it. Before training, you need to validate the data and create and record a held-out split. After training, you need to merge the adapter, select the export settings, build a .litertlm file, run it through LiteRT-LM, and compare its outputs with the original model. A working checkpoint does not guarantee that the final artifact will behave the same way. When it became clear that the old notebook could not simply be updated, I decided to put the modern workflow into one tool. That is how litetune started: an open-source command-line tool, released under Apache 2.0, that takes a dataset all the way to a verified .litertlm. Its job is to remove the handwritten glue code between a dataset and a model that an application can run. Instead of maintaining separate scripts for data preparation, LoRA train

## Building On-Device AI Agents on Android with Google ADK -- Part 1: The Engine & Architecture

DevFeed: [Building On-Device AI Agents on Android with Google ADK -- Part 1: The Engine & Architecture](<https://devfeed.tech/articles/building-on-device-ai-agents-on-android-with-google-adk-part-1-the-engine-architecture-61527.md>)

Original publisher: [Read original article](<https://medium.com/google-developer-experts/building-on-device-ai-agents-on-android-with-google-adk-part-1-the-engine-architecture-bf5639a2f439?source=rss----a67bd6fa7d58---4>)

Author: Pankaj Rai

Published: 2026-09-29T01:50:28Z

Content type: tutorial

Language: en

Sources: [Google Developer Experts](<https://devfeed.tech/sources/google-developer-experts-medium.md>)

Topics: [google-adk](<https://devfeed.tech/topics/google-adk.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [gemma](<https://devfeed.tech/topics/gemma.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>), [Android](<https://devfeed.tech/topics/android.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [gemma](<https://devfeed.tech/tags/gemma.md>), [google-adk](<https://devfeed.tech/tags/google-adk.md>), [litert](<https://devfeed.tech/tags/litert.md>), [llms](<https://devfeed.tech/tags/llms.md>), [on-device-ai](<https://devfeed.tech/tags/on-device-ai.md>)

### AI overview

This introductory tutorial explains how to build on-device AI agents for Android using Google ADK, LiteRT-LM, and local Gemma models. It covers offline operation, privacy and latency considerations, agent tool use, model packaging, and the initial setup for running an agent turn.

### Source excerpt

Run local Gemma models offline, configure LiteRT-LM, navigate APK packaging traps and establish the foundational primitives of Google's Agent Development Kit. 1. The Shift from Simple Chatbots to Autonomous Agents For the past two years, mobile AI in Android apps has largely meant one pattern: taking user text, wrapping it into a network request, firing it to an expensive cloud API and rendering a markdown stream. While cloud LLMs offer vast knowledge, mobile apps have different requirements: Privacy & Compliance: Sensitive user data (health logs, private notes, device contacts) should never leave the phone. Offline Reliability: Airplane mode, subways, or poor cellular reception shouldn't break app functionality. Deterministic Latency: Skipping network hops eliminates DNS lookups, TLS handshakes and server queuing. Action over Conversation: Users do not just want an AI that talks; they want an AI that acts -- inspecting device battery levels, querying local Room SQLite databases, setting alarms and scheduling tasks. This is where Agents differ from simple LLM wrappers. An Agent is an autonomous system driven by a language model that operates in a loop: it receives a goal, reasons about what to do, inspects available Tools, invokes functions with structured JSON parameters, observes the output and iteratively works until the task is complete. Google introduced the Agent Development Kit (ADK) for Kotlin and Android (google/adk-kotlin). Combined with LiteRT-LM and Google's open-weight Gemma family, we can now build full-fledged, multi-turn, tool-calling agents running entirely on a physical Android device with zero cloud dependencies. In this introductory article, we will build the foundation: configuring the build system, extracting multi-gigabyte models without crashing the Android packager, initializing LiteRT-LM, and executing your first agent turn. 2. The Core Primitives of Google ADK Unlike generic prompting libraries, Google ADK provides an opinionated, productio

## Flutter Gemma: The hidden gem of cross-platform local AI

DevFeed: [Flutter Gemma: The hidden gem of cross-platform local AI](<https://devfeed.tech/articles/flutter-gemma-the-hidden-gem-of-cross-platform-local-ai-60026.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/flutter-gemma-the-hidden-gem-of-cross-platform-local-ai-cffdaaf007de?source=rss----86fb29d7cc6a---4>)

Author: Mobile@Exxeta

Published: 2026-09-25T19:59:46Z

Content type: article

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Local AI](<https://devfeed.tech/topics/local-ai.md>), [Flutter](<https://devfeed.tech/topics/flutter.md>), [gemma](<https://devfeed.tech/topics/gemma.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [acceleration](<https://devfeed.tech/tags/acceleration.md>), [ai](<https://devfeed.tech/tags/ai.md>), [android](<https://devfeed.tech/tags/android.md>), [apple](<https://devfeed.tech/tags/apple.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [engine](<https://devfeed.tech/tags/engine.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [flutter-app-development](<https://devfeed.tech/tags/flutter-app-development.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [gemini-nano](<https://devfeed.tech/tags/gemini-nano.md>), [gemma](<https://devfeed.tech/tags/gemma.md>), [generation](<https://devfeed.tech/tags/generation.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [inference](<https://devfeed.tech/tags/inference.md>), [ios](<https://devfeed.tech/tags/ios.md>), [litert](<https://devfeed.tech/tags/litert.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [local-ai](<https://devfeed.tech/tags/local-ai.md>), [local-llm](<https://devfeed.tech/tags/local-llm.md>), [mobile-app-development](<https://devfeed.tech/tags/mobile-app-development.md>)

### AI overview

Flutter Gemma v1.x enables shared Flutter code for local LLM product features while leaving inference to platform-specific engines: MediaPipe supports .task/.bin models and LiteRT-LM supports .litertlm models, with different platform availability. The demo covers text generation, structured analysis, embeddings, SQLite-based RAG, and multi-turn chat. It requires supported converted model formats; quantized models reduce size and RAM needs but may lose quality, and actual inference memory can exceed download size. Results with Qwen3 0.6B were useful for short rewriting and classification, but entity extraction was unreliable and chat quality limited by hallucinations and context length. Gecko 256 supported English similarity matching in the demo. The authors present Flutter as practical for shared-codebase features without strict real-time demands, while recommending native development for performance-critical or hardware-specific needs; complex text tasks remain error-prone.

### Source excerpt

Build Flutter mobile apps with cutting-edge local LLM featuresPhoto by Google DeepMind from Pexels One codebase, multiple platforms, and all using local LLMs -- can this work without compromises? When thinking about integrating local LLM features into your app, you will also start thinking about performance soon. The answer to performance is often "build native". It makes perfect sense considering with LLMs you'll want GPU access and NPU acceleration. All that is platform-specific. And yet, Flutter Gemma v1.x takes a modular approach to resolve this conflict. In this article we'll show you exactly how this works using a real demo app for Android and iOS with six feature areas: setup, text generation, analysis, embeddings, RAG capabilities, and chat. Why Cross-platform for on-device AI? For classical business use cases, the argument for having one codebase is well-known: Write logic once and deploy on multiple platforms like iOS and Android. For features including local models, this becomes more important because model handling and prompting strategies come on top of classical UI frontend development. Things you really don't want to maintain in more than one place. The inference itself stays platform-specific. Native runtimes, GPU, and NPU access differ fundamentally between Android and iOS. Android relies on open acceleration APIs such as NNAPI and GPU delegates via LiteRT, used to run Gemini Nano on modern Android devices. Apple devices use Core ML and the Neural Engine to run the Foundation Model inside a closed, vendor-specific stack. A good cross-platform layer bridges this gap without hiding it. The developer is still in control of which engine runs on which platform. For real-time applications where performance is critical, native development remains the way to go. However, for most product features related to on-device local LLMs, Flutter is becoming an increasingly viable choice. The Ecosystem: Cross-platform options for local LLMs Before diving deep into Flu

## Introducing Support for Local AI Models in the Antigravity SDK

DevFeed: [Introducing Support for Local AI Models in the Antigravity SDK](<https://devfeed.tech/articles/introducing-support-for-local-ai-models-in-the-antigravity-sdk-58908.md>)

Original publisher: [Read original article](<https://developers.googleblog.com/introducing-support-for-local-ai-models-in-the-antigravity-sdk/>)

Author: Sachin Kotwani; Taylor Mullen

Published: 2026-09-24T01:36:29.465879Z

Content type: release

Language: en

Sources: [Google Developers Blog](<https://devfeed.tech/sources/google-developers-blog.md>)

Topics: [google-antigravity](<https://devfeed.tech/topics/google-antigravity.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [agentic workflows](<https://devfeed.tech/topics/agentic-workflows.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [AI Models](<https://devfeed.tech/topics/ai-models.md>), [gemma](<https://devfeed.tech/topics/gemma.md>), [Inference](<https://devfeed.tech/topics/inference.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>), [Google](<https://devfeed.tech/topics/google.md>), [Ollama](<https://devfeed.tech/topics/ollama.md>), [vllm](<https://devfeed.tech/topics/vllm.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-workflows](<https://devfeed.tech/tags/agentic-workflows.md>), [ai-models](<https://devfeed.tech/tags/ai-models.md>), [code](<https://devfeed.tech/tags/code.md>), [device](<https://devfeed.tech/tags/device.md>), [gemma](<https://devfeed.tech/tags/gemma.md>), [gemma-4](<https://devfeed.tech/tags/gemma-4.md>), [google](<https://devfeed.tech/tags/google.md>), [google-antigravity](<https://devfeed.tech/tags/google-antigravity.md>), [inference](<https://devfeed.tech/tags/inference.md>), [litert](<https://devfeed.tech/tags/litert.md>), [local-ai](<https://devfeed.tech/tags/local-ai.md>), [ollama](<https://devfeed.tech/tags/ollama.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [vllm](<https://devfeed.tech/tags/vllm.md>), [workflows](<https://devfeed.tech/tags/workflows.md>)

### AI overview

Google announces local AI model support in the Antigravity SDK, including offline agentic workflows with Gemma 4 26B A4B through LiteRT. The update also supports hybrid cloud-local orchestration and OpenAI-compatible servers such as Ollama and vLLM.

### Source excerpt

The Google Antigravity SDK now empowers developers to execute offline, agentic workflows locally using models like Gemma 4 26B A4B via LiteRT. This update facilitates powerful hybrid orchestration architectures, allowing a cloud model to act as a lightweight planner while local models securely handle token-intensive tasks--like code auditing and patching--directly on-device. Furthermore, the SDK provides drop-in support for OpenAI-compatible inference servers like Ollama and vLLM, enabling the seamless creation of privacy-first, autonomous local utilities.

## On-Device AI Series (Part 5): LiteRT-LM

DevFeed: [On-Device AI Series (Part 5): LiteRT-LM](<https://devfeed.tech/articles/on-device-ai-series-part-5-litert-lm-22949.md>)

Original publisher: [Read original article](<https://proandroiddev.com/on-device-ai-series-part-5-litert-lm-d6c23b102094?source=rss----c72404660798---4>)

Author: Oğuzhan Aslan

Published: 2026-09-14T05:59:12Z

Content type: tutorial

Language: en

Sources: [ProAndroidDev](<https://devfeed.tech/sources/proandroiddev-medium.md>)

Topics: [On-device AI](<https://devfeed.tech/topics/on-device-ai.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [airplane](<https://devfeed.tech/tags/airplane.md>), [all](<https://devfeed.tech/tags/all.md>), [android](<https://devfeed.tech/tags/android.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [api](<https://devfeed.tech/tags/api.md>), [api-key](<https://devfeed.tech/tags/api-key.md>), [app](<https://devfeed.tech/tags/app.md>), [avoid](<https://devfeed.tech/tags/avoid.md>), [backend](<https://devfeed.tech/tags/backend.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [bill](<https://devfeed.tech/tags/bill.md>), [blocking](<https://devfeed.tech/tags/blocking.md>), [bookkeeping](<https://devfeed.tech/tags/bookkeeping.md>), [box](<https://devfeed.tech/tags/box.md>), [budget](<https://devfeed.tech/tags/budget.md>), [build](<https://devfeed.tech/tags/build.md>), [device](<https://devfeed.tech/tags/device.md>), [litert](<https://devfeed.tech/tags/litert.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [on-device-ai](<https://devfeed.tech/tags/on-device-ai.md>), [programming](<https://devfeed.tech/tags/programming.md>), [series](<https://devfeed.tech/tags/series.md>), [software-development](<https://devfeed.tech/tags/software-development.md>)

### AI overview

LiteRT-LM supports offline, on-device LLM chat with streaming, session state and KV-cache management, and runtime CPU/GPU selection. An Engine loads and reuses the model; lightweight Sessions hold conversation state and can be replaced without reloading it. Developers must size maxNumTokens for combined input and output, configure sampling, and construct system prompts and tool calling using model-specific text formats. Multimodal input uses Conversation rather than Session, and the two APIs share a native slot. The excerpt also describes a Gradle fix for conflicting native libraries that can cause SIGSEGV. A reported Gemma E2B benchmark ran at 2.9 tokens/sec on CPU and 5.0 on GPU, with performance dependent on hardware. Tradeoffs include local privacy and no inference-time network or per-token bill, alongside lower capability than large cloud models and responsibility for latency, memory, and prompt handling.

### Source excerpt

Put your phone in airplane mode. Open the app, type a question, and watch the answer arrive one token at a time -- no spinner waiting on a network round-trip, no API key, no per-token bill, and nothing you typed ever leaving the device. LiteRT-LM removes the genuinely hard parts of running an LLM on-device -- KV-cache management, token streaming, backend selection -- but it doesn't remove your job so much as relocate it. What's left on your plate is a short, specific list: sizing a combined input+output token budget, owning your own sampling defaults, hand-building system prompts and tool calling out of raw text, and one native-library collision that presents as a SIGSEGV rather than a build error. Know those going in and the API itself is a clean three-step pattern. We'll get there in that order: Why you'd choose this runtime and what it costs you versus the cloud. The Engine/Session model you need to read the code at all. Real implementation samples -- streaming, system prompts and tool calling, multimodal inputs, thinking mode, and CPU-vs-GPU benchmarking. The anti-patterns to avoid. A developer-friendliness rating on the same rubric as Parts 1-4. Why Use LiteRT-LM? You reach for LiteRT-LM instead of hand-rolling generation on top of raw LiteRT when: You need multi-turn conversation, not single-shot inference -- session state and KV-cache bookkeeping are handled for you, and resetting a conversation is a session swap, not a model reload. You need streaming output -- token-by-token delivery for a responsive chat UI, instead of a blocking call that returns everything at once. You're choosing between CPU and GPU per device -- the explicit backend parameter turns that into a runtime decision instead of a build-time guess. You want a pre-converted model without doing your own PyTorch-to-LiteRT conversion work -- the Model Zoo covers Gemma, Qwen, Llama, and more out of the box. You're willing to own sampling -- the engine won't pick sane decoding defaults for you; that's on the

## Mastering Edge AI on Raspberry Pi with LiteRT and Gemma

DevFeed: [Mastering Edge AI on Raspberry Pi with LiteRT and Gemma](<https://devfeed.tech/articles/mastering-edge-ai-on-raspberry-pi-with-litert-and-gemma-4215.md>)

Original publisher: [Read original article](<https://developers.googleblog.com/mastering-edge-ai-on-raspberry-pi-with-litert-and-gemma/>)

Author: Lu Wang; Terry Heo; Naushir Patuck; José María Casanova

Published: 2026-09-12T11:04:33.891311Z

Content type: tutorial

Language: en

Sources: [Google Developers Blog](<https://devfeed.tech/sources/google-developers-blog.md>)

Topics: [LiteRT](<https://devfeed.tech/topics/litert.md>), [On-device AI](<https://devfeed.tech/topics/on-device-ai.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Google AI](<https://devfeed.tech/topics/google-ai.md>), [cpu](<https://devfeed.tech/topics/cpu.md>), [Security, Privacy and Abuse Prevention](<https://devfeed.tech/topics/security-privacy-and-abuse-prevention.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [edge](<https://devfeed.tech/tags/edge.md>), [gemma](<https://devfeed.tech/tags/gemma.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [inference](<https://devfeed.tech/tags/inference.md>), [litert](<https://devfeed.tech/tags/litert.md>), [offline](<https://devfeed.tech/tags/offline.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [robotics](<https://devfeed.tech/tags/robotics.md>)

### AI overview

The article explains how to deploy Gemma models with LiteRT on a Raspberry Pi for local, real-time edge AI applications such as robotics. It highlights LiteRT-LM, CPU and GPU optimization, and reported performance figures for Gemma 4 E2B on Raspberry Pi 5.

### Source excerpt

Deploying secure, real-time Edge AI on Raspberry Pi is now simplified using LiteRT and lightweight Gemma open models. LiteRT optimizes CPU and GPU performance, delivering fast token speeds for models like Gemma4, enabling real-time local reasoning for robotics. Developers can quickly convert, quantize, and run these models using the lightweight LiteRT CLI tool. Support for Hailo AI accelerators is also coming very soon.

## Running golf swing analysis on an Android device with a fine-tuned Gemma 4 model

DevFeed: [Running golf swing analysis on an Android device with a fine-tuned Gemma 4 model](<https://devfeed.tech/articles/running-golf-swing-analysis-on-an-android-device-with-a-fine-tuned-gemma-4-model-25193.md>)

Original publisher: [Read original article](<https://johnoreilly.dev/posts/formai-gemma4-ondevice/>)

Published: 2026-08-29T23:00:00Z

Content type: article

Language: en

Sources: [John O'Reilly](<https://devfeed.tech/sources/john-o-reilly.md>)

Topics: [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [gemma](<https://devfeed.tech/topics/gemma.md>), [lora](<https://devfeed.tech/topics/lora.md>), [Android](<https://devfeed.tech/topics/android.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [android](<https://devfeed.tech/tags/android.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [form](<https://devfeed.tech/tags/form.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [gemma](<https://devfeed.tech/tags/gemma.md>), [gemma-4](<https://devfeed.tech/tags/gemma-4.md>), [golf](<https://devfeed.tech/tags/golf.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [litert](<https://devfeed.tech/tags/litert.md>), [model](<https://devfeed.tech/tags/model.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [running](<https://devfeed.tech/tags/running.md>)

### AI overview

FormAI adds an Android-only option for golf swing feedback that runs locally with a Gemma 4 model fine-tuned to imitate Gemini on this task. The approach uses Gemini as a teacher to generate training data from video clips: a standalone bulk tool makes separate calls for a plain-text critique and schema-constrained timestamps for setup, backswing top, contact and finish, because combining strict JSON with prose reportedly worsened the prose. The model is fine-tuned with LoRA and converted for LiteRT-LM; the excerpt says other app targets still fall back to cloud analysis. It contrasts this custom supplied model with prior platform-provided models, where the developer has less control over what the model knows. The excerpt does not provide the conversion details or practical cost results promised by the article.

### Source excerpt

FormAI is a Kotlin Multiplatform app that analyses a video of your golf swing, basketball shot or running form and gives you coaching feedback. Up to now that has always meant uploading the video to Gemini and getting the response back over the network. We've added an option to do the golf swing analysis entirely on an Android device instead, using a small Gemma 4 model that we fine-tuned to imitate Gemini for that one task. LiteRT-LM, the runtime we use for this, is itself cross platform (Android, iOS, desktop and web), but we've only wired up the Android side so far, so this path lives in androidMain and the other targets report it as unavailable and fall back to the cloud.

## Is Raspberry Pi Dead? I Don't Think So

DevFeed: [Is Raspberry Pi Dead? I Don't Think So](<https://devfeed.tech/articles/is-raspberry-pi-dead-i-don-t-think-so-10801.md>)

Original publisher: [Read original article](<https://raspberrytips.com/is-raspberry-pi-dead/>)

Author: Patrick Fromaget

Published: 2026-08-26T05:00:00Z

Content type: article

Language: en

Sources: [RaspberryTips](<https://devfeed.tech/sources/raspberrytips.md>)

Topics: [Hardware](<https://devfeed.tech/topics/hardware.md>), [Software](<https://devfeed.tech/topics/software.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [availability](<https://devfeed.tech/tags/availability.md>), [community](<https://devfeed.tech/tags/community.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [litert](<https://devfeed.tech/tags/litert.md>), [platform](<https://devfeed.tech/tags/platform.md>), [quick-tips](<https://devfeed.tech/tags/quick-tips.md>), [raspberry-pi](<https://devfeed.tech/tags/raspberry-pi.md>), [social-media](<https://devfeed.tech/tags/social-media.md>), [software](<https://devfeed.tech/tags/software.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>), [usb](<https://devfeed.tech/tags/usb.md>)

### AI overview

The article argues that Raspberry Pi is not dead despite higher prices, past availability problems, and stronger competition from mini-PCs. It presents Raspberry Pi's continuing sales, broad hardware lineup, software, documentation, accessories, tutorials, and community as evidence that its platform and ecosystem remain active.

### Source excerpt

Lots of people are saying "Raspberry Pi is dead" on social media or Reddit. If you spend some time there, you'll quickly get the feeling that Raspberry Pis are a relic of the past, no longer relevant for various reasons. I get why they might think that, but I'm not fully on board with that...

## Codename One Adds On-Device AI and Loopback MCP Support

DevFeed: [Codename One Adds On-Device AI and Loopback MCP Support](<https://devfeed.tech/articles/on-device-ai-and-mcp-on-every-port-19421.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/on-device-ai-mcp-loopback/>)

Author: Shai Almog

Published: 2026-08-02T00:00:00Z

Content type: release

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [On-device AI](<https://devfeed.tech/topics/on-device-ai.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>), [Inference](<https://devfeed.tech/topics/inference.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [supply-chain-security](<https://devfeed.tech/topics/supply-chain-security.md>)

Tags: [applications](<https://devfeed.tech/tags/applications.md>), [inference](<https://devfeed.tech/tags/inference.md>), [litert](<https://devfeed.tech/tags/litert.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [on-device-ai](<https://devfeed.tech/tags/on-device-ai.md>), [tensorflow-lite](<https://devfeed.tech/tags/tensorflow-lite.md>)

### AI overview

Codename One has added on-device vision, language, and LiteRT inference to its core, alongside a guarded loopback MCP transport for inspecting and operating applications. The article explains platform support, asynchronous OCR, model sessions, secure model downloads, and privacy limitations of local inference.

### Source excerpt

Codename One now exposes on-device vision, language, and LiteRT inference in the core, while a guarded loopback MCP transport lets an LLM inspect and drive real applications.

## Push V3: One Message From Your Server to Every Surface

DevFeed: [Push V3: One Message From Your Server to Every Surface](<https://devfeed.tech/articles/push-v3-one-message-from-your-server-to-every-surface-19457.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/push-v3-new-cloud/>)

Author: Shai Almog

Published: 2026-07-31T00:00:00Z

Content type: release

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [releases](<https://devfeed.tech/topics/releases.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [API](<https://devfeed.tech/topics/api.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [litert](<https://devfeed.tech/tags/litert.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [updates](<https://devfeed.tech/tags/updates.md>)

### AI overview

Codename One Push V3 adds typed messages, managed credentials, subscriptions, server-side segments, campaigns, analytics, and Surface updates. Existing push applications should test the new cloud endpoint before the planned cutover.

### Source excerpt

Codename One Push V3 adds typed messages, managed credentials, segmentation, analytics, and Surface updates. Existing push apps should test the new cloud endpoint before next week's cutover.

## What's new in TensorFlow 2.20

DevFeed: [What's new in TensorFlow 2.20](<https://devfeed.tech/articles/what-s-new-in-tensorflow-2-20-7424.md>)

Original publisher: [Read original article](<https://blog.tensorflow.org/2025/08/whats-new-in-tensorflow-2-20.html>)

Author: TensorFlow Blog (noreply@blogger.com)

Published: 2025-08-19T16:00:00Z

Content type: news

Language: en

Sources: [The TensorFlow Blog](<https://devfeed.tech/sources/the-tensorflow-blog.md>)

Topics: [LiteRT](<https://devfeed.tech/topics/litert.md>), [On-device AI](<https://devfeed.tech/topics/on-device-ai.md>), [Inference](<https://devfeed.tech/topics/inference.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [IO](<https://devfeed.tech/topics/io.md>), [GPU](<https://devfeed.tech/topics/gpu.md>), [data](<https://devfeed.tech/topics/data.md>), [Google](<https://devfeed.tech/topics/google.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Python](<https://devfeed.tech/topics/python.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [data](<https://devfeed.tech/tags/data.md>), [google](<https://devfeed.tech/tags/google.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [inference](<https://devfeed.tech/tags/inference.md>), [io](<https://devfeed.tech/tags/io.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [latency](<https://devfeed.tech/tags/latency.md>), [litert](<https://devfeed.tech/tags/litert.md>), [npu](<https://devfeed.tech/tags/npu.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [python](<https://devfeed.tech/tags/python.md>), [tensorflow](<https://devfeed.tech/tags/tensorflow.md>), [tensorflow-core](<https://devfeed.tech/tags/tensorflow-core.md>), [tensorflow-lite](<https://devfeed.tech/tags/tensorflow-lite.md>)

### AI overview

TensorFlow 2.20 introduces the independent LiteRT repository as the future home for on-device inference, replacing the deprecated tf.lite module. LiteRT adds Kotlin and C++ APIs, improves NPU and GPU acceleration, and supports lower-latency inference with fewer memory copies. The release also adds tf.data input-pipeline warm-up controls and makes Google Cloud Storage support optional.

### Source excerpt

Posted by the TensorFlow team TensorFlow 2.20 has been released! For ongoing updates related to the multi-backend Keras, please note that all news and releases, starting with Keras 3.0, are now published directly on keras.io. You can find a complete list of all changes in the full release notes on GitHub. tf.lite is being replaced by LiteRT The tf.lite module will be deprecated with development for on-device inference moving to a new, independent repository: LiteRT. The new APIs are available in Kotlin and C++. This code base will decouple from the TensorFlow repository and tf.lite will be removed from future TensorFlow Python packages, so we encourage migration of projects to LiteRT to receive the latest updates. More details to follow. As announced at Google I/O '25, LiteRT improves upon TFLite, particularly for NPU and GPU hardware acceleration and performance for on-device ML and AI applications. LiteRT provides a unified interface for Neural Processing Units (NPUs), removing the need to navigate vendor-specific compilers or libraries. This approach avoids many device-specific complications, boosts performance for real-time and large-model inference, and minimizes memory copies through zero-copy hardware buffer usage. For more information on the new repository and to sign up for the NPU Early Access Program, please reach out to the team at g.co/ai/LiteRT-NPU-EAP. Faster input pipeline warm-up with tf.data To help reduce latency, especially the time it takes for your model to process the first element of a dataset, we've added autotune.min_parallelism in tf.data.Options. This new option allows asynchronous dataset operations like .map and .batch to immediately start with a specified minimum level of parallelism, speeding up the initial warm-up time for your input pipelines. Changes to I/O GCS filesystem package The tensorflow-io-gcs-filesystem package for Google Cloud Storage support is now optional. Previously, it was installed, by default, with TensorFlow. If y

## What's new in TensorFlow 2.19

DevFeed: [What's new in TensorFlow 2.19](<https://devfeed.tech/articles/what-s-new-in-tensorflow-2-19-7421.md>)

Original publisher: [Read original article](<https://blog.tensorflow.org/2025/03/whats-new-in-tensorflow-2-19.html>)

Author: TensorFlow Blog (noreply@blogger.com)

Published: 2025-03-13T16:00:00Z

Content type: release

Language: en

Sources: [The TensorFlow Blog](<https://devfeed.tech/sources/the-tensorflow-blog.md>)

Topics: [Tensorflow](<https://devfeed.tech/topics/tensorflow.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>), [releases](<https://devfeed.tech/topics/releases.md>), [API](<https://devfeed.tech/topics/api.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Release notes](<https://devfeed.tech/topics/release-notes.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [migration](<https://devfeed.tech/topics/migration.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [api](<https://devfeed.tech/tags/api.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [keras](<https://devfeed.tech/tags/keras.md>), [libentensorflow](<https://devfeed.tech/tags/libentensorflow.md>), [litert](<https://devfeed.tech/tags/litert.md>), [migration-guide](<https://devfeed.tech/tags/migration-guide.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [release](<https://devfeed.tech/tags/release.md>), [release-notes](<https://devfeed.tech/tags/release-notes.md>), [tensorflow](<https://devfeed.tech/tags/tensorflow.md>), [tensorflow-core](<https://devfeed.tech/tags/tensorflow-core.md>), [tensorflowlite](<https://devfeed.tech/tags/tensorflowlite.md>)

### AI overview

TensorFlow 2.19 introduces C++ API changes in LiteRT, adds bfloat16 support for the tflite casting operation, and deprecates tf.lite.Interpreter in favor of ai_edge_litert.interpreter. The release also stops publishing libtensorflow packages, although they remain extractable from the PyPI package. Updates for multi-backend Keras are directed to keras.io.

### Source excerpt

Posted by the TensorFlow team TensorFlow 2.19 has been released! Highlights of this release include changes to the C++ API in LiteRT, bfloat16 support for tflite casting, discontinue of releasing libtensorflow packages. Learn more by reading the full release notes. Note: Release updates on the new multi-backend Keras will be published on keras.io, starting with Keras 3.0. For more information, please see https://keras.io/keras_3/. TensorFlow Core LiteRT The public constants tflite::Interpreter:kTensorsReservedCapacity and tflite::Interpreter:kTensorsCapacityHeadroom are now const references, rather than constexpr compile-time constants. (This is to enable better API compatibility for TFLite in Play services while preserving the implementation flexibility to change the values of these constants in the future.) TF-Lite tfl.Cast op is now supporting bfloat16 in the runtime kernel. tf.lite.Interpreter gives a deprecation warning redirecting to its new location at ai_edge_litert.interpreter, as the API tf.lite.Interpreter will be deleted in TF 2.20. See the migration guide for details. Libtensorflow We have stopped publishing libtensorflow packages but it can still be unpacked from the PyPI package.

## Introducing Wake Vision: A High-Quality, Large-Scale Dataset for TinyML Computer Vision Applications

DevFeed: [Introducing Wake Vision: A High-Quality, Large-Scale Dataset for TinyML Computer Vision Applications](<https://devfeed.tech/articles/introducing-wake-vision-a-high-quality-large-scale-dataset-for-tinyml-computer-vision-applications-7419.md>)

Original publisher: [Read original article](<https://blog.tensorflow.org/2024/12/introducing-wake-vision-new-dataset-for-person-detection-in-tinyml.html>)

Author: TensorFlow Blog (noreply@blogger.com)

Published: 2024-12-05T17:00:00Z

Content type: article

Language: en

Sources: [The TensorFlow Blog](<https://devfeed.tech/sources/the-tensorflow-blog.md>)

Topics: [Training AI Models](<https://devfeed.tech/topics/training-ai-models.md>), [machine learning overfitting](<https://devfeed.tech/topics/machine-learning-overfitting.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [community](<https://devfeed.tech/tags/community.md>), [computer-vision](<https://devfeed.tech/tags/computer-vision.md>), [data-quality](<https://devfeed.tech/tags/data-quality.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [edge](<https://devfeed.tech/tags/edge.md>), [google-ai](<https://devfeed.tech/tags/google-ai.md>), [litert](<https://devfeed.tech/tags/litert.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [on-device-ai](<https://devfeed.tech/tags/on-device-ai.md>), [person-detection](<https://devfeed.tech/tags/person-detection.md>), [research](<https://devfeed.tech/tags/research.md>), [tensorflow-lite](<https://devfeed.tech/tags/tensorflow-lite.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

Wake Vision is a roughly 6-million-image dataset for TinyML person detection. It provides large and quality-focused training sets, emphasizing that accurate labels can be especially valuable for constrained models.

### Source excerpt

Posted by Colby Banbury, Emil Njor, Andrea Mattia Garavagno, Vijay Janapa Reddi - Harvard University TinyML is an exciting frontier in machine learning, enabling models to run on extremely low-power devices such as microcontrollers and edge devices. However, the growth of this field has been stifled by a lack of tailored large and high-quality datasets. That's where Wake Vision comes in--a new dataset designed to accelerate research and development in TinyML. Why TinyML Needs Better Data The development of TinyML requires compact and efficient models, often only a few hundred kilobytes in size. The applications targeted by standard machine learning datasets, like ImageNet, are not well-suited for these highly constrained models. Existing datasets for TinyML, like Visual Wake Words (VWW), have laid the groundwork for progress in the field. However, their smaller size and inherent limitations pose challenges for training production-grade models. Wake Vision builds upon this foundation by providing a large, diverse, and high-quality dataset specifically tailored for person detection--the cornerstone vision task for TinyML. What Makes Wake Vision Different? Wake Vision is a new, large-scale dataset with roughly 6 million images, almost 100 times larger than VWW, the previous state-of-the-art dataset for person detection in TinyML. The dataset provides two distinct training sets: Wake Vision (Large): Prioritizes dataset size. Wake Vision (Quality): Prioritizes label quality. Wake Vision's comprehensive filtering and labeling process significantly enhances the dataset's quality. Why Data Quality Matters for TinyML Models In traditional overparameterized models, it is widely believed that data quantity matters more than data quality, as an overparameterized model can adapt to errors in the training data. But according to the image below, TinyML tells a different story: The figure above shows that high-quality labels (less error) are more beneficial for under-parameterized mo

## What's new in TensorFlow 2.18

DevFeed: [What's new in TensorFlow 2.18](<https://devfeed.tech/articles/what-s-new-in-tensorflow-2-18-7415.md>)

Original publisher: [Read original article](<https://blog.tensorflow.org/2024/10/whats-new-in-tensorflow-218.html>)

Author: TensorFlow Blog (noreply@blogger.com)

Published: 2024-10-28T19:00:00Z

Content type: release

Language: en

Sources: [The TensorFlow Blog](<https://devfeed.tech/sources/the-tensorflow-blog.md>)

Topics: [Tensorflow](<https://devfeed.tech/topics/tensorflow.md>), [releases](<https://devfeed.tech/topics/releases.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>), [NumPy](<https://devfeed.tech/topics/numpy.md>), [CUDA](<https://devfeed.tech/topics/cuda.md>), [cudnn](<https://devfeed.tech/topics/cudnn.md>), [NCCL](<https://devfeed.tech/topics/nccl.md>), [Google](<https://devfeed.tech/topics/google.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [cuda](<https://devfeed.tech/tags/cuda.md>), [cudnn](<https://devfeed.tech/tags/cudnn.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [litert](<https://devfeed.tech/tags/litert.md>), [migration](<https://devfeed.tech/tags/migration.md>), [nccl](<https://devfeed.tech/tags/nccl.md>), [nvidia](<https://devfeed.tech/tags/nvidia.md>), [nvidia-rtx](<https://devfeed.tech/tags/nvidia-rtx.md>), [python](<https://devfeed.tech/tags/python.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [reproducible-builds](<https://devfeed.tech/tags/reproducible-builds.md>), [tensorflow](<https://devfeed.tech/tags/tensorflow.md>), [tensorflow-core](<https://devfeed.tech/tags/tensorflow-core.md>)

### AI overview

TensorFlow 2.18 introduces NumPy 2.0 compatibility updates, transitions TFLite development to the LiteRT repository, and adds hermetic CUDA, cuDNN, and NCCL dependencies for more reproducible source builds. Binary packages add dedicated kernels for compute capability 8.9 GPUs, including NVIDIA RTX 40 series, L4, and L40, while dropping precompiled support for Maxwell GPUs.

### Source excerpt

Posted by the TensorFlow team TensorFlow 2.18 has been released! Highlights of this release (and 2.17) include NumPy 2.0, LiteRT repository, CUDA Update, Hermetic CUDA and more. For the full release notes, please click here. Note: Release updates on the new multi-backend Keras will be published on keras.io, starting with Keras 3.0. For more information, please see https://keras.io/keras_3/. TensorFlow Core NumPy 2.0 The upcoming TensorFlow 2.18 release will include support for NumPy 2.0. While the majority of TensorFlow APIs will function seamlessly with NumPy 2.0, this may break some edge cases of usage, e.g., out-of-boundary conversion errors and numpy scalar representation errors. You can consult the following common solutions. Note that NumPy's type promotion rules have been changed (See NEP 50 for details). This may change the precision at which computations happen, leading either to type errors or to numerical changes to results. Please see the NumPy 2 migration guide. We've updated some TensorFlow tensor APIs to maintain compatibility with NumPy 2.0 while preserving the out-of-boundary conversion behavior in NumPy 1.x. LiteRT Repository We're making some changes to how LiteRT (formerly known as TFLite) is developed. Over the coming months, we'll be gradually transitioning TFLite's codebase to LiteRT. Once the migration is complete, we'll start accepting contributions directly through the LiteRT repository. There will no longer be any binary TFLite releases and developers should switch to LiteRT for the latest updates. Hermetic CUDA If you build TensorFlow from source, Bazel will now download specific versions of CUDA, CUDNN and NCCL distributions, and then use those tools as dependencies in various Bazel targets. This enables more reproducible builds for Google ML projects and supported CUDA versions because the build no longer relies on the locally installed versions. More details are provided here. CUDA Update TensorFlow binary distributions now ship with d