LFM2.5 350M on iPhone 12 · 4 GB

Experiment Complete Published

llama.cpp b12110 on iPhone 12 · 4 GB, Metal

LFM2.5 350M as BF16 (bf16), archive 256 input / 128 output: a 256-token prompt and 128 tokens out. Measured 12 Nov 2026, 22:07 UTC by Glenn Sonna, Xybrid.

Eligible for ranking when the objective's required metrics are measured and this configuration is selected.

Experiment id s4-iphone12-lfm2.5-350m-bf16-llama-256

Summary

Over 6 valid trials of 6 attempted (6 planned), computed from the raw trials below.

MetricMedianRangeMean ± SDQuartiles
Decode speed tok/s, higher is better39.7 39.2–40.0 39.7 ± 0.3 39.5–39.9
Time to first token ms, lower is better304 301–310 304 ± 3.3 301–306
Peak memory GiB, lower is betterNot measured
Prefill speed tok/s, higher is better845.1 829.0–853.2 844.2 ± 9.3 840.3–851.6

Trials, metric by metric

The line runs from the lowest to the highest valid trial, the dot is the median and each tick is one trial.

Decode speed tok/s, higher is better
Time to first token ms, lower is better
Peak memory GiB, lower is better
Prefill speed tok/s, higher is better

Every trial

Raw token counts and durations, with the speeds computed from them. Invalid trials stay in the record with their reason; they are left out of the summary, never silently dropped.

Every attempted trial
TrialTime to first token msPrefill tok/sDecode tok/sPeak memory GiBThermalNote
1305841.1256 tok in 304 ms, engine39.2127 tok in 3,238 ms, enginenot recordednominal → nominal
2310829.0256 tok in 309 ms, engine39.6127 tok in 3,207 ms, enginenot recordednominal → nominal
3302849.1256 tok in 301 ms, engine39.5127 tok in 3,217 ms, enginenot recordednominal → nominal
4301852.5256 tok in 300 ms, engine39.9127 tok in 3,184 ms, enginenot recordednominal → nominal
5301853.2256 tok in 300 ms, engine40.0127 tok in 3,176 ms, enginenot recordednominal → nominal
6306840.0256 tok in 305 ms, engine39.9127 tok in 3,182 ms, enginenot recordednominal → nominal

Caveats

  • Publisher cards identify the base model but do not always pin the exact export source checkpoint revision.
  • Engines may differ in quantization scheme, effective KV cache precision, kernels, and activations.

Configuration

Device

Device
Apple iPhone13,2
Cohort
iPhones (mobile)
SoC
Apple A14 Bionic
CPU
6-core CPU (2 performance, 4 efficiency)
GPU
4-core Apple GPU
NPU
16-core Neural Engine
RAM
4.00 GiB
OS
iOS 27.2.1 (24B156)
Kernel
Darwin Kernel Version 27.2.0: Tue Oct 13 21:44:36 PDT 2026; root:xnu-13432.42.3~28/RELEASE_ARM64_T8101
Power
usb
Low power mode
No
App state
active

Engine

Engine
llama.cpp
Maintainer
ggml-org
License
MIT, open source
Version
b12110
Commit
cd959bae99ff4bed22bef2604f45241c09bbb8c8
Binary SHA-256
c1a1252fac9adcbcd54d3ce0f381dba44f6ba05f0561d4b05e79a04228a8ea12
Built from
release
Build flags
None
Backend
Metal
Threads
Not recorded
Interface
ios-app
Settings in effect
backend=metal gpu_layers=999 flash_attn=on cache_type_k=f16 cache_type_v=f16 load_mode=mmap app=XybridBench process=one app launch per generation threads=C API default sampling=greedy prompt=frozen token IDs

Model and weights

