unsloth-Inkling-2-Mini-loom / llm_config.json
dhndhn's picture
Reference set: the package validated on hardware (loom-next record)
1029f64 verified
Raw History Blame Contribute Delete
6.62 kB
{
"name": "Inkling-2-Mini",
"arch": "inkling2",
"gguf": "Inkling-2-Mini-UD-Q4_K_XL.gguf",
"hidden": 2304,
"layers": 48,
"heads": 24,
"kv_heads": 8,
"head_dim": 128,
"ffn": 1152,
"vocab": 200058,
"context_length": 1048576,
"rms_eps": 9.999999974752427e-07,
"rope_theta": 10000.0,
"rope_type": "neox",
"qk_norm": false,
"attn_gate": false,
"post_norms": false,
"embed_norm": false,
"embed_scale": null,
"sliding_window": 1024,
"sliding_layers": [
0,
1,
2,
3,
4,
6,
7,
8,
9,
10,
12,
13,
14,
15,
16,
18,
19,
20,
21,
22,
24,
25,
26,
27,
28,
30,
31,
32,
33,
34,
36,
37,
38,
39,
40,
42,
43,
44,
45,
46
],
"nope_layers": [],
"tied_embeddings": false,
"eos_id": 200006,
"extra_eos_ids": [
199999
],
"bos_id": null,
"chat": {
"tools_prefix": "",
"tools_suffix": "",
"tool_line_prefix": "",
"tool_separator": "",
"tools_system_separator": "",
"tools_after_system": true,
"tools_function_only": true,
"call_format": "none",
"calls_open": "",
"calls_close": "",
"call_end": "",
"call_marker": "<|end_message|>",
"content_call_separator": "",
"call_separator": "",
"tool_turn_prefix": "",
"tool_item_prefix": "",
"tool_item_suffix": "",
"tool_turn_suffix": "",
"bos": "",
"system_prefix": "<|message_system|><|content_text|>",
"suffix": "<|end_message|>",
"user_prefix": "<|message_user|><|content_text|>",
"assistant_prefix": "<|message_model|>",
"assistant_suffix": "<|end_message|><|content_model_end_sampling|>",
"default_system": "",
"trim_content": false,
"think_open": "<|content_thinking|>",
"think_close": "<|end_message|><|message_model|><|content_text|>",
"think_empty": "<|content_text|>",
"history_think": "always",
"history_think_scope": "all",
"generation_prompt": "<|message_model|><|content_thinking|>",
"generation_prompt_plain": "<|message_model|><|content_thinking|>",
"generation_prefill": true,
"thinking": "always",
"thinking_default": true,
"starts_in_reasoning": true,
"think_end": "<|end_message|>",
"reasoning_instructions": {
"minimal": "Thinking effort level: 0.1",
"low": "Thinking effort level: 0.2",
"medium": "Thinking effort level: 0.7",
"high": "Thinking effort level: 0.9",
"xhigh": "Thinking effort level: 0.99",
"max": "Thinking effort level: 0.99"
},
"reasoning_effort_default": "high",
"reasoning_separator": "<|end_message|><|message_system|><|content_text|>",
"reasoning_after_system": true,
"terminal": "<|content_model_end_sampling|>",
"nonspecial_tokens": [
"<|end_message|>"
],
"tools_unsupported": "the Inkling chat template renders no tool definitions or tool calls"
},
"attn_sinks": false,
"inkling2": {
"physical_layers": 24,
"loops": 3,
"core_start": 6,
"core_end": 18,
"gate_rank": 64,
"block": 6,
"conv": 4,
"nrel": 16,
"extent": 1024,
"window": 1024,
"qk_clip": 22.627416610717773,
"rel_clip": 8.0,
"log_floor": 8192,
"log_alpha": 0.10000000149011612,
"swa_pattern": [
true,
true,
true,
true,
true,
false,
true,
true,
true,
true,
true,
false,
true,
true,
true,
true,
true,
false,
true,
true,
true,
true,
true,
false,
true,
true,
true,
true,
true,
false,
true,
true,
true,
true,
true,
false,
true,
true,
true,
true,
true,
false,
true,
true,
true,
true,
true,
false
]
},
"logit_softcap": 30.0,
"kv_layers": 48,
"moe": {
"experts": 128,
"used": 8,
"ffn": 1152,
"leading_dense": 0,
"gating": 2,
"norm_weights": true,
"scale": 8.0,
"probs_bias": true,
"act": "situ",
"situ_beta": 4.0,
"situ_linear_beta": 25.0,
"gate_up_fused": true,
"down_scale": true
},
"model_id": "inkling-2-mini",
"drafter": {
"kind": "dflash",
"depth": 3,
"ctx_max": 0,
"occ_min": 2,
"adapt": true,
"repo": "unsloth/Inkling-2-Mini-GGUF",
"file": "dspark-Inkling-2-Mini-Q8_0.gguf",
"gguf": "dspark-Inkling-2-Mini-Q8_0.gguf"
},
"draft": {
"kind": "dflash",
"depth": 3,
"gguf": "dspark-Inkling-2-Mini-Q8_0.gguf",
"layers": 3,
"kv_heads": 8,
"head_dim": 128,
"taps": 4,
"block_size": 8,
"dspark": true,
"policy": "draft_weights.loom",
"head_policy": "head_weights.loom"
},
"generator": {
"commit": "ae4dc8ddcc6c929ca18ad4365ef34e6679799975",
"dirty": false,
"kit": "inkling2",
"hrx_loom": "unknown"
},
"sdk": {
"hrx_loom": "0.2.0",
"source": "pypi",
"wheel_sha256": "5148f9e3a264af400ec4bae38bd7b06bf551d28cc33b7a61d67f7bcefa590438",
"hrx_system_sha": "0cd370f2baaa0cfef47cc23007f1a109906f8a52"
},
"resolved": {
"scopes": [
"facet/drafted",
"facet/moe",
"facet/sliding-window",
"model/unsloth-Inkling-2-Mini-GGUF-loom"
],
"choices": {
"draft.propose.head_rows": {
"value": 65536,
"from": "model/unsloth-Inkling-2-Mini-GGUF-loom",
"evidence": "Strix Halo (gfx1151), UD-Q4_K_XL, DSpark drafter (dspark-Inkling-2-Mini-Q8_0.gguf), adaptive depth, elastic pool, context 131072. The proposals' head over all 201024 rows (g_head_mv_q8_p40) cost 1221 us per pass, 391 ms of a 400-token literal decode; the 65536 rows the drafter ranks highest (markov_w1 row norms + byte and added tokens; the same set as the loom-fun reference package's @dsp_head_map) cost 441 us, 147 ms, at the same acceptance. perf.py, thinking on: decode 50.47 -> 50.94 (52.18 with the BF16 markov_w1 gather), decode_2k 60.98 -> 73.2 / 67.51; thinking off: decode 50.55 -> 51.36 / 52.06, decode_2k 54.17 -> 63.36 / 70.28."
},
"draft.propose.head_rank": {
"value": "drafter",
"from": "model/unsloth-Inkling-2-Mini-GGUF-loom",
"evidence": "Strix Halo (gfx1151), UD-Q4_K_XL, DSpark drafter (dspark-Inkling-2-Mini-Q8_0.gguf), adaptive depth, elastic pool, context 131072. The proposals' head over all 201024 rows (g_head_mv_q8_p40) cost 1221 us per pass, 391 ms of a 400-token literal decode; the 65536 rows the drafter ranks highest (markov_w1 row norms + byte and added tokens; the same set as the loom-fun reference package's @dsp_head_map) cost 441 us, 147 ms, at the same acceptance. perf.py, thinking on: decode 50.47 -> 50.94 (52.18 with the BF16 markov_w1 gather), decode_2k 60.98 -> 73.2 / 67.51; thinking off: decode 50.55 -> 51.36 / 52.06, decode_2k 54.17 -> 63.36 / 70.28."
}
},
"devices": [
"rdna3",
"rdna4"
],
"facets": [
"draft-dflash",
"drafted",
"moe",
"sliding-window"
],
"env": {
"PROPOSE_HEAD_RANK": "drafter",
"PROPOSE_HEAD_ROWS": "65536"
}
}
}