Skip to Main Content
Talk Intermediate MIT License (software)

On-device inference: deploying and debugging models on Android

Proposal status is Withdrawn
Omkar Wagholikar
Omkar Wagholikar
Session Description

As AI powered applications become more common, there is a growing concern for the cost, latency, privacy and dependence on proprietary and expensive models hosted in the Cloud. At the same time advances in hardware make compelling solutions for alternative solutions namely: inference over the edge.

One device inference at the edge, involves running a model directly on client hardware without involving the network. What was once considered impractical is now achievable on commodity smartphones.

This shift has been enabled by a new generation of production ready runtimes, including whisper.cpp for speech processing, llama.cpp for local language model inference, and LiteRT-LM for deploying generative AI workloads on-device. This talk explores all three in depth.

We will also discuss the shared foundation and philosophies in the runtimes, the problem each solves along with a look at deeper architectural concepts

The session concludes with a live demonstration of a fully offline Android application running Gemma 4 E2B locally. The application records a voice note, transcribes it on device, extracts calendar events using a local language model, and creates the event in the system calendar all without network access or cloud services.

Key Takeaways
  1. What ggml does differently from PyTorch / TensorFlow
  2. A working sense of quantisation trade-offs
  3. The real cost dimensions of edge inference (beyond the model size, including but not limited to: KV Cache Optimization and Cold Starts)

References

Session Categories

Technology architecture
Engineering practice - productivity, debugging
Talk License: MIT License (software)

Speakers

Omkar Wagholikar
Omkar Wagholikar Software Development Engineer

I am a full-stack web developer, with skills complemented by backend expertise in frameworks like Flask, Django, AWS. Alongside this, I have explored lower-level programming in C and Rust, strengthening my ability to design efficient and scalable solutions.

I enjoy experimenting with generative AI and LLMs, as well as designing systems that can detect and add provenance to the same.

Beyond coding, I’m also interested in graphic designing and photography

I’m always excited to connect, collaborate, create or just chat about exciting tech stuff