Base model
LFM2.5 350M (LFM2.5, 350M)
Upstream
LiquidAI/LFM2.5-350M@9921cd4d82c0e3986887aa4b376f9446729ef8a3
Weights
LiquidAI/LFM2.5-350M-GGUF@657e078c94084481950a2d555a941481f715536b
Format
gguf
File 1
LFM2.5-350M-BF16.gguf · 678.5 MiB · sha256 8da576155e67ae093f49e4ebf638c025a04c0d28d5ec42bd28617ca18a52539d
File 2
README.md · 3,277 bytes · sha256 4773739eb49540664b16566dc655d03a51df3937639e9dbf28d48a15d01b2436
Quantization
BF16 (bf16)
Weight bits
16
Group size
Not recorded
KV cache
f16
Conversion
Published upstream by LiquidAI
Conversion command
Not recorded

Workload

Workload
Archive 256 input / 128 output
Prompt
256 tokens, from prompts/source.txt
Prompt SHA-256
c10d1b7bef62d95322f8f8d229dc66118d9375107bdc49b06f76287d058b2f6c
Chat template
ba551d58630afa3190b1be3602e28301f3d2e9bbac978dfc49d6d825171648b6
Output
128 tokens, ignoring end of sequence
Context length
4,096
Batch size
1
Sampling
Greedy
Timing
One streamed request per trial
Warmup
2 runs, not counted
Trials planned
6
Cooldown
60 s between trials

Conditions

Ambient
Not recorded
Thermal at start
nominal
Thermal at end
nominal
Thermal gate
iOS thermal state nominal
Throttling detected
No

Provenance

Measured by
Glenn Sonna, Xybrid
Operator affiliation
Xybrid
Run at
12 Nov 2026, 22:07 UTC
Harness
xybrid-bench 0.4.0 (e3e21d028b98252aeb43b3251e21b3e0dfb2b329)
Methodology
v0.6
Publication
published
Published
16 Nov 2026, 10:23 UTC
Reviewed by
Glenn Sonna

Output check

Result
Passed
Method
sanity-v1-bf16-reference
Reference
checks/sanity-v1.json
Reference SHA-256
a702dee079525ae0ec90465b1c9e26052c99cb3e1c53e83dea05be4c194fc7ca
Required passing checks
7
Check arithmetic
Failed · sha256 4a44dc15364204a80fe80e9039455cc1608281820fe2b24f1e5233ade6af1dd5
Check capital
Passed · sha256 5dd272b4f316b776a7b8e3d0894b37e1e42be3d5d3b204b8a5836cc50597a6b1
Check opposite
Passed · sha256 f151cd9e12c8994edfa316e4624f956bc68460454869177f287146f8cc956a12
Check weekday
Passed · sha256 7d8af1de1262f150187d5938bf649d6c35726970685f916d1ec6392a801b9762
Check color
Passed · sha256 d486dfbd5fb578340bccbdd0a662527eab38550648d5f44517e5ac71b8824703
Check sort
Failed · sha256 edb794d615a63f5eec436d83bed7299d6af36f508c0bf38a3c1cd85d6e4ebd56
Check animal
Passed · sha256 4b227777d4dd1fc61c6f884f48641d02b4d121d3fd328cb08b5531fcacdabf8a
Check word
Failed · sha256 df7e70e5021544f4834bbee64a9e3789febc4be81470df629cad6ddb03320a5c
Check copy
Passed · sha256 d61e6890d0e3571b0c7693612d41f8d059a1fcdef4ba959c0af4144541d41907
Check needle-start
Passed · sha256 8b9af2e5b8b4cfddb87d171997b95c471f8d68a68e30fb5177abeb3332372edd
Check needle-end
Passed · sha256 e6589c736af32f81bf239c5eda6de41959122ccc1d05463b75e0eb0c70fc831c
Check continuation-128
Failed · sha256 d7f917cdf362c04c176faac2a3a39c878a91838b9152de3ff5b965c02ccc8763
Detail
8/8 of the checks the model passes at BF16; needs 7 and the mandatory ones (needle-start, needle-end). Left out, failed by every BF16 configuration: arithmetic, sort, word, continuation-128.

Reproduce it

Commands
pnpm bench run --plan plans/s4-iphone12-lfm2.5-350m-bf16.json

Three palindromic blocks per quantization class and workload; load, two warmups, one trial, unload per turn.

Raw data