Paths shortened: <GGUF model> is the directory coli import --mode link made for the GGUF (<GGUF dir>/ holds the file), <model> is the model's own directory (canonical.qc and experts.qc beside it); bin-<commit>/ holds the harness built from that commit; each launchers/<name>/qwen36-bench is a script that sets SNAP and the variables in brackets and runs a harness. Units: /usr/bin/time -l gives bytes; the engine's '[bench] peak RSS' is in GiB; the summary's 'peak memory ... MB' is in MiB, and so is the engine's '1.95 MB per expert at most' (2,039,808 bytes, 2.04 MB).

# this change's (08293922): lanes spread over the blocks as llama.cpp's matrix-vector kernels, the block scales on the blocks' sums of q x, prompts decoded into the matrix units' operands, the experts' prompt tiles of the int4 kernels

model set by each launcher; 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/gguf-435651fb/qwen36-bench (the change before (435651fb), the defaults, SNAP=<GGUF model>)
v1: launchers/gguf/qwen36-bench (this change (08293922), the defaults, SNAP=<GGUF model>)
order: the binaries' order turns at every round (ABBA)

host before the runs: 2026-10-19 13:02:54 chrome=0 System-wide memory free percentage: 77% swap_used=693.62M swapouts=75988

host after the runs: 2026-10-19 13:19:02 chrome=0 System-wide memory free percentage: 77% swap_used=693.62M swapouts=75988

## v1-run1
### before the run (date, thermal state, swap, wait)
2026-10-19 13:08:04
0
swap_used=693.62M swapouts=75988
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,5.202,12.30,32,749.4,6.108,11392,11.42,88ce147048ad7765,f55beb9e5e71ac78,2.02861,0.531
512,512,7.868,65.08,32,1117.3,5.842,13659,13.81,33d594906f36b78b,99b2135657766012,1.81011,0.469

### engine log and /usr/bin/time -l
[bench] GGUF <GGUF dir>/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf: 1 file(s), 733 tensors
[tok] loaded 248320 pieces (max id 248319) from <GGUF model>/tokenizer.json
[gguf] qwen35moe: 40 layers (10 attention), hidden 2048, 256 experts top-8, inter 512, vocab 248320, DeltaNet v/k heads 32/16
[gguf] experts: layer 0 gate Q4_K up Q4_K down Q5_K, 1.95 MB per expert at most
[qwen-cache] global_bytes=536469504 slots=263 slot_bytes=2039808 decode_policy=expected-reuse
[qwen36-metal] expert cache below 256 retained slots: prompt experts load eight at a time
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1910087680 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] GGUF: the dense matrices read in place as the file's ggml blocks, and the routed experts as its blocks too (layer 0: gate Q4_K, up Q4_K, down Q5_K), with no second quantization
[bench] Metal graph ready in 0.16 s; text 1590 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.76 GB
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 12180 with its routed experts ran on the GPU
       25.86 real         1.73 user        15.34 sys
           812826624  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              113444  page reclaims
               31316  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 550  voluntary context switches
              421582  involuntary context switches
         43897137603  instructions retired
         49957243612  cycles elapsed
          1147522944  peak memory footprint

### after the run
2026-10-19 13:08:30
0
swap_used=693.62M swapouts=75988

## v1-run2
### before the run (date, thermal state, swap, wait)
2026-10-19 13:09:30
0
swap_used=693.62M swapouts=75988
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,4.627,13.83,32,880.2,6.134,11392,11.36,88ce147048ad7765,f55beb9e5e71ac78,2.02861,0.531
512,512,8.154,62.79,32,1141.9,5.819,13659,13.69,33d594906f36b78b,99b2135657766012,1.81011,0.469

### engine log and /usr/bin/time -l
[bench] GGUF <GGUF dir>/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf: 1 file(s), 733 tensors
[tok] loaded 248320 pieces (max id 248319) from <GGUF model>/tokenizer.json
[gguf] qwen35moe: 40 layers (10 attention), hidden 2048, 256 experts top-8, inter 512, vocab 248320, DeltaNet v/k heads 32/16
[gguf] experts: layer 0 gate Q4_K up Q4_K down Q5_K, 1.95 MB per expert at most
[qwen-cache] global_bytes=536469504 slots=263 slot_bytes=2039808 decode_policy=expected-reuse
[qwen36-metal] expert cache below 256 retained slots: prompt experts load eight at a time
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1910087680 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] GGUF: the dense matrices read in place as the file's ggml blocks, and the routed experts as its blocks too (layer 0: gate Q4_K, up Q4_K, down Q5_K), with no second quantization
[bench] Metal graph ready in 0.14 s; text 1590 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.78 GB
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 12180 with its routed experts ran on the GPU
       25.66 real         1.69 user        15.13 sys
           837746688  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
               88352  page reclaims
               29669  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 246  voluntary context switches
              419896  involuntary context switches
         42607954625  instructions retired
         49156589742  cycles elapsed
          1147457280  peak memory footprint

