Add qwen3.5-moe-0.87B-d0.8B.Q2_K full-v1 for Flexan/kshitijthakkar-qwen3.5-moe-0.87B-d0.8B-GGUF@a9b8adbec2cc

#2
data/Flexan/kshitijthakkar-qwen3.5-moe-0.87B-d0.8B-GGUF/a9b8adbec2cc87479c772dac1944f313b4036c26/gguf/qwen3.5-moe-0.87B-d0.8B.Q2_K/full-v1/metadata.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_files": [
3
+ "qwen3.5-moe-0.87B-d0.8B.Q2_K.gguf"
4
+ ],
5
+ "all_layers": true,
6
+ "analysis_tool": "llama-moe-analyze",
7
+ "analyzer_id": "full-v1",
8
+ "command": {
9
+ "analyzer_id": "full-v1",
10
+ "context_size": 4096,
11
+ "token_count": 32
12
+ },
13
+ "created_at": "2026-04-11T04:07:32+00:00",
14
+ "distribution_id": "qwen3.5-moe-0.87B-d0.8B.Q2_K",
15
+ "file_hashes": {
16
+ "qwen3.5-moe-0.87B-d0.8B.Q2_K.gguf": "sha256:e8a84df1a50ce65cf80c2b55bba8c6e80f913679fdf9e9439f2c3b52ef3145d5"
17
+ },
18
+ "format": "gguf",
19
+ "primary_file": "qwen3.5-moe-0.87B-d0.8B.Q2_K.gguf",
20
+ "prompt_count": null,
21
+ "prompt_set": null,
22
+ "ranking_path": "ranking.csv",
23
+ "schema_version": 1,
24
+ "source_repo": "Flexan/kshitijthakkar-qwen3.5-moe-0.87B-d0.8B-GGUF",
25
+ "source_revision": "a9b8adbec2cc87479c772dac1944f313b4036c26",
26
+ "status": "complete",
27
+ "token_count": 32
28
+ }
data/Flexan/kshitijthakkar-qwen3.5-moe-0.87B-d0.8B-GGUF/a9b8adbec2cc87479c772dac1944f313b4036c26/gguf/qwen3.5-moe-0.87B-d0.8B.Q2_K/full-v1/ranking.csv ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MoE expert ranking by gate mass
2
+ # Model: /Users/jdumay/.cache/huggingface/hub/models--Flexan--kshitijthakkar-qwen3.5-moe-0.87B-d0.8B-GGUF/snapshots/a9b8adbec2cc87479c772dac1944f313b4036c26/qwen3.5-moe-0.87B-d0.8B.Q2_K.gguf
3
+ # Experts: 8 (top-2)
4
+ # Prompts: 10 x 32 tokens
5
+ # Layers logged: all
6
+ # Total token-layer observations: 79905
7
+ #
8
+ # Format: expert_id,gate_mass,mass_pct,selection_count
9
+ # Sorted by gate_mass descending (hottest first)
10
+ 0,9850.29,40.2628,66592
11
+ 5,2272.88,9.29034,4749
12
+ 2,2184.38,8.92858,4889
13
+ 7,2110.32,8.62588,4148
14
+ 3,2071.32,8.46647,3942
15
+ 6,2061.91,8.42799,4465
16
+ 1,1994.04,8.1506,4128
17
+ 4,1919.85,7.84735,3537
data/Flexan/kshitijthakkar-qwen3.5-moe-0.87B-d0.8B-GGUF/a9b8adbec2cc87479c772dac1944f313b4036c26/gguf/qwen3.5-moe-0.87B-d0.8B.Q2_K/full-v1/run.log ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $ /Users/jdumay/.codex/worktrees/4dc4/mesh-llm/llama.cpp/build/bin/llama-moe-analyze -m /Users/jdumay/.cache/huggingface/hub/models--Flexan--kshitijthakkar-qwen3.5-moe-0.87B-d0.8B-GGUF/snapshots/a9b8adbec2cc87479c772dac1944f313b4036c26/qwen3.5-moe-0.87B-d0.8B.Q2_K.gguf --all-layers --export-ranking /Users/jdumay/.cache/mesh-llm/moe-rankings/hf-Flexan--kshitijthakkar-qwen3.5-moe-0.87B-d0.8B-GGUF-a9b8adbec2cc87479c772dac1944f313b4036c26-qwen3.5-moe-0.87B-d0.8B.Q2_K.gguf.csv -n 32 -c 4096 -ngl 0
2
+
3
+ [stdout]
4
+
5
+ [stderr]
6
+ ggml_metal_device_init: tensor API disabled for pre-M5 and pre-A19 devices
7
+ ggml_metal_library_init: using embedded metal library
8
+ ggml_metal_library_init: loaded in 0.031 sec
9
+ ggml_metal_rsets_init: creating a residency set collection (keep_alive = 180 s)
10
+ ggml_metal_device_init: GPU name: MTL0
11
+ ggml_metal_device_init: GPU family: MTLGPUFamilyApple8 (1008)
12
+ ggml_metal_device_init: GPU family: MTLGPUFamilyCommon3 (3003)
13
+ ggml_metal_device_init: GPU family: MTLGPUFamilyMetal4 (5002)
14
+ ggml_metal_device_init: simdgroup reduction = true
15
+ ggml_metal_device_init: simdgroup matrix mul. = true
16
+ ggml_metal_device_init: has unified memory = true
17
+ ggml_metal_device_init: has bfloat = true
18
+ ggml_metal_device_init: has tensor = false
19
+ ggml_metal_device_init: use residency sets = true
20
+ ggml_metal_device_init: use shared buffers = true
21
+ ggml_metal_device_init: recommendedMaxWorkingSetSize = 19069.67 MB
22
+ common_init_result: fitting params to device memory, for bugs during this step try to reproduce them with -fit off, or provide --verbose logs if the bug only occurs with -fit on
23
+ llama_params_fit_impl: projected to use 30 MiB of device memory vs. 18185 MiB of free device memory
24
+ llama_params_fit_impl: will leave 18155 >= 1024 MiB of free device memory, no changes needed
25
+ llama_params_fit: successfully fit params to free device memory
26
+ llama_params_fit: fitting params to free memory took 0.59 seconds
27
+ llama_model_load_from_file_impl: using device MTL0 (Apple M2) (unknown id) - 18185 MiB free
28
+ llama_model_loader: loaded meta data with 40 key-value pairs and 441 tensors from /Users/jdumay/.cache/huggingface/hub/models--Flexan--kshitijthakkar-qwen3.5-moe-0.87B-d0.8B-GGUF/snapshots/a9b8adbec2cc87479c772dac1944f313b4036c26/qwen3.5-moe-0.87B-d0.8B.Q2_K.gguf (version GGUF V3 (latest))
29
+ llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output.
30
+ llama_model_loader: - kv 0: general.architecture str = qwen35moe
31
+ llama_model_loader: - kv 1: general.type str = model
32
+ llama_model_loader: - kv 2: general.name str = Kshitijthakkar Qwen3.5 Moe 0.87B d0.8B
33
+ llama_model_loader: - kv 3: general.finetune str = d0.8B
34
+ llama_model_loader: - kv 4: general.basename str = kshitijthakkar-qwen3.5-moe
35
+ llama_model_loader: - kv 5: general.size_label str = 0.87B
36
+ llama_model_loader: - kv 6: general.license str = apache-2.0
37
+ llama_model_loader: - kv 7: general.tags arr[str,6] = ["qwen3.5", "moe", "weight-transfer",...
38
+ llama_model_loader: - kv 8: qwen35moe.block_count u32 = 24
39
+ llama_model_loader: - kv 9: qwen35moe.context_length u32 = 262144
40
+ llama_model_loader: - kv 10: qwen35moe.embedding_length u32 = 1024
41
+ llama_model_loader: - kv 11: qwen35moe.attention.head_count u32 = 8
42
+ llama_model_loader: - kv 12: qwen35moe.attention.head_count_kv u32 = 2
43
+ llama_model_loader: - kv 13: qwen35moe.rope.dimension_sections arr[i32,4] = [86, 85, 85, 0]
44
+ llama_model_loader: - kv 14: qwen35moe.rope.freq_base f32 = 10000000.000000
45
+ llama_model_loader: - kv 15: qwen35moe.attention.layer_norm_rms_epsilon f32 = 0.000001
46
+ llama_model_loader: - kv 16: qwen35moe.expert_count u32 = 8
47
+ llama_model_loader: - kv 17: qwen35moe.expert_used_count u32 = 2
48
+ llama_model_loader: - kv 18: qwen35moe.attention.key_length u32 = 256
49
+ llama_model_loader: - kv 19: qwen35moe.attention.value_length u32 = 256
50
+ llama_model_loader: - kv 20: qwen35moe.expert_feed_forward_length u32 = 400
51
+ llama_model_loader: - kv 21: qwen35moe.expert_shared_feed_forward_length u32 = 400
52
+ llama_model_loader: - kv 22: qwen35moe.ssm.conv_kernel u32 = 4
53
+ llama_model_loader: - kv 23: qwen35moe.ssm.state_size u32 = 128
54
+ llama_model_loader: - kv 24: qwen35moe.ssm.group_count u32 = 16
55
+ llama_model_loader: - kv 25: qwen35moe.ssm.time_step_rank u32 = 16
56
+ llama_model_loader: - kv 26: qwen35moe.ssm.inner_size u32 = 2048
57
+ llama_model_loader: - kv 27: qwen35moe.full_attention_interval u32 = 4
58
+ llama_model_loader: - kv 28: qwen35moe.rope.dimension_count u32 = 64
59
+ llama_model_loader: - kv 29: tokenizer.ggml.model str = gpt2
60
+ llama_model_loader: - kv 30: tokenizer.ggml.pre str = qwen35
61
+ llama_model_loader: - kv 31: tokenizer.ggml.tokens arr[str,248320] = ["!", "\"", "#", "$", "%", "&", "'", ...
62
+ llama_model_loader: - kv 32: tokenizer.ggml.token_type arr[i32,248320] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
63
+ llama_model_loader: - kv 33: tokenizer.ggml.merges arr[str,247587] = ["Ġ Ġ", "ĠĠ ĠĠ", "i n", "Ġ t",...
64
+ llama_model_loader: - kv 34: tokenizer.ggml.eos_token_id u32 = 248046
65
+ llama_model_loader: - kv 35: tokenizer.ggml.padding_token_id u32 = 248044
66
+ llama_model_loader: - kv 36: tokenizer.ggml.add_bos_token bool = false
67
+ llama_model_loader: - kv 37: tokenizer.chat_template str = {%- set image_count = namespace(value...
68
+ llama_model_loader: - kv 38: general.quantization_version u32 = 2
69
+ llama_model_loader: - kv 39: general.file_type u32 = 10
70
+ llama_model_loader: - type f32: 181 tensors
71
+ llama_model_loader: - type f16: 48 tensors
72
+ llama_model_loader: - type q8_0: 12 tensors
73
+ llama_model_loader: - type q2_K: 193 tensors
74
+ llama_model_loader: - type q5_K: 6 tensors
75
+ llama_model_loader: - type q6_K: 1 tensors
76
+ print_info: file format = GGUF V3 (latest)
77
+ print_info: file type = Q2_K - Medium
78
+ print_info: file size = 587.11 MiB (4.89 BPW)
79
+ load: 0 unused tokens
80
+ load: printing all EOG tokens:
81
+ load: - 248044 ('<|endoftext|>')
82
+ load: - 248046 ('<|im_end|>')
83
+ load: - 248063 ('<|fim_pad|>')
84
+ load: - 248064 ('<|repo_name|>')
85
+ load: - 248065 ('<|file_sep|>')
86
+ load: special tokens cache size = 33
87
+ load: token to piece cache size = 1.7581 MB
88
+ print_info: arch = qwen35moe
89
+ print_info: vocab_only = 0
90
+ print_info: no_alloc = 0
91
+ print_info: n_ctx_train = 262144
92
+ print_info: n_embd = 1024
93
+ print_info: n_embd_inp = 1024
94
+ print_info: n_layer = 24
95
+ print_info: n_head = 8
96
+ print_info: n_head_kv = 2
97
+ print_info: n_rot = 64
98
+ print_info: n_swa = 0
99
+ print_info: is_swa_any = 0
100
+ print_info: n_embd_head_k = 256
101
+ print_info: n_embd_head_v = 256
102
+ print_info: n_gqa = 4
103
+ print_info: n_embd_k_gqa = 512
104
+ print_info: n_embd_v_gqa = 512
105
+ print_info: f_norm_eps = 0.0e+00
106
+ print_info: f_norm_rms_eps = 1.0e-06
107
+ print_info: f_clamp_kqv = 0.0e+00
108
+ print_info: f_max_alibi_bias = 0.0e+00
109
+ print_info: f_logit_scale = 0.0e+00
110
+ print_info: f_attn_scale = 0.0e+00
111
+ print_info: n_ff = 0
112
+ print_info: n_expert = 8
113
+ print_info: n_expert_used = 2
114
+ print_info: n_expert_groups = 0
115
+ print_info: n_group_used = 0
116
+ print_info: causal attn = 1
117
+ print_info: pooling type = -1
118
+ print_info: rope type = 40
119
+ print_info: rope scaling = linear
120
+ print_info: freq_base_train = 10000000.0
121
+ print_info: freq_scale_train = 1
122
+ print_info: n_ctx_orig_yarn = 262144
123
+ print_info: rope_yarn_log_mul = 0.0000
124
+ print_info: rope_finetuned = unknown
125
+ print_info: mrope sections = [86, 85, 85, 0]
126
+ print_info: ssm_d_conv = 4
127
+ print_info: ssm_d_inner = 2048
128
+ print_info: ssm_d_state = 128
129
+ print_info: ssm_dt_rank = 16
130
+ print_info: ssm_n_group = 16
131
+ print_info: ssm_dt_b_c_rms = 0
132
+ print_info: model type = ?B
133
+ print_info: model params = 1.01 B
134
+ print_info: general.name = Kshitijthakkar Qwen3.5 Moe 0.87B d0.8B
135
+ print_info: vocab type = BPE
136
+ print_info: n_vocab = 248320
137
+ print_info: n_merges = 247587
138
+ print_info: BOS token = 11 ','
139
+ print_info: EOS token = 248046 '<|im_end|>'
140
+ print_info: EOT token = 248046 '<|im_end|>'
141
+ print_info: PAD token = 248044 '<|endoftext|>'
142
+ print_info: LF token = 198 'Ċ'
143
+ print_info: FIM PRE token = 248060 '<|fim_prefix|>'
144
+ print_info: FIM SUF token = 248062 '<|fim_suffix|>'
145
+ print_info: FIM MID token = 248061 '<|fim_middle|>'
146
+ print_info: FIM PAD token = 248063 '<|fim_pad|>'
147
+ print_info: FIM REP token = 248064 '<|repo_name|>'
148
+ print_info: FIM SEP token = 248065 '<|file_sep|>'
149
+ print_info: EOG token = 248044 '<|endoftext|>'
150
+ print_info: EOG token = 248046 '<|im_end|>'
151
+ print_info: EOG token = 248063 '<|fim_pad|>'
152
+ print_info: EOG token = 248064 '<|repo_name|>'
153
+ print_info: EOG token = 248065 '<|file_sep|>'
154
+ print_info: max token length = 256
155
+ load_tensors: loading model tensors, this can take a while... (mmap = true, direct_io = false)
156
+ load_tensors: offloading 0 repeating layers to GPU
157
+ load_tensors: offloaded 0/25 layers to GPU
158
+ load_tensors: CPU_Mapped model buffer size = 388.18 MiB
159
+ load_tensors: CPU_REPACK model buffer size = 213.55 MiB
160
+ ......................................................
161
+ common_init_result: added <|endoftext|> logit bias = -inf
162
+ common_init_result: added <|im_end|> logit bias = -inf
163
+ common_init_result: added <|fim_pad|> logit bias = -inf
164
+ common_init_result: added <|repo_name|> logit bias = -inf
165
+ common_init_result: added <|file_sep|> logit bias = -inf
166
+ llama_context: constructing llama_context
167
+ llama_context: n_seq_max = 1
168
+ llama_context: n_ctx = 4096
169
+ llama_context: n_ctx_seq = 4096
170
+ llama_context: n_batch = 2048
171
+ llama_context: n_ubatch = 512
172
+ llama_context: causal_attn = 1
173
+ llama_context: flash_attn = auto
174
+ llama_context: kv_unified = false
175
+ llama_context: freq_base = 10000000.0
176
+ llama_context: freq_scale = 1
177
+ llama_context: n_ctx_seq (4096) < n_ctx_train (262144) -- the full capacity of the model will not be utilized
178
+ ggml_metal_init: allocating
179
+ ggml_metal_init: found device: Apple M2
180
+ ggml_metal_init: picking default device: Apple M2
181
+ ggml_metal_init: use fusion = true
182
+ ggml_metal_init: use concurrency = true
183
+ ggml_metal_init: use graph optimize = true
184
+ llama_context: CPU output buffer size = 0.95 MiB
185
+ llama_kv_cache: CPU KV buffer size = 48.00 MiB
186
+ llama_kv_cache: size = 48.00 MiB ( 4096 cells, 6 layers, 1/1 seqs), K (f16): 24.00 MiB, V (f16): 24.00 MiB
187
+ llama_kv_cache: attn_rot_k = 0
188
+ llama_kv_cache: attn_rot_v = 0
189
+ llama_memory_recurrent: CPU RS buffer size = 19.27 MiB
190
+ llama_memory_recurrent: size = 19.27 MiB ( 1 cells, 24 layers, 1 seqs), R (f32): 1.27 MiB, S (f32): 18.00 MiB
191
+ sched_reserve: reserving ...
192
+ sched_reserve: Flash Attention was auto, set to enabled
193
+ sched_reserve: resolving fused Gated Delta Net support:
194
+ sched_reserve: fused Gated Delta Net (autoregressive) enabled
195
+ sched_reserve: fused Gated Delta Net (chunked) enabled
196
+ sched_reserve: MTL0 compute buffer size = 30.06 MiB
197
+ sched_reserve: CPU compute buffer size = 489.00 MiB
198
+ sched_reserve: graph nodes = 1953
199
+ sched_reserve: graph splits = 427 (with bs=512), 1 (with bs=1)
200
+ sched_reserve: reserve took 12.60 ms, sched copies = 1
201
+
202
+ === MoE Expert Routing Analysis ===
203
+ Model experts: 8, used per token: 2
204
+ Logging ALL MoE layers (--all-layers)
205
+ Will export expert ranking to: /Users/jdumay/.cache/mesh-llm/moe-rankings/hf-Flexan--kshitijthakkar-qwen3.5-moe-0.87B-d0.8B-GGUF-a9b8adbec2cc87479c772dac1944f313b4036c26-qwen3.5-moe-0.87B-d0.8B.Q2_K.gguf.csv
206
+ Running 10 prompts, generating 32 tokens each
207
+ Logging first 9999 MoE layers per eval
208
+
209
+ Prompt 1/10: <|im_start|>user
210
+ Write a Python function to find the nth Fib...
211
+ collected 1584 layer snapshots (total: 1584)
212
+ Prompt 2/10: <|im_start|>user
213
+ Write a Rust function that reads a CSV file...
214
+ collected 1584 layer snapshots (total: 3168)
215
+ Prompt 3/10: <|im_start|>user
216
+ Explain how a B-tree index works in a datab...
217
+ collected 1584 layer snapshots (total: 4752)
218
+ Prompt 4/10: <|im_start|>user
219
+ If all roses are flowers and some flowers f...
220
+ collected 1584 layer snapshots (total: 6336)
221
+ Prompt 5/10: <|im_start|>user
222
+ A train travels 120km in 2 hours. It then s...
223
+ collected 1584 layer snapshots (total: 7920)
224
+ Prompt 6/10: <|im_start|>user
225
+ Hello! What's the best way to learn a new l...
226
+ collected 1584 layer snapshots (total: 9504)
227
+ Prompt 7/10: <|im_start|>user
228
+ Tell me a joke about programmers.<|im_end|>...
229
+ collected 1584 layer snapshots (total: 11088)
230
+ Prompt 8/10: <|im_start|>user
231
+ Summarize the key differences between TCP a...
232
+ collected 1584 layer snapshots (total: 12672)
233
+ Prompt 9/10: <|im_start|>user
234
+ Translate 'The weather is beautiful today' ...
235
+ collected 1584 layer snapshots (total: 14256)
236
+ Prompt 10/10: <|im_start|>user
237
+ List 5 healthy breakfast options with brief...
238
+ collected 1584 layer snapshots (total: 15840)
239
+
240
+ === Expert Popularity (gate mass, summed across all tokens & logged layers) ===
241
+ Total tokens × layers: 79905
242
+
243
+ Top 20 experts by gate mass:
244
+ Expert Mass Mass% Selected
245
+ 0 9850.2938 40.26 66592
246
+ 5 2272.8815 9.29 4749
247
+ 2 2184.3772 8.93 4889
248
+ 7 2110.3206 8.63 4148
249
+ 3 2071.3219 8.47 3942
250
+ 6 2061.9076 8.43 4465
251
+ 1 1994.0433 8.15 4128
252
+ 4 1919.8542 7.85 3537
253
+
254
+ Concentration:
255
+ Top 4 experts: 67.1% of total gate mass
256
+ Top 8 experts: 100.0% of total gate mass
257
+
258
+ Exported expert ranking to: /Users/jdumay/.cache/mesh-llm/moe-rankings/hf-Flexan--kshitijthakkar-qwen3.5-moe-0.87B-d0.8B-GGUF-a9b8adbec2cc87479c772dac1944f313b4036c26-qwen3.5-moe-0.87B-d0.8B.Q2_K.gguf.csv
259
+ Use with moe-split: --group-map <file generated from this ranking>
260
+
261
+
262
+ === Group Masking Analysis (best-group capture ratio) ===
263
+ For each group count, what fraction of the unrestricted top-2 mass
264
+ is captured by the best single group?
265
+
266
+ Groups Replicas Exp/Grp Mean P25 P50 P5
267
+ 2 0 4 0.990 1.000 1.000 0.916
268
+ 2 1 4 0.993 1.000 1.000 0.942
269
+ 2 2 4 0.995 1.000 1.000 0.967
270
+ 2 4 4 0.998 1.000 1.000 1.000
271
+
272
+ 4 0 2 0.977 1.000 1.000 0.825
273
+ 4 1 2 0.986 1.000 1.000 0.876
274
+ 4 2 2 0.992 1.000 1.000 0.926
275
+ 4 4 2 0.997 1.000 1.000 1.000
276
+
277
+ 8 0 1 0.908 1.000 1.000 0.516
278
+ 8 1 1 0.974 1.000 1.000 0.792
279
+ 8 2 1 0.986 1.000 1.000 0.870
280
+ 8 4 1 0.997 1.000 1.000 1.000
281
+
282
+ === Interpretation ===
283
+ Mean close to 1.0 = masking barely hurts (best group captures most of top-k mass)
284
+ Mean < 0.7 = significant quality risk from group restriction
285
+ P5 close to 1.0 = even worst-case tokens are OK
286
+ P5 < 0.5 = some tokens will be badly served by any single group
287
+
288
+ === Phase 1b: Masked Generation Quality (logprob comparison) ===
289
+ Testing 4 groups (2 experts/group) vs baseline (all 8 experts)
290
+ Using first 5 prompts, generating 32 tokens each
291
+
292
+ Group 0 (experts 0-1 + 2 hot replicas): avg logprob delta = -0.2655
293
+ Group 1 (experts 2-3 + 2 hot replicas): avg logprob delta = -0.0722
294
+ Group 2 (experts 4-5 + 2 hot replicas): avg logprob delta = -0.0818
295
+ Group 3 (experts 6-7 + 2 hot replicas): avg logprob delta = -0.0192
296
+
297
+ === Interpretation (logprob delta) ===
298
+ Delta near 0.0 = masking barely affects generation quality
299
+ Delta < -0.1 = noticeable quality loss
300
+ Delta < -0.5 = significant degradation
301
+
302
+ ggml_metal_free: deallocating