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; chat.txt is the text. Units: /usr/bin/time -l gives bytes; the engine's own line ('[bench] peak RSS') is in GiB, and summary-chat.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 chat.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 18:24:54 chrome=0 System-wide memory free percentage: 70% swap_used=356.06M swapouts=86960

host after the runs: 2026-10-22 18:36:08 chrome=0 System-wide memory free percentage: 67% swap_used=356.44M swapouts=86984

## warmup (warm-up, discarded)
### before the run (date, thermal state, swap, wait)
2026-10-22 18:25:54
0
swap_used=356.06M swapouts=86960
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,3.477,18.40,32,339.6,11.747,7717,9.59,307e6fd7980a92cf,f55beb9e5e71ac78,2.18296,0.562
512,512,5.158,99.27,32,508.7,10.934,10428,14.45,9d70cb5e1eb455e0,99b2135657766012,1.89710,0.500

### 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 1590 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.28 tokens/forward (25 forwards per 32 tokens) | acceptance 87.5% (7/8 drafts) | gate off: T(1) 101.5 ms, rows 2:1.31, rho 0.11, acceptance by position 0.86 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 15 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.19 tokens/forward (27 forwards per 32 tokens) | acceptance 62.5% (5/8 drafts) | gate off: T(1) 92.4 ms, rows 2:1.93, rho 0.39, acceptance by position 0.66 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 17 drafts below the confidence 0.60 left out, 0 steps without the head
[bench] peak RSS 1.21 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2028 times (a token at a layer); 1744 middle-rank choices stayed because the layer before guessed them
       15.57 real         3.95 user        10.02 sys
          1298776064  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              176499  page reclaims
               17700  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 886  voluntary context switches
              327500  involuntary context switches
         45971814684  instructions retired
         39454403815  cycles elapsed
          1174495552  peak memory footprint

### after the run
2026-10-22 18:26:10
0
swap_used=356.44M swapouts=86984

## v0-run1
### before the run (date, thermal state, swap, wait)
2026-10-22 18:27:10
0
swap_used=356.44M swapouts=86984
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,3.185,20.09,32,280.3,11.817,7717,9.00,307e6fd7980a92cf,f55beb9e5e71ac78,2.18296,0.562
512,512,4.909,104.31,32,454.5,11.246,10428,13.82,9d70cb5e1eb455e0,99b2135657766012,1.89710,0.500

### 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.29 s; text 1590 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.28 tokens/forward (25 forwards per 32 tokens) | acceptance 87.5% (7/8 drafts) | gate off: T(1) 99.0 ms, rows 2:1.32, rho 0.13, acceptance by position 0.86 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 15 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.19 tokens/forward (27 forwards per 32 tokens) | acceptance 62.5% (5/8 drafts) | gate off: T(1) 90.2 ms, rows 2:1.86, rho 0.39, acceptance by position 0.66 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 17 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 2028 times (a token at a layer); 1744 middle-rank choices stayed because the layer before guessed them
       14.83 real         4.00 user        10.07 sys
          1376600064  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              169342  page reclaims
               26298  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 940  voluntary context switches
              318718  involuntary context switches
         45614038933  instructions retired
         39597232659  cycles elapsed
          1174692224  peak memory footprint

### after the run
2026-10-22 18:27:25
0
swap_used=356.44M swapouts=86984

## v0-run2
### before the run (date, thermal state, swap, wait)
2026-10-22 18:30:55
0
swap_used=356.44M swapouts=86984
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,3.015,21.23,32,282.7,12.165,7717,8.92,307e6fd7980a92cf,f55beb9e5e71ac78,2.18296,0.562
512,512,4.601,111.29,32,344.1,11.277,10428,13.78,9d70cb5e1eb455e0,99b2135657766012,1.89710,0.500

