nnopt verification report · Text to text

prism-ml/Bonsai-27B-gguf on mac-mini-m2pro

Job NN-53D464 · 2026-10-16 07:42 UTC · nnopt-verify 0.1.0 · reference bundle b8e1d595699387ed

CorrectnessPASSoriginal precision policy
Speed targetMETDecode speed 29.38 tok/s vs 19.02 tok/s required
RuntimePASSllama.cpp, as asked
Decode29.38 tok/swarm, median
Peak memory4532 MBprocess tree
Load time1038 ms

Correctness

The port ran on 20 inputs (6 hidden, generated fresh for this job and never shown to the porting agent) and was compared with the reference outputs captured from your code. Thresholds are for the original precision policy.

CheckValueThresholdResult
All cases ran
20/20 cases produced valid output
1.00>= 1.00✓ PASS
Tokenizer matches
prompt token ids identical
1.00>= 1.00✓ PASS
Next-token agreement (teacher-forced)
teacher-forced top-1 agreement over 1862 positions (0 near-ties forgiven)
1.00>= 0.980✓ PASS
Top-k overlap
mean top-10 overlap
1.00>= 0.900✓ PASS
Greedy continuation matched
mean matched prefix of 32 greedy tokens; 100% of prompts exact
1.00>= 0.750✓ PASS
Per-case results (20 cases)
CaseSplitAgreementTop-k overlapGreedyTokens
p000public · builtin1.001.001.00yes
p001public · builtin1.001.001.00yes
p002public · customer1.001.001.00yes
p003public · customer1.001.001.00yes
p004public · customer1.001.001.00yes
p005public · customer1.001.001.00yes
p006public · customer1.001.001.00yes
p007public · customer1.001.001.00yes
p008public · customer1.001.001.00yes
p009public · customer1.001.001.00yes
p010public · customer1.001.001.00yes
p011public · customer1.001.001.00yes
p012public · customer1.001.001.00yes
p013public · customer1.001.001.00yes
h000hidden · generated1.001.001.00yes
h001hidden · generated1.001.001.00yes
h002hidden · generated1.001.001.00yes
h003hidden · generated1.001.001.00yes
h004hidden · generated1.001.001.00yes
h005hidden · generated1.001.001.00yes

Runtime

Asked for Metal (llama.cpp fork). Clean build, the port's own code and build log: uses llama.cpp.

Speed and memory

2 warm-up runs, then 5 timed runs of 3 requests each (the first request of each run is cold). Timed on the device's own clock.

Metric (warm requests)Medianp10p90n
Decode speed29.38 tok/s26.49 tok/s29.99 tok/s10
Prefill speed86.04 tok/s86.01 tok/s86.38 tok/s10
Time to first token1825 ms1818 ms1825 ms10
End-to-end speed20.85 tok/s19.34 tok/s21.14 tok/s10
Request time6138 ms6054 ms6619 ms10
Time to first token (cold)1810 ms1810 ms1810 ms5
Load time1038 ms1032 ms1044 ms5
Process wall time20361 ms19901 ms20521 ms5
Peak RSS (process tree)4532 MB
Peak memory (self-reported)4530 MB

External cross-check (paired --max-new-tokens N vs 1, 5 pairs, device clock): Decode speed: 27.60 tok/s. Graded values are capped by it.

Roofline: not computed (no environment specs or model facts were given).

Sustained run

The model ran continuously while the kit sampled temperature, clocks and power.

Decode speed over time

303030303032s174s317s459s602s32 s: 30 tok/s95 s: 30 tok/s158 s: 30 tok/s221 s: 30 tok/s285 s: 30 tok/s348 s: 30 tok/s412 s: 30 tok/s476 s: 30 tok/s538 s: 30 tok/s602 s: 30 tok/s
Duration
633.2 s
Runs
10
Sustained / initial speed
100.0%
Max temperature
–
GPU clock min / max
– / –
Mean power
–
Energy per token
–

Environment and reproducibility

device
Mac mini (M2 Pro)
gpu
Apple M2 Pro GPU, 19 cores
name
Mac mini (M2 Pro)
executor
local
os
darwin
reference python
3.12.14
reference numpy
2.5.4
reference nnopt_verify
0.1.0
reference platform
macOS-27.0.1-arm64-arm-64bit

reproduce.sh re-runs the check and benchmark against the same frozen reference bundle; results.csv and results.json hold every number in this report.