Explore this comparison’s ranking

Comparison Counted

Which engine runs LFM2.5 1.2B Instruct best on M5 Max · 64 GiB?

Device
M5 Max · 64 GiB (Apple silicon Macs)
OS
macOS 27
Model
LFM2.5 1.2B Instruct, 1.2B parameters
Weights
8-bit
Workload
Archive 2048 input / 128 output: 2,048 tokens in, 128 out
Decoding
Greedy, batch 1, context 4,096
Power
Plugged in

Memory: Peak memory while generating: the less, the better.

Which engine runs LFM2.5 1.2B Instruct best on M5 Max · 64 GiB? Ranked by Memory.
#EngineMemory and Decode
1Ollama, an approximate comparison, see details Ollama Memory: 1.43 GiB 321.4 tok/s decode
2llama.cpp, an approximate comparison, see details ggml-org Memory: 1.43 GiB 319.6 tok/s decode
3uzu, an approximate comparison, see details Mirai Memory: 1.51 GiB 368.8 tok/s decode
4Magnitude, an approximate comparison, see details Magnitude Memory: 1.90 GiB 329.6 tok/s decode
5MLX LM, an approximate comparison, see details Apple (ml-explore) Memory: 2.37 GiB 338.4 tok/s decode
6Rapid-MLX, an approximate comparison, see details Rapid-MLX contributors Memory: 2.54 GiB 340.6 tok/s decode
7LiteRT-LM, an approximate comparison, see details Google AI Edge Memory: 2.69 GiB 118.8 tok/s decode
details

Memory Peak memory while generating: the less, the better.

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

† Ollama: approximate comparison. The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default.

† llama.cpp: approximate comparison. The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default.

† uzu: approximate comparison. The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default. Its weights are 8-bit in another scheme: mirai-l, where most use Q8_0.

† Magnitude: approximate comparison. The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default. Its phases were timed by the harness clock around the engine API, so they include transport that engine counters leave out.

† MLX LM: approximate comparison. The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default. Its weights are 8-bit in another scheme: mlx-affine-8bit-g64, where most use Q8_0.

† Rapid-MLX: approximate comparison. The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default. Its weights are 8-bit in another scheme: mlx-affine-8bit-g64, where most use Q8_0.

† LiteRT-LM: approximate comparison. The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default. Its weights are 8-bit in another scheme: litert-int8, where most use Q8_0.

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
Ollama 0.40.13 · Metal · Q8_0 Eligible, approximately: The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default.321.4 range321.1–322.4133 range132–1351.43 range1.43–1.4315,732 range15,520–15,8856of 6 planned
llama.cpp b12110 · Metal · Q8_0 Eligible, approximately: The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default.319.6 range315.9–323.2139 range139–1401.43 range1.43–1.4314,799 range14,691–14,8476of 6 planned
uzu 0.6.17 · Metal · mirai-l Eligible, approximately: The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default. Its weights are 8-bit in another scheme: mirai-l, where most use Q8_0.368.8 range368.5–369.0127 range126–1301.51 range1.51–1.5130,505 range30,394–30,6256of 6 planned
Magnitude 0.2.17 · Metal · Q8_0 Eligible, approximately: The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default. Its phases were timed by the harness clock around the engine API, so they include transport that engine counters leave out.329.6 range328.4–330.996.3 range96.1–96.51.90 range1.90–1.9021,262 range21,223–21,3086of 6 planned
MLX LM 0.32.2 · Metal · mlx-affine-8bit-g64 Eligible, approximately: The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default. Its weights are 8-bit in another scheme: mlx-affine-8bit-g64, where most use Q8_0.338.4 range335.9–338.9101 range100–1012.37 range2.35–2.3820,476 range20,431–20,5776of 6 planned
Rapid-MLX 1.0.2 · Metal · mlx-affine-8bit-g64 Eligible, approximately: The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default. Its weights are 8-bit in another scheme: mlx-affine-8bit-g64, where most use Q8_0.340.6 range340.0–342.4105 range100–1052.54 range2.53–2.5419,613 range19,565–20,5756of 6 planned
LiteRT-LM 0.19.1 · CPU · litert-int8 Eligible, approximately: The experiments use different effective KV cache precision: litert-lm default, f16, magnitude default, model-dtype, uzu default. Its weights are 8-bit in another scheme: litert-int8, where most use Q8_0.118.8 range117.0–119.31,493 range1,484–1,4992.69 range2.69–2.691,396 range1,391–1,4056of 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.

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

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-m5-max-64gb--macos-27--lfm2.5-1.2b-instruct--8-bit--archive-2048-128.