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
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.
| Check | Value | Threshold | Result |
|---|---|---|---|
| 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)
| Case | Split | Agreement | Top-k overlap | Greedy | Tokens |
|---|---|---|---|---|---|
| p000 | public · builtin | 1.00 | 1.00 | 1.00 | yes |
| p001 | public · builtin | 1.00 | 1.00 | 1.00 | yes |
| p002 | public · customer | 1.00 | 1.00 | 1.00 | yes |
| p003 | public · customer | 1.00 | 1.00 | 1.00 | yes |
| p004 | public · customer | 1.00 | 1.00 | 1.00 | yes |
| p005 | public · customer | 1.00 | 1.00 | 1.00 | yes |
| p006 | public · customer | 1.00 | 1.00 | 1.00 | yes |
| p007 | public · customer | 1.00 | 1.00 | 1.00 | yes |
| p008 | public · customer | 1.00 | 1.00 | 1.00 | yes |
| p009 | public · customer | 1.00 | 1.00 | 1.00 | yes |
| p010 | public · customer | 1.00 | 1.00 | 1.00 | yes |
| p011 | public · customer | 1.00 | 1.00 | 1.00 | yes |
| p012 | public · customer | 1.00 | 1.00 | 1.00 | yes |
| p013 | public · customer | 1.00 | 1.00 | 1.00 | yes |
| h000 | hidden · generated | 1.00 | 1.00 | 1.00 | yes |
| h001 | hidden · generated | 1.00 | 1.00 | 1.00 | yes |
| h002 | hidden · generated | 1.00 | 1.00 | 1.00 | yes |
| h003 | hidden · generated | 1.00 | 1.00 | 1.00 | yes |
| h004 | hidden · generated | 1.00 | 1.00 | 1.00 | yes |
| h005 | hidden · generated | 1.00 | 1.00 | 1.00 | yes |
Runtime
Asked for Metal (llama.cpp fork). Clean build, the port's own code and build log: uses llama.cpp.
- src/runner.cpp:164: llama_model * model = llama_model_load_from_file(model_path.c_str(), mparams);
- build log: [ 98%] Linking CXX static library libllama.a
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) | Median | p10 | p90 | n |
|---|---|---|---|---|
| Decode speed | 29.38 tok/s | 26.49 tok/s | 29.99 tok/s | 10 |
| Prefill speed | 86.04 tok/s | 86.01 tok/s | 86.38 tok/s | 10 |
| Time to first token | 1825 ms | 1818 ms | 1825 ms | 10 |
| End-to-end speed | 20.85 tok/s | 19.34 tok/s | 21.14 tok/s | 10 |
| Request time | 6138 ms | 6054 ms | 6619 ms | 10 |
| Time to first token (cold) | 1810 ms | 1810 ms | 1810 ms | 5 |
| Load time | 1038 ms | 1032 ms | 1044 ms | 5 |
| Process wall time | 20361 ms | 19901 ms | 20521 ms | 5 |
| 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
- 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.