Add chat template block (runtime-owned chat templating)
Browse files- v79/lfm2-5-230m-2048.json +68 -20
v79/lfm2-5-230m-2048.json
CHANGED
|
@@ -1,20 +1,68 @@
|
|
| 1 |
-
{
|
| 2 |
-
"schema_version": 1,
|
| 3 |
-
"_comment": "lfm2-5-230m-2048 - Qualcomm Hexagon v79 (QHexRT) deployment manifest.",
|
| 4 |
-
"model": {
|
| 5 |
-
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
},
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"_comment": "lfm2-5-230m-2048 - Qualcomm Hexagon v79 (QHexRT) deployment manifest.",
|
| 4 |
+
"model": {
|
| 5 |
+
"name": "lfm2-5-230m-2048",
|
| 6 |
+
"family": "llm",
|
| 7 |
+
"dsp_arch": "v79"
|
| 8 |
+
},
|
| 9 |
+
"chat": {
|
| 10 |
+
"bos": [
|
| 11 |
+
1
|
| 12 |
+
],
|
| 13 |
+
"system": {
|
| 14 |
+
"prefix": "<|im_start|>system\n",
|
| 15 |
+
"suffix": "<|im_end|>\n"
|
| 16 |
+
},
|
| 17 |
+
"user": {
|
| 18 |
+
"prefix": "<|im_start|>user\n",
|
| 19 |
+
"suffix": "<|im_end|>\n"
|
| 20 |
+
},
|
| 21 |
+
"assistant": {
|
| 22 |
+
"prefix": "<|im_start|>assistant\n",
|
| 23 |
+
"suffix": "<|im_end|>\n"
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"params": {
|
| 27 |
+
"hidden": 1024,
|
| 28 |
+
"vocab": 65536,
|
| 29 |
+
"n_layers": 14,
|
| 30 |
+
"max_ctx": 2048,
|
| 31 |
+
"kv_dim": 512,
|
| 32 |
+
"head_dim": 64,
|
| 33 |
+
"rope_theta": 1000000.0,
|
| 34 |
+
"eos_token_id": 7
|
| 35 |
+
},
|
| 36 |
+
"artifacts": {
|
| 37 |
+
"contexts": {
|
| 38 |
+
"decode": {
|
| 39 |
+
"bin": "lfm230_dec_2048_w8.bin"
|
| 40 |
+
},
|
| 41 |
+
"prefill": {
|
| 42 |
+
"bin": "lfm230_pf_2048_w8.bin"
|
| 43 |
+
},
|
| 44 |
+
"lmhead": {
|
| 45 |
+
"bin": "lfm230_lmh_w8.bin"
|
| 46 |
+
}
|
| 47 |
+
},
|
| 48 |
+
"embed": "lfm_embed_f16.bin",
|
| 49 |
+
"tokenizer": "tokenizer.json"
|
| 50 |
+
},
|
| 51 |
+
"plan": {
|
| 52 |
+
"steps": [
|
| 53 |
+
{
|
| 54 |
+
"host": "lfm_generate",
|
| 55 |
+
"params": {
|
| 56 |
+
"prefill": "lfm230_pf_2048_w8",
|
| 57 |
+
"decode": "lfm230_dec_2048_w8",
|
| 58 |
+
"lmhead": "lfm230_lmh_w8",
|
| 59 |
+
"attn_idx": "2,4,6,8,10,12",
|
| 60 |
+
"conv_idx": "0,1,3,5,7,9,11,13"
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"emit": "all"
|
| 65 |
+
}
|
| 66 |
+
]
|
| 67 |
+
}
|
| 68 |
+
}
|