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).

# the change before's (435651fb): one lane per 32-weight step, the block scales applied to each weight, prompts through threadgroup memory, the routed experts in the exact-mode kernels (a thread per output and choice)

model set by each launcher; 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/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 12:46:52 chrome=0 System-wide memory free percentage: 79% swap_used=693.62M swapouts=75988

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

## warmup (warm-up, discarded)
### before the run (date, thermal state, swap, wait)
2026-10-19 12:47:53
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,6.769,9.45,32,1474.9,4.860,10519,7.89,46e61ff4c9741ab5,24b5cd77c9db23fb,2.88542,0.406
512,512,40.305,12.70,32,1410.7,4.750,13496,11.13,079970370f477670,561100505ac9d4ca,2.59862,0.562

### 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.20 s; text 7275 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 12274 with its routed experts ran on the GPU
       63.47 real         4.16 user        22.10 sys
           823230464  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
               97863  page reclaims
               30752  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 572  voluntary context switches
              647311  involuntary context switches
         53058900558  instructions retired
         53686744867  cycles elapsed
          1146179456  peak memory footprint

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

## v0-run1
### before the run (date, thermal state, swap, wait)
2026-10-19 12:49:56
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,7.144,8.96,32,1132.6,4.932,10519,7.72,46e61ff4c9741ab5,24b5cd77c9db23fb,2.88542,0.406
512,512,40.342,12.69,32,1380.9,4.846,13496,10.97,079970370f477670,561100505ac9d4ca,2.59862,0.562

### 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.22 s; text 7275 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.75 GB
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 12274 with its routed experts ran on the GPU
       63.30 real         4.13 user        22.44 sys
           809369600  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              110769  page reclaims
               30527  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 456  voluntary context switches
              643671  involuntary context switches
         52243174946  instructions retired
         53555096493  cycles elapsed
          1146032000  peak memory footprint

### after the run
2026-10-19 12:51:00
0
swap_used=693.62M swapouts=75988

## v0-run2
### before the run (date, thermal state, swap, wait)
2026-10-19 12:54:51
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,7.110,9.00,32,1232.8,4.899,10519,7.80,46e61ff4c9741ab5,24b5cd77c9db23fb,2.88542,0.406
512,512,40.490,12.64,32,1434.2,4.834,13496,11.11,079970370f477670,561100505ac9d4ca,2.59862,0.562

### 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.19 s; text 7275 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 12274 with its routed experts ran on the GPU
       63.56 real         4.28 user        22.60 sys
           813056000  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              109934  page reclaims
               30573  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 525  voluntary context switches
              645309  involuntary context switches
         53322407599  instructions retired
         53977082078  cycles elapsed
          1146195840  peak memory footprint

### after the run
2026-10-19 12:55:55
0
swap_used=693.62M swapouts=75988

## v0-run3
### before the run (date, thermal state, swap, wait)
2026-10-19 12:56:55
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,7.388,8.66,32,719.3,4.888,10519,7.89,46e61ff4c9741ab5,24b5cd77c9db23fb,2.88542,0.406
512,512,40.374,12.68,32,1345.0,4.772,13496,11.05,079970370f477670,561100505ac9d4ca,2.59862,0.562

### 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.20 s; text 7275 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.75 GB
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 12274 with its routed experts ran on the GPU
       63.26 real         4.10 user        22.18 sys
           800587776  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              116886  page reclaims
               30362  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 506  voluntary context switches
              649479  involuntary context switches
         52345828328  instructions retired
         53330843238  cycles elapsed
          1146228672  peak memory footprint

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

## v0-run4
### before the run (date, thermal state, swap, wait)
2026-10-19 13:01:50
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,6.795,9.42,32,1393.5,4.796,10519,8.21,46e61ff4c9741ab5,24b5cd77c9db23fb,2.88542,0.406
512,512,40.958,12.50,32,1365.1,4.765,13496,10.21,079970370f477670,561100505ac9d4ca,2.59862,0.562

### 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.22 s; text 7275 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.75 GB
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 12274 with its routed experts ran on the GPU
       64.10 real         3.65 user        20.68 sys
           806207488  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              112619  page reclaims
               31829  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 621  voluntary context switches
              654576  involuntary context switches
         54041946143  instructions retired
         52593537237  cycles elapsed
          1146245056  peak memory footprint

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

