Paths shortened: <model> is the model directory; bin-pr11/ holds the harness; launchers/fast-mtp0/qwen36-bench runs it with QWEN36_MTP=0, launchers/fast-mtp/qwen36-bench as it is; <model+head> is a directory of links to the model's files with model-mtp.safetensors beside them; code.txt is the text. Units: /usr/bin/time -l gives bytes; the engine's own line ('[bench] peak RSS') is in GiB, and summary-fast-code.txt's 'peak memory ... MB' is in MiB.

# this branch at c8fc51fc, the default (fast) kernels, every chosen expert used, QWEN36_MTP unset

model <model+head>; text code.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/fast-mtp0/qwen36-bench (commit c8fc51fcd3f1a7b725b26c2a103fdd52bbca4138 (fast mode, QWEN36_MTP=0))
v1: launchers/fast-mtp/qwen36-bench (commit c8fc51fcd3f1a7b725b26c2a103fdd52bbca4138 (fast mode, the MTP head's drafts))
order: the binaries' order turns at every round (ABBA)

host before the runs: 2026-10-22 11:54:45 chrome=0 System-wide memory free percentage: 71% swap_used=361.38M swapouts=86788

host after the runs: 2026-10-22 12:06:22 chrome=0 System-wide memory free percentage: 70% swap_used=361.38M swapouts=86788

## v1-run1
### before the run (date, thermal state, swap, wait)
2026-10-22 11:58:20
0
swap_used=361.38M swapouts=86788
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.966,21.58,32,379.5,6.972,11573,11.75,fa1df93d5b3274ca,24b5cd77c9db23fb,2.85014,0.406
512,512,4.832,105.96,32,519.6,8.494,13401,16.93,555fbc2bffb2223a,561100505ac9d4ca,2.59693,0.562

### 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
[bench] Metal graph ready in 0.28 s; text 6959 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.07 tokens/forward (30 forwards per 32 tokens) | acceptance 25.0% (2/8 drafts) | gate off: T(1) 131.9 ms, rows 2:1.55, rho 0.22, acceptance by position 0.36 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 20 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.33 tokens/forward (24 forwards per 32 tokens) | acceptance 88.9% (8/9 drafts) | gate off: T(1) 126.8 ms, rows 2:1.91, rho 0.65, acceptance by position 0.87 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 13 drafts below the confidence 0.60 left out, 0 steps without the head
[bench] peak RSS 1.36 GB
       17.41 real         4.35 user        12.76 sys
          1460011008  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              172980  page reclaims
               20677  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 892  voluntary context switches
              360705  involuntary context switches
         52558267310  instructions retired
         48426082977  cycles elapsed
          1176133568  peak memory footprint

### after the run
2026-10-22 11:58:37
0
swap_used=361.38M swapouts=86788

## v1-run2
### before the run (date, thermal state, swap, wait)
2026-10-22 11:59:38
0
swap_used=361.38M swapouts=86788
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.950,21.69,32,346.6,6.954,11573,11.85,fa1df93d5b3274ca,24b5cd77c9db23fb,2.85014,0.406
512,512,4.829,106.03,32,558.0,8.309,13401,17.16,555fbc2bffb2223a,561100505ac9d4ca,2.59693,0.562

### 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
[bench] Metal graph ready in 0.29 s; text 6959 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.07 tokens/forward (30 forwards per 32 tokens) | acceptance 25.0% (2/8 drafts) | gate off: T(1) 134.5 ms, rows 2:1.50, rho 0.25, acceptance by position 0.36 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 20 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.33 tokens/forward (24 forwards per 32 tokens) | acceptance 88.9% (8/9 drafts) | gate off: T(1) 128.9 ms, rows 2:1.95, rho 0.64, acceptance by position 0.87 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 13 drafts below the confidence 0.60 left out, 0 steps without the head
[bench] peak RSS 1.35 GB
       17.50 real         4.38 user        12.77 sys
          1444528128  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              168971  page reclaims
               20489  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 975  voluntary context switches
              363069  involuntary context switches
         52643891151  instructions retired
         48609851084  cycles elapsed
          1175756736  peak memory footprint

### after the run
2026-10-22 11:59:55
0
swap_used=361.38M swapouts=86788

## v1-run3
### before the run (date, thermal state, swap, wait)
2026-10-22 12:03:30
0
swap_used=361.38M swapouts=86788
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.884,22.19,32,315.4,7.099,11573,11.70,fa1df93d5b3274ca,24b5cd77c9db23fb,2.85014,0.406
512,512,5.089,100.60,32,608.5,8.071,13401,18.03,555fbc2bffb2223a,561100505ac9d4ca,2.59693,0.562

### 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
[bench] Metal graph ready in 0.28 s; text 6959 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.07 tokens/forward (30 forwards per 32 tokens) | acceptance 25.0% (2/8 drafts) | gate off: T(1) 126.8 ms, rows 2:1.58, rho 0.28, acceptance by position 0.36 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 20 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.33 tokens/forward (24 forwards per 32 tokens) | acceptance 88.9% (8/9 drafts) | gate off: T(1) 132.0 ms, rows 2:2.00, rho 0.69, acceptance by position 0.87 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 13 drafts below the confidence 0.60 left out, 0 steps without the head
[bench] peak RSS 1.42 GB
       17.71 real         4.31 user        12.63 sys
          1522827264  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              157929  page reclaims
               17237  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 915  voluntary context switches
              362204  involuntary context switches
         52352329875  instructions retired
         48145398904  cycles elapsed
          1175347072  peak memory footprint

### after the run
2026-10-22 12:03:48
0
swap_used=361.38M swapouts=86788

## v1-run4
### before the run (date, thermal state, swap, wait)
2026-10-22 12:04:48
0
swap_used=361.38M swapouts=86788
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.898,22.09,32,322.9,7.366,11573,11.43,fa1df93d5b3274ca,24b5cd77c9db23fb,2.85014,0.406
512,512,4.690,109.17,32,477.3,8.533,13401,16.91,555fbc2bffb2223a,561100505ac9d4ca,2.59693,0.562

### 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
[bench] Metal graph ready in 0.29 s; text 6959 tokens; lengths 64,512; gen 32; each length from an empty state
[qwen36 mtp] 64 tokens: 1.07 tokens/forward (30 forwards per 32 tokens) | acceptance 25.0% (2/8 drafts) | gate off: T(1) 121.7 ms, rows 2:1.59, rho 0.25, acceptance by position 0.36 0.60 0.50 0.50 0.50
[qwen36 mtp] 64 tokens: 20 drafts below the confidence 0.60 left out, 0 steps without the head
[qwen36 mtp] 512 tokens: 1.33 tokens/forward (24 forwards per 32 tokens) | acceptance 88.9% (8/9 drafts) | gate off: T(1) 124.1 ms, rows 2:1.94, rho 0.72, acceptance by position 0.87 0.60 0.50 0.50 0.50
[qwen36 mtp] 512 tokens: 13 drafts below the confidence 0.60 left out, 0 steps without the head
[bench] peak RSS 1.56 GB
       16.86 real         4.22 user        12.36 sys
          1672200192  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              178361  page reclaims
                4759  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 968  voluntary context switches
              353340  involuntary context switches
         51880389345  instructions retired
         47122041119  cycles elapsed
          1173725120  peak memory footprint

### after the run
2026-10-22 12:05:05
0
swap_used=361.38M swapouts=86788
