Axisdream
Written and Published byAxisdream·

Text, Vision and Audio Running on the Phone

A model checkpoint reaching a phone through a runtime layer of kernels and backends

Key Takeaways

  • •A model that fits on a phone is not the same as a model that runs there. Between checkpoint and app sits a runtime handling memory, backends and encoders.
  • •Examines why weights are not enough, analyzing the structural bottlenecks and trade-offs in real-world deployments.
  • •Provides engineering benchmarks and verification criteria for what the runtime actually does.

Google's LiteRT-LM released version 0.19.1 on 5 November 2026, adding multimodal vision and audio support for Gemma 4 on the Artisan GPU backend, bidirectional attention for vision processing, and a breaking change to the C API at version 1.0.0.

The release is a small event with a large implication. Running a model on a phone requires a layer most people never see, and that layer is where most of the difficulty lives.

Why weights are not enough

A checkpoint is a file of numbers. To produce output it needs a program that reads those numbers, arranges them into the operations the architecture requires, and executes those operations efficiently on the hardware that is available.

That program is the runtime, and it is a different engineering problem from the model.

Phones constrain it on four axes. Memory is shared with the operating system and other applications, so a model competing for a gigabyte is competing with everything else. Power matters because a phone runs on a battery and a model that draws several watts drains it in hours. Thermal headroom is limited, so sustained compute throttles. And the hardware differs across devices, with different chips offering different accelerator interfaces.

The Google AI Edge documentation describes the same split between model and deployment target. A runtime exists to navigate those constraints, and its quality determines whether a model is usable on a device that fits it.

What the runtime actually does

Five jobs.

It loads the model file, which may be in a format specific to the runtime, and maps the tensors into memory in an order the hardware prefers.

It executes the operators. A transformer is a sequence of operations, and each has an implementation per backend. A matrix multiply on a mobile GPU uses a different kernel from one on a desktop card.

It schedules memory. Activations for intermediate results have to be allocated and freed, and a good runtime reuses buffers rather than allocating per layer.

It dispatches work across CPU, GPU and neural processing units, choosing which device runs which operator.

And it handles the preprocessing that turns an image or an audio clip into tensors the model expects.

Why backends are the interesting variable

A neural processing unit is a dedicated accelerator, and it can be dramatically faster per watt than a GPU for the operations it supports.

It can also be unusable for a given model, because the operator set it supports is finite. A model that uses an attention variant the device does not implement falls back to the CPU, and the fallback is slower and hotter than the GPU would have been.

That is why release notes describe backend support rather than speed. Adding a backend means a model that previously fell back can now run accelerated, and the gain depends entirely on the device.

The phrase GPU backend in a release note is therefore a coverage claim rather than a performance claim. It says the path exists. It says nothing about how fast it is on any particular phone.

The multimodal path is more than one model

Adding vision support is not a matter of passing an image to the language model.

An image passes through a vision encoder, which converts pixels into embeddings. Those embeddings are projected into the language model's embedding space and inserted into the token sequence alongside text. Audio takes a similar path through its own encoder.

Three consequences follow.

The encoder is a separate model with its own memory footprint, so a multimodal deployment needs room for both.

The encoders may run on different hardware from the language model, which makes dispatch a richer problem.

And vision processing can require different attention behaviour. Bidirectional attention, mentioned in the release, is what lets the vision component attend across the whole image rather than only to what came before, because an image has no natural direction of reading.

What to measure and what the measurements mean

A benchmark for on-device inference needs to name six things, and most do not.

The device, because a flagship and a mid-range phone differ by a factor of several on the same model.

The backend, because CPU and GPU and NPU produce different latencies for the same work.

The model and its precision, because a 4-bit checkpoint is not the same artefact as a 16-bit one and the quality differs along with the memory.

The context length, because prefill cost scales with input and the key-value cache scales with total session length.

The power state, because a phone on a charger with a cool battery behaves differently from one in a pocket.

And the task, because tokens per second on a short prompt is not the same workload as a long conversation.

A number that omits those is a marketing figure. A number that includes them is comparable to another number that includes them, and almost nothing published meets that bar.

When local inference is the right choice

Four situations where running on the device beats calling an API.

Data cannot leave the device, which covers health information, personal documents and anything the user considers private.

The network is unavailable or unreliable, which covers field work, travel and rural connectivity.

Latency matters more than quality, because a local model's first token arrives without a round trip to a data centre.

And the task is narrow and repetitive, so a small specialised model performs well enough and the cost of an API call per invocation is not worth paying.

The counter-case is equally clear. A task requiring frontier reasoning, a large context or the latest knowledge runs better on a server, and the gap between a phone-sized model and a hosted frontier model on complex work is large enough that convenience does not close it.

The realistic architecture uses both, choosing per task. The runtime layer is what makes that choice possible, and its maturity is what determines which tasks can move to the device.

Related Dispatches