Raw History Blame Contribute Delete
4.54 kB
{
"schema": "prism-mtp-backend-settings/v1",
"model": "Bonsai 2.5 Ternary 27B with MTP draft head (v2)",
"backend": "metal",
"source": {
"repo": "prism-ml/Ternary-Bonsai-2.5-27B-gguf-mtp",
"revision": "538feafac9 (main, same card as tag v2)",
"document": "README.md",
"head_version": "v2",
"note": "Private, unreleased model. Settings and numbers are copied from the card; do not redistribute."
},
"file": {
"name": "Ternary-Bonsai-2.5-27B-PQ2_0-mtp.gguf",
"size_bytes": 7492338944,
"sha256": "ededc9fc0a8a6a8dd30914d107b2d2ce7674d789f1d05a1a481f240609aa6c23"
},
"why_this_file": "PQ2_0 (simple 2-bit packing) is the fastest packing on Apple Silicon; needs the PrismML llama.cpp fork.",
"profiles": [
{
"id": "metal-apple-silicon",
"devices": [
"MacBook Pro M4 Pro (measured)",
"Apple Silicon"
],
"released_build": {
"build": "prism-b12128-d7b2896",
"draft": {
"spec_type": "draft-mtp",
"n_min": 0,
"n_max": 1,
"p_min": 0.6,
"args": [
"--spec-type",
"draft-mtp",
"--spec-draft-n-min",
"0",
"--spec-draft-n-max",
"1",
"--spec-draft-p-min",
"0.6"
]
},
"draft_note": "lower cut-offs tie or lose",
"env": {},
"server_args": [
"-ngl",
"99",
"-fa",
"on",
"-c",
"16384",
"-np",
"1"
],
"command": "llama-server -m Ternary-Bonsai-2.5-27B-PQ2_0-mtp.gguf -ngl 99 -fa on -c 16384 -np 1 --spec-type draft-mtp --spec-draft-n-min 0 --spec-draft-n-max 1 --spec-draft-p-min 0.6",
"measured_2026_11_24": {
"MacBook Pro M4 Pro": {
"generation_tok_s": {
"mtp_off": 22.19,
"mtp_on": 25.17,
"ratio": 1.13
},
"prefill_8k_tok_s": {
"mtp_off": 122.6,
"mtp_on": 118.9
},
"prefill_2k_tok_s": {
"mtp_off": 125.9,
"mtp_on": 122.7
},
"note": "18 prompts, 2 rounds"
}
}
},
"testing_build": {
"status": "not released",
"build": "base d12ca13bb + Metal kernels in testing (measured: 3cfa168ad)",
"draft": {
"spec_type": "draft-mtp",
"n_min": 0,
"n_max": 1,
"p_min": 0.6,
"args": [
"--spec-type",
"draft-mtp",
"--spec-draft-n-min",
"0",
"--spec-draft-n-max",
"1",
"--spec-draft-p-min",
"0.6"
]
},
"env": {
"GGML_METAL_PQ2_COEF": "1",
"LLAMA_MTP_PREFILL_LEAN": "1",
"GGML_METAL_SSM_CONV_ROWS": "1"
},
"server_args": [
"-ngl",
"99",
"-fa",
"on",
"-c",
"16384",
"-np",
"1",
"--no-warmup",
"--cache-ram",
"0"
],
"kv_cache": "f16",
"measured_2026_11_23": {
"MacBook Pro M4 Pro": {
"generation_tok_s": {
"mtp_off": 22.92,
"mtp_on": 25.26,
"mtp_on_with_kernels": 29.19
},
"prefill_2k_tok_s": {
"mtp_off": 125.5,
"mtp_on": 122.4,
"mtp_on_with_kernels": 125.9
},
"prefill_8k_tok_s": {
"mtp_off": 122.9,
"mtp_on": 119.5,
"mtp_on_with_kernels": 122.3
},
"note": "18 prompts, 2 rounds; the multi-draft check kernel takes MTP-on from 1.10x to 1.27x"
}
}
}
}
],
"lossless_check": "Full drafting checks on Metal not finished. Partial: 1 draft vs no drafting mean KL 3.9e-10 over 1,534 positions on 26 prompts (two non-drafting runs gave 0). Kernels in testing: KL 0 vs kernels off.",
"notes": [
"Turn MTP off (drop the drafting flags) for long prompts with short answers: prefill is slower with MTP on in released builds.",
"Measurement: llama-server, 36 internal prompts in 7 workload groups, answers up to 512 tokens, greedy, one request at a time; generation = answer tokens / decode time (tok/s); prefill = timings.prompt_per_second on an 8,192-token prompt (2,048 in the *_2k fields); medians of 3 rounds unless noted"
]
}