Explore this comparison’s ranking

Comparison Counted

Which engine runs LFM2.5 350M best on iPhone 12 · 4 GB?

Device
iPhone 12 · 4 GB (iPhones)
OS
iOS 27
Model
LFM2.5 350M, 350M parameters
Weights
8-bit
Workload
Archive 256 input / 128 output: 256 tokens in, 128 out
Decoding
Greedy, batch 1, context 4,096
Power
Plugged in

Speed: Decode speed: tokens generated per second.

Which engine runs LFM2.5 350M best on iPhone 12 · 4 GB? Ranked by Speed.
#EngineDecode and First token
1uzu, an approximate comparison, see details Mirai Decode: 74.8 tok/s 383 ms first token
2llama.cpp, an approximate comparison, see details ggml-org Decode: 49.8 tok/s 297 ms first token
details

Speed Decode speed: tokens generated per second.

Score: 100 is the best result in every comparison an engine entered; 80 is 80% of the best, on average. Only complete experiments with a passed output check count. How rankings work

† uzu: approximate comparison. The experiments use different effective KV cache precision: f16, uzu default. The experiments here use different 8-bit schemes: Q8_0, mirai-l.

† llama.cpp: approximate comparison. The experiments use different effective KV cache precision: f16, uzu default. The experiments here use different 8-bit schemes: Q8_0, mirai-l.

Every experiment

Medians over valid trials, with the lowest and highest beneath. Eligible experiments are complete and passed their output check. The ranking above selects each engine's configuration for this objective when its required metrics are measured.

Every experiment in this comparison
ExperimentRanking eligibilityDecode tok/s, higher is betterFirst token ms, lower is betterMemory GiB, lower is betterPrefill tok/s, higher is betterValid trials
uzu 0.6.17 · Metal · mirai-l Eligible, approximately: The experiments use different effective KV cache precision: f16, uzu default. The experiments here use different 8-bit schemes: Q8_0, mirai-l.74.8 range73.9–75.4383 range373–399Not measured789.4 range783.3–802.66of 6 planned
llama.cpp b12110 · Metal · Q8_0 Eligible, approximately: The experiments use different effective KV cache precision: f16, uzu default. The experiments here use different 8-bit schemes: Q8_0, mirai-l.49.8 range47.7–50.3297 range293–300Not measured862.9 range857.0–876.76of 6 planned

Every trial, metric by metric

The line runs from an experiment's lowest to its highest valid trial, the dot is the median and each tick is one trial. Every scale starts at zero.

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.

About this comparison

Worked out from its experiments: every experiment here shares the device, the OS major version, the power state, the base model, the quantization class and the workload. Measured under methodology v0.6. Comparison id glenn-iphone-12--ios-27--lfm2.5-350m--8-bit--archive-256-128.