Raw History Blame Contribute Delete
3.53 kB
{
"schema": "prism-mtp-backend-settings/v1",
"model": "Bonsai 2.5 Ternary 27B with MTP draft head (v2)",
"backend": "hexagon",
"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-Q2_0-mtp.gguf",
"size_bytes": 7912178944,
"sha256": "b0f83de8481c3200c529aef5fb495dbfedf2a4a3f017f7a3ea0a69c67be1d306"
},
"why_this_file": "Q2_0 is the 2-bit format mainline llama.cpp reads; used on phones.",
"profiles": [
{
"id": "hexagon-galaxy-s26-ultra",
"devices": [
"Samsung Galaxy S26 Ultra (Hexagon NPU)"
],
"released_build": null,
"released_build_note": "No public build runs this model correctly on the Hexagon NPU yet; it needs a fix that is not released.",
"testing_build": {
"status": "not released",
"build": "public llama.cpp 0a94a3f28 + PrismML's phone changes + the fix for this model (not public), Android arm64, Hexagon back-end",
"draft": {
"spec_type": "draft-mtp",
"n_min": 0,
"n_max": 1,
"p_min": 0,
"args": [
"--spec-type",
"draft-mtp",
"--spec-draft-n-min",
"0",
"--spec-draft-n-max",
"1",
"--spec-draft-p-min",
"0"
]
},
"draft_vocab_n": 65536,
"draft_note": "1 draft is fastest with the v2 head (8.79 tok/s; 2 drafts 8.22, 3 drafts 8.04). The head drafts over the 65,536 most frequent tokens only.",
"env": {
"GGML_HEXAGON_DEVICES": "4",
"LLAMA_R1_DEFER": "1",
"GGML_HEXAGON_GDN_SNAP_DMA": "1",
"GGML_HEXAGON_HMX_MIN_NROWS": "8",
"LLAMA_DRAFT_VOCAB_N": "65536"
},
"server_args": [
"--device",
"HTP0,HTP1,HTP2,HTP3",
"--fit",
"off",
"-c",
"4096",
"-t",
"6",
"-np",
"1",
"--jinja",
"--no-cache-prompt",
"--ctx-checkpoints",
"0",
"--cache-ram",
"0",
"-ngl",
"99",
"-b",
"512",
"-ub",
"128",
"-fa",
"on"
],
"measured_2026_11_23": {
"Galaxy S26 Ultra": {
"generation_tok_s": {
"mtp_off": 6.34,
"mtp_on": 8.79
},
"prefill_2k_tok_s": {
"mtp_off": 136.7,
"mtp_on": 132.1
},
"note": "10 prompts, median of 3 (1 draft: 2 runs); context 4K; prefill with MTP on measured at 2 drafts"
}
},
"runtime_note": "The whole model runs on the NPU over four sessions (embedding, 64 layers, draft head, output layer); only sampling runs on the CPU. Without the fix the output is wrong."
}
}
],
"lossless_check": "Full drafting checks on the NPU not done yet.",
"notes": [
"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"
]
}