Paths shortened: bin-pr14/ holds the harness; launchers/pr14-guessed4/qwen36-bench runs it with QWEN36_FAST_EXPERTS=5 QWEN36_FAST_GUESSED=4, launchers/pr14-prefetch/qwen36-bench with QWEN36_FAST_EXPERTS=5 QWEN36_FAST_GUESSED=4 QWEN36_PREFETCH=1; <model+head> is a directory of links to the model's files with model-mtp.safetensors beside them; promessi_sposi.txt is the text. Units: /usr/bin/time -l gives bytes; the engine's own line ('[bench] peak RSS') is in GiB, and summary-prose.txt's 'peak memory ... MB' is in MiB.

# this branch at 2a2c5bc6, QWEN36_FAST_EXPERTS=5 QWEN36_FAST_GUESSED=4, QWEN36_PREFETCH unset

model <model+head>; text promessi_sposi.txt; lengths 64,512; gen 32; runs 4; extra env: TEACHER=1
cooldown before every run: 60 seconds, after waiting for thermal state 0: yes, at most 900s; thermal states: 0 nominal, 1 fair, 2 serious, 3 critical
v0: launchers/pr14-guessed4/qwen36-bench (commit 2a2c5bc65646cc12b219f517755441e86656dd0e (fast mode, QWEN36_FAST_EXPERTS=5 QWEN36_FAST_GUESSED=4, the MTP head's drafts))
v1: launchers/pr14-prefetch/qwen36-bench (commit 2a2c5bc65646cc12b219f517755441e86656dd0e (fast mode, QWEN36_FAST_EXPERTS=5 QWEN36_FAST_GUESSED=4 QWEN36_PREFETCH=1, the MTP head's drafts))
order: the binaries' order turns at every round (ABBA)

host before the runs: 2026-10-22 17:58:40 chrome=0 System-wide memory free percentage: 71% swap_used=355.75M swapouts=86940

host after the runs: 2026-10-22 18:09:41 chrome=0 System-wide memory free percentage: 66% swap_used=355.75M swapouts=86940

## warmup (warm-up, discarded)
### before the run (date, thermal state, swap, wait)
2026-10-22 17:59:40
0
swap_used=355.75M swapouts=86940
waited for state 0: 0s

### harness output
ctx_tokens,prefill_tokens,prefill_s,prefill_tps,gen_tokens,gen_first_ms,gen_steady_tps,expert_miss,disk_s,fingerprint,tokens,nll,top1
64,64,2.829,22.63,32,290.9,11.968,5999,6.97,eff003037c18fd94,5cb23346ab6be1d8,2.80069,0.438
512,512,4.314,118.68,32,437.5,12.899,8005,11.02,8027489962d08239,7a8848450b863c49,2.98632,0.438

### engine log and /usr/bin/time -l
[tok] loaded 248044 pieces (max id 248069) from <model+head>/tokenizer.json
[meta] loaded: q_heads=16 kv_heads=2 head_dim=256 q_head_dim=512 k_head_dim=256 v_head_dim=256 o_in=4096 rotary_dim=64 n_experts=256 topk=8 inter=512 shared_inter=512 n_group=1 topk_group=1 attn_output_gate=1 n_active=10
[meta] DeltaNet: vheads=32 kheads=16 kdim=128 vdim=128 convk=4 conv_dim=8192
[qwen-dense] <model+head>/canonical.qc: 291 INT8 matrices (1941078016 bytes) checked in 0.037 s, read instead of converted
[qwen36] embedding: rows read in place from the checkpoint, COLI_EMBED_MMAP=0 builds the f32 table
[dense-i8] 291 matrices read from canonical.qc, no f32 copies
[qwen-experts] <model+head>/experts.qc: 10240 planar records, 1671168 bytes each (scales as 16-bit codes); checkpoint metadata and shard samples checked in 0.011 s
[qwen36-mtp] the MTP head drafts (speculative decoding; QWEN36_MTP=0 turns it off)
[qwen-cache] global_bytes=536150016 slots=303 slot_bytes=1769472 decode_policy=expected-reuse
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1941078016 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] QWEN36_FAST_EXPERTS=5: in decode a token uses its 5 likeliest routed experts, the rest of its top-8 only when the expert cache holds them
[qwen36-metal] QWEN36_FAST_GUESSED=4: in decode a token uses its 3 likeliest routed experts, the next ones up to its 5 likeliest only when the expert cache holds them or the layer before guessed them
[bench] Metal graph ready in 0.28 s; text 5871 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.14 tokens/forward (28 forwards per 32 tokens) | acceptance 80.0% (4/5 drafts) | gate off: T(1) 86.6 ms, rows 2:1.33, rho 0.20, acceptance by position 0.80 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 22 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.14 tokens/forward (28 forwards per 32 tokens) | acceptance 66.7% (4/6 drafts) | gate off: T(1) 79.1 ms, rows 2:2.02, rho 0.38, acceptance by position 0.70 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 20 drafts below the confidence 0.60 left out, 0 steps without the head
[bench] peak RSS 1.31 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2184 times (a token at a layer); 1295 middle-rank choices stayed because the layer before guessed them
       13.93 real         3.98 user         8.33 sys
          1406451712  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              162285  page reclaims
               19310  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 897  voluntary context switches
              277146  involuntary context switches
         40670945399  instructions retired
         34025017450  cycles elapsed
          1176773440  peak memory footprint

### after the run
2026-10-22 17:59:54
0
swap_used=355.75M swapouts=86940

## v0-run1
### before the run (date, thermal state, swap, wait)
2026-10-22 18:00:54
0
swap_used=355.75M swapouts=86940
waited for state 0: 0s

### harness output
ctx_tokens,prefill_tokens,prefill_s,prefill_tps,gen_tokens,gen_first_ms,gen_steady_tps,expert_miss,disk_s,fingerprint,tokens,nll,top1
64,64,2.578,24.82,32,242.5,12.493,5999,6.77,eff003037c18fd94,5cb23346ab6be1d8,2.80069,0.438
512,512,4.233,120.95,32,330.4,12.651,8005,11.14,8027489962d08239,7a8848450b863c49,2.98632,0.438

### engine log and /usr/bin/time -l
[tok] loaded 248044 pieces (max id 248069) from <model+head>/tokenizer.json
[meta] loaded: q_heads=16 kv_heads=2 head_dim=256 q_head_dim=512 k_head_dim=256 v_head_dim=256 o_in=4096 rotary_dim=64 n_experts=256 topk=8 inter=512 shared_inter=512 n_group=1 topk_group=1 attn_output_gate=1 n_active=10
[meta] DeltaNet: vheads=32 kheads=16 kdim=128 vdim=128 convk=4 conv_dim=8192
[qwen-dense] <model+head>/canonical.qc: 291 INT8 matrices (1941078016 bytes) checked in 0.036 s, read instead of converted
[qwen36] embedding: rows read in place from the checkpoint, COLI_EMBED_MMAP=0 builds the f32 table
[dense-i8] 291 matrices read from canonical.qc, no f32 copies
[qwen-experts] <model+head>/experts.qc: 10240 planar records, 1671168 bytes each (scales as 16-bit codes); checkpoint metadata and shard samples checked in 0.011 s
[qwen36-mtp] the MTP head drafts (speculative decoding; QWEN36_MTP=0 turns it off)
[qwen-cache] global_bytes=536150016 slots=303 slot_bytes=1769472 decode_policy=expected-reuse
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1941078016 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] QWEN36_FAST_EXPERTS=5: in decode a token uses its 5 likeliest routed experts, the rest of its top-8 only when the expert cache holds them
[qwen36-metal] QWEN36_FAST_GUESSED=4: in decode a token uses its 3 likeliest routed experts, the next ones up to its 5 likeliest only when the expert cache holds them or the layer before guessed them
[bench] Metal graph ready in 0.29 s; text 5871 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.14 tokens/forward (28 forwards per 32 tokens) | acceptance 80.0% (4/5 drafts) | gate off: T(1) 83.9 ms, rows 2:1.33, rho 0.23, acceptance by position 0.80 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 22 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.14 tokens/forward (28 forwards per 32 tokens) | acceptance 66.7% (4/6 drafts) | gate off: T(1) 79.3 ms, rows 2:1.82, rho 0.36, acceptance by position 0.70 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 20 drafts below the confidence 0.60 left out, 0 steps without the head
[bench] peak RSS 1.33 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2184 times (a token at a layer); 1295 middle-rank choices stayed because the layer before guessed them
       12.95 real         3.84 user         8.12 sys
          1428406272  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              154278  page reclaims
               18566  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 910  voluntary context switches
              268899  involuntary context switches
         40124366110  instructions retired
         33299801960  cycles elapsed
          1176249152  peak memory footprint

### after the run
2026-10-22 18:01:07
0
swap_used=355.75M swapouts=86940

## v0-run2
### before the run (date, thermal state, swap, wait)
2026-10-22 18:04:34
0
swap_used=355.75M swapouts=86940
waited for state 0: 0s

### harness output
ctx_tokens,prefill_tokens,prefill_s,prefill_tps,gen_tokens,gen_first_ms,gen_steady_tps,expert_miss,disk_s,fingerprint,tokens,nll,top1
64,64,2.540,25.20,32,231.5,12.619,5999,6.80,eff003037c18fd94,5cb23346ab6be1d8,2.80069,0.438
512,512,3.972,128.90,32,280.2,13.115,8005,10.90,8027489962d08239,7a8848450b863c49,2.98632,0.438

### engine log and /usr/bin/time -l
[tok] loaded 248044 pieces (max id 248069) from <model+head>/tokenizer.json
[meta] loaded: q_heads=16 kv_heads=2 head_dim=256 q_head_dim=512 k_head_dim=256 v_head_dim=256 o_in=4096 rotary_dim=64 n_experts=256 topk=8 inter=512 shared_inter=512 n_group=1 topk_group=1 attn_output_gate=1 n_active=10
[meta] DeltaNet: vheads=32 kheads=16 kdim=128 vdim=128 convk=4 conv_dim=8192
[qwen-dense] <model+head>/canonical.qc: 291 INT8 matrices (1941078016 bytes) checked in 0.036 s, read instead of converted
[qwen36] embedding: rows read in place from the checkpoint, COLI_EMBED_MMAP=0 builds the f32 table
[dense-i8] 291 matrices read from canonical.qc, no f32 copies
[qwen-experts] <model+head>/experts.qc: 10240 planar records, 1671168 bytes each (scales as 16-bit codes); checkpoint metadata and shard samples checked in 0.011 s
[qwen36-mtp] the MTP head drafts (speculative decoding; QWEN36_MTP=0 turns it off)
[qwen-cache] global_bytes=536150016 slots=303 slot_bytes=1769472 decode_policy=expected-reuse
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1941078016 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] QWEN36_FAST_EXPERTS=5: in decode a token uses its 5 likeliest routed experts, the rest of its top-8 only when the expert cache holds them
[qwen36-metal] QWEN36_FAST_GUESSED=4: in decode a token uses its 3 likeliest routed experts, the next ones up to its 5 likeliest only when the expert cache holds them or the layer before guessed them
[bench] Metal graph ready in 0.29 s; text 5871 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.14 tokens/forward (28 forwards per 32 tokens) | acceptance 80.0% (4/5 drafts) | gate off: T(1) 82.9 ms, rows 2:1.33, rho 0.24, acceptance by position 0.80 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 22 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.14 tokens/forward (28 forwards per 32 tokens) | acceptance 66.7% (4/6 drafts) | gate off: T(1) 77.5 ms, rows 2:1.72, rho 0.36, acceptance by position 0.70 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 20 drafts below the confidence 0.60 left out, 0 steps without the head
[bench] peak RSS 1.43 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2184 times (a token at a layer); 1295 middle-rank choices stayed because the layer before guessed them
       12.50 real         3.77 user         7.96 sys
          1538916352  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              143373  page reclaims
               15645  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 979  voluntary context switches
              260663  involuntary context switches
         39636187404  instructions retired
         32616432055  cycles elapsed
          1174905664  peak memory footprint

### after the run
2026-10-22 18:04:47
0
swap_used=355.75M swapouts=86940

## v0-run3
### before the run (date, thermal state, swap, wait)
2026-10-22 18:05:47
0
swap_used=355.75M swapouts=86940
waited for state 0: 0s

### harness output
ctx_tokens,prefill_tokens,prefill_s,prefill_tps,gen_tokens,gen_first_ms,gen_steady_tps,expert_miss,disk_s,fingerprint,tokens,nll,top1
64,64,2.860,22.38,32,285.0,12.414,5999,6.88,eff003037c18fd94,5cb23346ab6be1d8,2.80069,0.438
512,512,4.474,114.44,32,436.4,12.722,8005,11.47,8027489962d08239,7a8848450b863c49,2.98632,0.438

### engine log and /usr/bin/time -l
[tok] loaded 248044 pieces (max id 248069) from <model+head>/tokenizer.json
[meta] loaded: q_heads=16 kv_heads=2 head_dim=256 q_head_dim=512 k_head_dim=256 v_head_dim=256 o_in=4096 rotary_dim=64 n_experts=256 topk=8 inter=512 shared_inter=512 n_group=1 topk_group=1 attn_output_gate=1 n_active=10
[meta] DeltaNet: vheads=32 kheads=16 kdim=128 vdim=128 convk=4 conv_dim=8192
[qwen-dense] <model+head>/canonical.qc: 291 INT8 matrices (1941078016 bytes) checked in 0.036 s, read instead of converted
[qwen36] embedding: rows read in place from the checkpoint, COLI_EMBED_MMAP=0 builds the f32 table
[dense-i8] 291 matrices read from canonical.qc, no f32 copies
[qwen-experts] <model+head>/experts.qc: 10240 planar records, 1671168 bytes each (scales as 16-bit codes); checkpoint metadata and shard samples checked in 0.011 s
[qwen36-mtp] the MTP head drafts (speculative decoding; QWEN36_MTP=0 turns it off)
[qwen-cache] global_bytes=536150016 slots=303 slot_bytes=1769472 decode_policy=expected-reuse
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1941078016 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] QWEN36_FAST_EXPERTS=5: in decode a token uses its 5 likeliest routed experts, the rest of its top-8 only when the expert cache holds them
[qwen36-metal] QWEN36_FAST_GUESSED=4: in decode a token uses its 3 likeliest routed experts, the next ones up to its 5 likeliest only when the expert cache holds them or the layer before guessed them
[bench] Metal graph ready in 0.26 s; text 5871 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.14 tokens/forward (28 forwards per 32 tokens) | acceptance 80.0% (4/5 drafts) | gate off: T(1) 85.0 ms, rows 2:1.33, rho 0.23, acceptance by position 0.80 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 22 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.14 tokens/forward (28 forwards per 32 tokens) | acceptance 66.7% (4/6 drafts) | gate off: T(1) 78.1 ms, rows 2:2.12, rho 0.44, acceptance by position 0.70 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 20 drafts below the confidence 0.60 left out, 0 steps without the head
[bench] peak RSS 1.22 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2184 times (a token at a layer); 1295 middle-rank choices stayed because the layer before guessed them
       13.60 real         3.85 user         8.13 sys
          1312800768  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              163685  page reclaims
               14680  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 801  voluntary context switches
              281044  involuntary context switches
         40637273223  instructions retired
         33131142293  cycles elapsed
          1175020416  peak memory footprint