### after the run
2026-10-19 13:09:56
0
swap_used=693.62M swapouts=75988

## v1-run3
### before the run (date, thermal state, swap, wait)
2026-10-19 13:15:05
0
swap_used=693.62M swapouts=75988
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,4.553,14.06,32,1013.3,6.004,11392,11.84,88ce147048ad7765,f55beb9e5e71ac78,2.02861,0.531
512,512,7.956,64.35,32,1092.7,5.770,13659,13.88,33d594906f36b78b,99b2135657766012,1.81011,0.469

### engine log and /usr/bin/time -l
[bench] GGUF <GGUF dir>/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf: 1 file(s), 733 tensors
[tok] loaded 248320 pieces (max id 248319) from <GGUF model>/tokenizer.json
[gguf] qwen35moe: 40 layers (10 attention), hidden 2048, 256 experts top-8, inter 512, vocab 248320, DeltaNet v/k heads 32/16
[gguf] experts: layer 0 gate Q4_K up Q4_K down Q5_K, 1.95 MB per expert at most
[qwen-cache] global_bytes=536469504 slots=263 slot_bytes=2039808 decode_policy=expected-reuse
[qwen36-metal] expert cache below 256 retained slots: prompt experts load eight at a time
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1910087680 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] GGUF: the dense matrices read in place as the file's ggml blocks, and the routed experts as its blocks too (layer 0: gate Q4_K, up Q4_K, down Q5_K), with no second quantization
[bench] Metal graph ready in 0.23 s; text 1590 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.77 GB
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 12180 with its routed experts ran on the GPU
       25.74 real         1.74 user        15.15 sys
           822689792  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              108896  page reclaims
               30213  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 636  voluntary context switches
              420872  involuntary context switches
         43642618848  instructions retired
         49427928538  cycles elapsed
          1147572096  peak memory footprint

### after the run
2026-10-19 13:15:31
0
swap_used=693.62M swapouts=75988

## v1-run4
### before the run (date, thermal state, swap, wait)
2026-10-19 13:16:31
0
swap_used=693.62M swapouts=75988
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,4.433,14.44,32,1144.7,5.782,11392,11.89,88ce147048ad7765,f55beb9e5e71ac78,2.02861,0.531
512,512,8.570,59.74,32,1144.4,5.648,13659,14.54,33d594906f36b78b,99b2135657766012,1.81011,0.469

### engine log and /usr/bin/time -l
[bench] GGUF <GGUF dir>/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf: 1 file(s), 733 tensors
[tok] loaded 248320 pieces (max id 248319) from <GGUF model>/tokenizer.json
[gguf] qwen35moe: 40 layers (10 attention), hidden 2048, 256 experts top-8, inter 512, vocab 248320, DeltaNet v/k heads 32/16
[gguf] experts: layer 0 gate Q4_K up Q4_K down Q5_K, 1.95 MB per expert at most
[qwen-cache] global_bytes=536469504 slots=263 slot_bytes=2039808 decode_policy=expected-reuse
[qwen36-metal] expert cache below 256 retained slots: prompt experts load eight at a time
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1910087680 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] GGUF: the dense matrices read in place as the file's ggml blocks, and the routed experts as its blocks too (layer 0: gate Q4_K, up Q4_K, down Q5_K), with no second quantization
[bench] Metal graph ready in 0.16 s; text 1590 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.78 GB
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 12180 with its routed experts ran on the GPU
       26.64 real         1.66 user        15.11 sys
           835010560  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
               90774  page reclaims
               30033  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 216  voluntary context switches
              432302  involuntary context switches
         42926769113  instructions retired
         49058963440  cycles elapsed
          1147457472  peak memory footprint

### after the run
2026-10-19 13:16:58
0
swap_used=693.62M swapouts=75988

