﻿# SplitLM: phase placement, estimated time and observed requests

SplitLM combines Snapdragon NPU prefill with CPU decode. Separate same-build phase rates, calculated request times, actual requests and the inspected handoff timer.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/splitlm-snapdragon-phase-placement-estimated-measured-request-time/
Language: en

## The useful split follows inference phases

SplitLM's [owner report](https://github.com/dastin359/SplitLM) describes a Dell Latitude 7455 with Snapdragon X Elite X1E80100, 32 GB memory and Windows 11 Arm. For Qwen3.5-2B Q4_0 with a 4096-token prompt and 128 generated tokens, CPU prefill/decode rates are 423/55.4 tokens per second; NPU rates are 1614/29.0. The split combines NPU prefill with CPU decoding.

The result concerns a phase placement strategy, not a claim that the NPU is faster at every part of generation. It also compares routes inside the owner's modified build. A difference from that build's automatic device choice should not be relabeled as a comparison against every stock llama.cpp version or every Snapdragon laptop.

## Calculated request times and observed times are different rows

The headline table computes 4.85 seconds for the split versus 9.72 seconds for default placement. Separately, the owner reports an observed complete request around 5.1 seconds for split, 10.9 for CPU and 6.4 for NPU. The calculated split assumes CPU-rate decoding after handoff; the report also notes substantial CPU variability.

A calculation from phase throughput is useful for estimating where time could be saved. It cannot include a transition cost merely because that cost seems small elsewhere. Comparing the estimate with an actual request checks whether phase composition is plausible, while preserving any mismatch rather than rounding it away.

The [llama-bench documentation](https://github.com/ggml-org/llama.cpp/blob/master/tools/llama-bench/README.md) distinguishes prompt processing, generation and their combined test. It says its measurements exclude tokenization and sampling. That boundary prevents a phase-rate table from automatically becoming a user-visible service-latency measurement.

## The standalone source measures the handoff explicitly

The [pinned benchmark source](https://raw.githubusercontent.com/dastin359/SplitLM/0a5105bb03c643e56f8b585f1c930f665ac2e715/src/split_bench.cpp) clears state, times prefill, exports and imports sequence state when devices differ, then times greedy decoding. Model loading and the initial warmup occur outside its repeated run. It reports actual generated-token count and stops at an end token. Thus requested output length and completed output length should both remain visible in a reproduction.

This source describes the inspected standalone program; it does not establish that every historical reported number used identical code. Preserve the selected executable and route when comparing a local benchmark with an HTTP server. First-token reporting also deserves a precise definition because token selection, state movement and client delivery are distinct events.

## A throughput result does not establish an energy advantage

The repository contains an [energy-counter helper](https://raw.githubusercontent.com/dastin359/SplitLM/0a5105bb03c643e56f8b585f1c930f665ac2e715/src/energy.h) that reads Windows energy-meter rails. Its presence is implementation evidence, not a measured energy result for the quoted timing table. Unsupported counters and collection failures also need explicit handling before interpreting any returned value as a physical observation.

A follow-up should alternate routes, retain background activity and compare output behavior alongside timings. The [benchmark guide](/journal/inference-benchmark-method/) and [energy guide](/journal/measuring-energy-per-inference/) explain those separate measurement questions. This review inspected public reports and code without building the prototype, signing drivers, running inference or measuring battery life, temperature or energy.