### 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.28 s; text 1590 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.28 tokens/forward (25 forwards per 32 tokens) | acceptance 87.5% (7/8 drafts) | gate off: T(1) 95.8 ms, rows 2:1.34, rho 0.12, acceptance by position 0.86 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 15 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.19 tokens/forward (27 forwards per 32 tokens) | acceptance 62.5% (5/8 drafts) | gate off: T(1) 89.1 ms, rows 2:1.74, rho 0.38, acceptance by position 0.66 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 17 drafts below the confidence 0.60 left out, 0 steps without the head
[bench] peak RSS 1.54 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2028 times (a token at a layer); 1744 middle-rank choices stayed because the layer before guessed them
       14.16 real         3.87 user         9.80 sys
          1658028032  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              173978  page reclaims
                9077  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 951  voluntary context switches
              305142  involuntary context switches
         44620093987  instructions retired
         38597826969  cycles elapsed
          1176052032  peak memory footprint

### after the run
2026-10-22 18:31:10
0
swap_used=356.44M swapouts=86984

## v0-run3
### before the run (date, thermal state, swap, wait)
2026-10-22 18:32:10
0
swap_used=356.44M swapouts=86984
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,3.020,21.19,32,258.5,12.220,7717,8.99,307e6fd7980a92cf,f55beb9e5e71ac78,2.18296,0.562
512,512,4.589,111.56,32,328.0,11.524,10428,13.63,9d70cb5e1eb455e0,99b2135657766012,1.89710,0.500

### 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 1590 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.28 tokens/forward (25 forwards per 32 tokens) | acceptance 87.5% (7/8 drafts) | gate off: T(1) 95.5 ms, rows 2:1.32, rho 0.12, acceptance by position 0.86 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 15 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.19 tokens/forward (27 forwards per 32 tokens) | acceptance 62.5% (5/8 drafts) | gate off: T(1) 87.9 ms, rows 2:1.68, rho 0.36, acceptance by position 0.66 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 17 drafts below the confidence 0.60 left out, 0 steps without the head
[bench] peak RSS 1.54 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2028 times (a token at a layer); 1744 middle-rank choices stayed because the layer before guessed them
       14.05 real         3.86 user         9.76 sys
          1653833728  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              165557  page reclaims
               11905  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 931  voluntary context switches
              300795  involuntary context switches
         44444078323  instructions retired
         38451792299  cycles elapsed
          1175560512  peak memory footprint

### after the run
2026-10-22 18:32:24
0
swap_used=356.44M swapouts=86984

## v0-run4
### before the run (date, thermal state, swap, wait)
2026-10-22 18:35:53
0
swap_used=356.44M swapouts=86984
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,3.199,20.01,32,311.2,11.995,7717,9.21,307e6fd7980a92cf,f55beb9e5e71ac78,2.18296,0.562
512,512,4.837,105.85,32,314.0,11.280,10428,14.21,9d70cb5e1eb455e0,99b2135657766012,1.89710,0.500

### 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 1590 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.28 tokens/forward (25 forwards per 32 tokens) | acceptance 87.5% (7/8 drafts) | gate off: T(1) 98.6 ms, rows 2:1.31, rho 0.11, acceptance by position 0.86 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 15 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.19 tokens/forward (27 forwards per 32 tokens) | acceptance 62.5% (5/8 drafts) | gate off: T(1) 89.3 ms, rows 2:1.69, rho 0.39, acceptance by position 0.66 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 17 drafts below the confidence 0.60 left out, 0 steps without the head
[bench] peak RSS 1.54 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2028 times (a token at a layer); 1744 middle-rank choices stayed because the layer before guessed them
       14.63 real         3.86 user         9.82 sys
          1652555776  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              164634  page reclaims
               16903  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 985  voluntary context switches
              307995  involuntary context switches
         44919335835  instructions retired
         38649522611  cycles elapsed
          1174102336  peak memory footprint

### after the run
2026-10-22 18:36:08
0
swap_used=356.44M swapouts=86984
