﻿# llada.cpp on mobile NPUs: decoding, memory and the correct energy pair

The mobile diffusion LLM study combines decoding and memory changes. Its LLaDA energy figure is 581 to 25 J, with a specific battery measurement boundary.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/llada-cpp-mobile-npu-diffusion-energy-correct-categories/
Language: en

llada.cpp studies how diffusion language-model decoding can fit mobile NPU execution. The significant result is a coordinated decoding and memory design, rather than moving an unchanged workload to another processor. Its reported energy comparison also requires careful reading: adjacent model categories in the figure represent different experiments.

## Make parallel token work useful to the accelerator

The [paper abstract](https://arxiv.org/abs/2606.13740) identifies speculative work on future blocks, progressive token revision and a swap-optimized runtime. It reports 17–42 times lower LLaDA-8B generation latency than a CPU baseline with prefix-cache reuse. This is an author comparison across the evaluated conditions, not a universal NPU speed multiplier.

The underlying scheduling question is what remains when a denoising block has few undecided tokens. Sending a small amount of work to a tiled accelerator can waste available execution capacity. Filling spare work with future tokens introduces a different risk: those predictions can depend on context that is still changing. A system needs both utilization and a way to revise unstable decisions.

## Keep the CPU path and visible-memory boundary

The [full methods](https://arxiv.org/html/2606.13740v1) describe dense NPU execution alongside CPU-managed token decisions and cache refresh. Stable mappings, shared staging regions and overlapped preparation address limited NPU-visible virtual address space. Shared physical memory therefore does not imply that every tensor can remain simultaneously accessible to the accelerator.

The primary platform is OnePlus Ace5 Pro with SM8750 and 16 GB memory; models use Q4_0 weights. Quality is assessed on 200-sample subsets of four tasks, with scores changing in both directions. That supports bounded quality comparisons rather than exact equivalence for all applications. Hardware-specific operator support also matters when moving the implementation to another phone.

## Correct the energy categories before comparing

The [actual PDF, Figure 14](https://arxiv.org/pdf/2606.13740v1), shows LLaDA CPU versus llada.cpp at 3.8 versus 2.9 W and 581 versus 25 J. The neighboring Llama comparison instead shows 4.6 versus 5.3 W and 158 versus 145 J. Pairing 581 with 158 would cross model categories and misstate the result.

These are fixed 128-token workloads on SM8750. The methodology samples battery sysfs power and integrates idle-subtracted energy over the request. The figure's CPU label should not silently be replaced with a different baseline from the latency tables. [Energy measurement boundaries](/journal/measuring-energy-per-inference/) explain why average power, incremental energy and whole-device consumption need distinct labels.

## Interpret the system result at the request boundary

Lower average power and faster completion are different contributors to energy. A higher-power accelerator path can still use less incremental energy, as the adjacent Llama result illustrates; the size of that benefit remains workload-specific. Idle subtraction also means the figure is not a direct report of all battery energy during the interval.

For a deployment comparison, preserve token targets, actual output, quality and the chosen baseline, then align the power trace with the full request. [Meter-window alignment](/journal/power-meter-time-alignment/) covers that last requirement. The paper supplies concrete evidence for matching parallel decoding to NPU constraints. It does not establish that any language model offloaded to a mobile NPU becomes equally faster or more energy-efficient.