### after the run
2026-10-22 18:06:01
0
swap_used=355.75M swapouts=86940

## v0-run4
### before the run (date, thermal state, swap, wait)
2026-10-22 18:09:27
0
swap_used=355.75M swapouts=86940
waited for state 0: 0s

### harness output
ctx_tokens,prefill_tokens,prefill_s,prefill_tps,gen_tokens,gen_first_ms,gen_steady_tps,expert_miss,disk_s,fingerprint,tokens,nll,top1
64,64,2.607,24.55,32,270.1,12.535,5999,6.78,eff003037c18fd94,5cb23346ab6be1d8,2.80069,0.438
512,512,4.255,120.33,32,346.6,12.869,8005,11.06,8027489962d08239,7a8848450b863c49,2.98632,0.438

### engine log and /usr/bin/time -l
[tok] loaded 248044 pieces (max id 248069) from <model+head>/tokenizer.json
[meta] loaded: q_heads=16 kv_heads=2 head_dim=256 q_head_dim=512 k_head_dim=256 v_head_dim=256 o_in=4096 rotary_dim=64 n_experts=256 topk=8 inter=512 shared_inter=512 n_group=1 topk_group=1 attn_output_gate=1 n_active=10
[meta] DeltaNet: vheads=32 kheads=16 kdim=128 vdim=128 convk=4 conv_dim=8192
[qwen-dense] <model+head>/canonical.qc: 291 INT8 matrices (1941078016 bytes) checked in 0.036 s, read instead of converted
[qwen36] embedding: rows read in place from the checkpoint, COLI_EMBED_MMAP=0 builds the f32 table
[dense-i8] 291 matrices read from canonical.qc, no f32 copies
[qwen-experts] <model+head>/experts.qc: 10240 planar records, 1671168 bytes each (scales as 16-bit codes); checkpoint metadata and shard samples checked in 0.011 s
[qwen36-mtp] the MTP head drafts (speculative decoding; QWEN36_MTP=0 turns it off)
[qwen-cache] global_bytes=536150016 slots=303 slot_bytes=1769472 decode_policy=expected-reuse
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1941078016 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] QWEN36_FAST_EXPERTS=5: in decode a token uses its 5 likeliest routed experts, the rest of its top-8 only when the expert cache holds them
[qwen36-metal] QWEN36_FAST_GUESSED=4: in decode a token uses its 3 likeliest routed experts, the next ones up to its 5 likeliest only when the expert cache holds them or the layer before guessed them
[bench] Metal graph ready in 0.29 s; text 5871 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.14 tokens/forward (28 forwards per 32 tokens) | acceptance 80.0% (4/5 drafts) | gate off: T(1) 84.3 ms, rows 2:1.32, rho 0.23, acceptance by position 0.80 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 22 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.14 tokens/forward (28 forwards per 32 tokens) | acceptance 66.7% (4/6 drafts) | gate off: T(1) 78.4 ms, rows 2:1.86, rho 0.38, acceptance by position 0.70 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 20 drafts below the confidence 0.60 left out, 0 steps without the head
[bench] peak RSS 1.28 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2184 times (a token at a layer); 1295 middle-rank choices stayed because the layer before guessed them
       12.99 real         3.84 user         8.06 sys
          1374257152  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              146212  page reclaims
               20316  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 962  voluntary context switches
              268530  involuntary context switches
         40104740209  instructions retired
         33069690077  cycles elapsed
          1176085248  peak memory footprint

### after the run
2026-10-22 18:09:41
0
swap_used=355.75M swapouts=86940
