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 256 input / 128 output: 256 tokens in, 128 out
Decoding
Greedy, batch 1, context 4,096
Power
Plugged in

Balanced: Decode speed, time to first token and peak memory, weighted equally.

details

Balanced Decode speed, time to first token and peak memory, weighted equally.

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

† 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.

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

† 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.

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

† 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.

† 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.

† 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
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.361.1 range359.7–362.630.7 range30.6–31.21.44 range1.43–1.458,486 range8,348–8,5136of 6 planned
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.326.2 range294.8–332.230.5 range24.1–32.31.41 range1.41–1.438,827 range8,336–11,3026of 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.330.1 range327.3–330.925.5 range25.3–25.61.90 range1.89–1.9010,049 range9,989–10,1096of 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.325.0 range288.1–329.834.5 range34.0–36.61.41 range1.41–1.437,575 range7,149–7,6976of 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.361.9 range358.8–364.833.5 range31.3–37.31.69 range1.68–1.707,775 range6,968–8,3286of 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.374.3 range373.4–374.775.1 range74.3–76.51.46 range1.46–1.5213,385 range13,101–14,4266of 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.119.1 range117.6–119.6277 range276–2781.73 range1.73–1.731,015 range1,010–1,0206of 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-256-128.