okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
6e1085c1d
main
1[strata] 2026-10-09 13:02:26 engine started: /data/ssd/llm-build/strata-halo-0141/strata --serve --pack /data/ssd/llm/strata-qwen38-ud-iq4xs/pack --native /data/ssd/llm/strata-qwen38-ud-iq4xs/UD-IQ4_XS/Qwen3.8-Flash-Next-UD-IQ4_XS-00001-of-00003.gguf --expert-profile /data/ssd/llm-src/Strata/data/expert-profile.bin --expert-cache auto --resident-budget-gib 55 --prefill 16384 --spec 4 --spec-min-p 0.5 --mtp /data/ssd/llm/strata-qwen38-ud-iq4xs/mtp/rt --max-context 131072 --kv int8 --kv-resident 32768 --lookup-chain 3 --mtp-q4 all 2strata: gfx1151 (Strix Halo): 18 exact speed switches on by default (STRATA_GFX1151_DEFAULTS=0 turns them off; a switch you set is kept): GDN_HEAD GDN_PP GDN_CONVL2 GDN_NOY CVEC_FUSE HCD_EXACT PF_PAD Q8_PACKED Q6_PACKED MMVF_ROWS ATTN_LANECELL EXPERT_V2 TSUM LFUSE GDN_SPLIT QFUSE PLE_BATCH SH_STREAM 3strata generate: PCIe probe: 80.9 GB/s host->device (best of 80.8 80.9 80.8 80.9) -> pcie_frac 0.55 (default 0.55) 4strata generate: native pack: /data/ssd/llm/strata-qwen38-ud-iq4xs/pack experts (largest blob 3.48 MB), token embedding Q8_0 in mapped host memory (644 MiB, 0.3 s) 5strata generate: 1416 MiB of weights loaded from /data/ssd/llm/strata-qwen38-ud-iq4xs/pack in 0.5 s (303 canonical tensors skipped: served natively) 6native dense: STRATA_Q8_PACKED=1 packed 84 Q8_0 matrices for decode (+1912.5 MiB) 7strata: STRATA_HC_Q8=1: 0.63 GiB of Q8_0 hyper-connection projections for the verify read 8strata generate: 495 native projection matrices, 3619.14 MiB of weights, in 2.3 s 9strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off) 10strata generate: profile /data/ssd/llm-src/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots 11strata generate: KV streaming: 32768 of 131072 cells per QSA layer in VRAM, the K/V in 1.55 GiB of pinned RAM 12strata generate: PLE on, table 320001536 rows of /data/ssd/llm/strata-qwen38-ud-iq4xs/UD-IQ4_XS/Qwen3.8-Flash-Next-UD-IQ4_XS-00002-of-00003.gguf 13strata mtp: --mtp-q4: 10 projections as Q4_0 (37.3 MiB) 14strata mtp: draft layer loaded, 873 MiB of VRAM (experts 675, dense 111), files read in 0.41 s (1918 MiB/s) 15strata: STRATA_Q6_PACKED=1 packed the output head (248320 x 2560, +497.3 MiB) 16strata generate: experimental native Q5_K head, 521472000 bytes, in 0.4 s 17strata generate: GPU 0: AMD Radeon 8060S Graphics (gfx1151) 18strata generate: experts via mmap (--mmap-experts; the GGUF shards in place, no experts.bin) 19strata generate: the file tier reads through the file cache (101.7 GiB available, 55.0 GiB of it still to be taken by the RAM copy, 0.4 GiB of experts read from the files: the file cache can keep the ones that come back) 20strata generate: CPU pool tasks/phase: 48 (automatic), participating threads: 16 21strata generate: 15 pool workers on logical processors 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, the host thread on 0 (draining too) (--host-core first) 22strata generate: expert cache auto: 105.56 GiB free, 700 MiB reserved (+219 MiB for the draft head) -> 24576 slots 23strata generate: expert cache 24576 slots, 55.43 GiB of VRAM; policy is 24strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU, 25 so a reply can differ slightly from a run without the cache (same quality: 26 bench/results/2026-09-27-cache-parity). 27 PROFILE, ranked by routing frequency, no eviction. 28strata generate: the profile fill asks for 256 pairs ahead (STRATA_FILL_AHEAD) 29strata generate: pre-filled 24576 of 24576 slots from the profile in 28.5 s (2088 MB/s); slot 0 verified 30strata generate: routing-aware prefetch on (the next layer's router, file tier) 31strata generate: R4 hit path ON - resident experts are computed on the GPU 32strata generate: 15 expert-pool workers + the host thread 33strata generate: session is up (engine 0.1.41) 34strata generate: token graph hit path: 24576 resident experts, decided on the device 35FileExpertSource: --resident-budget-gib 55.00 exceeds available RAM (44.75 GiB minus 4 GiB headroom and a 0.25 GiB margin): 40.50 GiB 36FileExpertSource: RAM budget 40.50 GiB: 0 of the 0.00 GiB of experts the GPU cache does not hold, by profile rank; the rest are read from the files 37FileExpertSource: copied cache complement through layer 8/48 (0.00 GiB, 0 s) 38FileExpertSource: copied cache complement through layer 16/48 (0.00 GiB, 0 s) 39FileExpertSource: copied cache complement through layer 24/48 (0.00 GiB, 0 s) 40FileExpertSource: copied cache complement through layer 32/48 (0.00 GiB, 0 s) 41FileExpertSource: copied cache complement through layer 40/48 (0.00 GiB, 0 s) 42FileExpertSource: copied cache complement through layer 48/48 (0.00 GiB, 0 s) 43FileExpertSource: locked resident cache complement ready: resident 0.00 GiB, pinned 0.00 GiB in 0 s 44strata generate: WARNING: a prompt chunk of 16384 tokens lends 2939 cache slots to the prompt path, but only 0 of their experts fit in RAM: the others are read from the SSD on every chunk, and prompts can read ~3x slower than with --prefill auto (#669). A smaller --prefill, or auto, keeps them all in RAM 45strata generate: resident RAM mode: 0.00 GiB of experts in RAM (pageable), 24576 in the GPU cache; adaptive swaps exchange them with the GPU cache (no file reads) 46strata generate: the file tier reads through the file cache (re-checked with the RAM copy built (0.00 GiB): 44.4 GiB available, 0.0 GiB of it still to be taken by the RAM copy, 55.4 GiB of experts read from the files: the file cache can keep the ones that come back) 47strata serve: the prompt path borrows 2939 CUDA0 cache slots (6.63 GiB) 48prefill gemm: hipBLASLt tuning enabled (90 rows, gfx1151, version 100401) 49strata hc: CUDA0: the hyper-connection read runs as staged (the norm per token and stream, the down projection's activations staged ahead by cp.async); checked bit for bit against the plain read on this card (STRATA_HC_SPLIT=1 or 0 for the earlier ones) 50strata verify: window up to 7 tokens, 93.3 MiB of device buffers (100% VRAM resident: zero-doorbell graph) 51strata mtp: draft head over 106299 tokens (212.9 MiB) 52strata mtp: --mtp-q4: draft head over 106299 tokens as Q4_0 (146.0 MiB read per step, was 212.9) 53strata serve: 49722 MiB of VRAM free with everything loaded 54strata verify: capturing the 7-token window (49722 MiB of VRAM free) 55strata verify: captured the 7-token window (upload no error, sync no error) 56strata verify: capturing the 5-token window (49703 MiB of VRAM free) 57strata verify: captured the 5-token window (upload no error, sync no error) 58strata verify: capturing the 6-token window (49582 MiB of VRAM free) 59strata verify: captured the 6-token window (upload no error, sync no error) 60strata verify: capturing the 1-token window (49573 MiB of VRAM free) 61strata verify: captured the 1-token window (upload no error, sync no error) 62strata verify: capturing the 4-token window (49564 MiB of VRAM free) 63strata verify: captured the 4-token window (upload no error, sync no error) 64strata serve: prompt 19 tokens = 0 reused + 19 read in 306 ms (62.2 tok/s), 2 generated in 942 ms (2.1 tok/s), drafts accepted 3 of 3, 1 checkpoints 65strata serve: resident RAM: 0.00 GiB of experts in RAM, 0 exchanged with the VRAM tier, 0 blob reads from the file 66strata serve: expert tiers: GPU 0 hits this request; since the start RAM 0 blobs, files 0 blobs 59522.1 MB read (the GGUF in place) 67strata serve: file tier I/O this request: the OS read 63488.9 MB from storage (3204 major faults) for 59522.1 MB of expert reads 68strata serve: KV streaming: 92.31% of 936 block reads hit VRAM, 0.3 MiB read from RAM 69strata serve: lookup chain: 0 of 2 windows, 0 of 0 chained drafts accepted 70strata: prompt experts on the fused int8 kernels (STRATA_PF_FUSED=1, #136) 71strata: STRATA_HIP_WMMA: the prompt attention on matrix cores on (gfx1151) 72strata verify: capturing the 2-token window (48915 MiB of VRAM free) 73strata verify: captured the 2-token window (upload no error, sync no error) 74strata verify: capturing the 3-token window (48906 MiB of VRAM free) 75strata verify: captured the 3-token window (upload no error, sync no error) 76strata serve: prompt 4096 tokens = 0 reused + 4096 read in 6810 ms (601.4 tok/s), 256 generated in 6384 ms (40.1 tok/s), drafts accepted 146 of 233, 1 checkpoints 77strata serve: resident RAM: 0.00 GiB of experts in RAM, 0 exchanged with the VRAM tier, 941 blob reads from the file 78strata serve: expert tiers: GPU 0 hits this request; since the start RAM 0 blobs, files 941 blobs 63990.3 MB read (the GGUF in place) 79strata serve: file tier I/O this request: the OS read 630.7 MB from storage (5165 major faults) for 4468.2 MB of expert reads 80strata serve: KV streaming: 99.40% of 2156688 block reads hit VRAM, 51.8 MiB read from RAM 81strata serve: lookup chain: 3 of 111 windows, 2 of 3 chained drafts accepted 82strata serve: prompt 4096 tokens = 0 reused + 4096 read in 5066 ms (808.5 tok/s), 256 generated in 8592 ms (29.8 tok/s), drafts accepted 147 of 245, 1 checkpoints 83strata serve: resident RAM: 0.00 GiB of experts in RAM, 0 exchanged with the VRAM tier, 1882 blob reads from the file 84strata serve: expert tiers: GPU 0 hits this request; since the start RAM 0 blobs, files 1882 blobs 68536.6 MB read (the GGUF in place) 85strata serve: file tier I/O this request: the OS read 16.9 MB from storage (0 major faults) for 4546.3 MB of expert reads 86strata serve: KV streaming: 99.42% of 2236776 block reads hit VRAM, 51.9 MiB read from RAM 87strata serve: suffix drafts: 4 windows, 8 of 16 drafts accepted 88strata serve: lookup chain: 6 of 112 windows, 2 of 7 chained drafts accepted 89strata serve: prompt 4096 tokens = 0 reused + 4096 read in 4612 ms (888.2 tok/s), 256 generated in 5236 ms (48.9 tok/s), drafts accepted 147 of 231, 1 checkpoints 90strata serve: resident RAM: 0.00 GiB of experts in RAM, 0 exchanged with the VRAM tier, 2823 blob reads from the file 91strata serve: expert tiers: GPU 0 hits this request; since the start RAM 0 blobs, files 2823 blobs 73082.9 MB read (the GGUF in place) 92strata serve: file tier I/O this request: the OS read 17.7 MB from storage (0 major faults) for 4546.3 MB of expert reads 93strata serve: KV streaming: 99.40% of 2138244 block reads hit VRAM, 51.8 MiB read from RAM 94strata serve: suffix drafts: 1 windows, 2 of 3 drafts accepted 95strata serve: lookup chain: 4 of 110 windows, 3 of 4 chained drafts accepted 96strata serve: prompt 32768 tokens = 0 reused + 32768 read in 27998 ms (1170.4 tok/s), 256 generated in 5161 ms (49.6 tok/s), drafts accepted 152 of 206, 2 checkpoints 97strata serve: resident RAM: 0.00 GiB of experts in RAM, 0 exchanged with the VRAM tier, 5762 blob reads from the file 98strata serve: expert tiers: GPU 0 hits this request; since the start RAM 0 blobs, files 5762 blobs 94428.8 MB read (the GGUF in place) 99strata serve: file tier I/O this request: the OS read 1446.5 MB from storage (12396 major faults) for 21345.9 MB of expert reads 100strata serve: KV streaming: 97.69% of 1947228 block reads hit VRAM, 181.4 MiB read from RAM 101strata serve: lookup chain: 6 of 104 windows, 2 of 6 chained drafts accepted 102strata serve: prompt 32768 tokens = 0 reused + 32768 read in 28117 ms (1165.4 tok/s), 256 generated in 5193 ms (49.3 tok/s), drafts accepted 154 of 222, 2 checkpoints 103strata serve: resident RAM: 0.00 GiB of experts in RAM, 0 exchanged with the VRAM tier, 8701 blob reads from the file 104strata serve: expert tiers: GPU 0 hits this request; since the start RAM 0 blobs, files 8701 blobs 115774.6 MB read (the GGUF in place) 105strata serve: file tier I/O this request: the OS read 9.7 MB from storage (0 major faults) for 21345.9 MB of expert reads 106strata serve: KV streaming: 97.78% of 2033412 block reads hit VRAM, 181.8 MiB read from RAM 107strata serve: lookup chain: 2 of 102 windows, 0 of 2 chained drafts accepted 108strata serve: prompt 32768 tokens = 0 reused + 32768 read in 28213 ms (1161.4 tok/s), 256 generated in 5120 ms (50.0 tok/s), drafts accepted 157 of 215, 2 checkpoints 109strata serve: resident RAM: 0.00 GiB of experts in RAM, 0 exchanged with the VRAM tier, 11640 blob reads from the file 110strata serve: expert tiers: GPU 0 hits this request; since the start RAM 0 blobs, files 11640 blobs 137120.5 MB read (the GGUF in place) 111strata serve: file tier I/O this request: the OS read 9.3 MB from storage (0 major faults) for 21345.9 MB of expert reads 112strata serve: KV streaming: 97.72% of 1984176 block reads hit VRAM, 182.6 MiB read from RAM 113strata serve: lookup chain: 4 of 101 windows, 2 of 4 chained drafts accepted 114strata serve: prompt 128000 tokens = 0 reused + 128000 read in 115635 ms (1106.9 tok/s), 256 generated in 5390 ms (47.5 tok/s), drafts accepted 154 of 221, 6 checkpoints 115strata serve: resident RAM: 0.00 GiB of experts in RAM, 0 exchanged with the VRAM tier, 14579 blob reads from the file 116strata serve: expert tiers: GPU 0 hits this request; since the start RAM 0 blobs, files 14579 blobs 201158.1 MB read (the GGUF in place) 117strata serve: file tier I/O this request: the OS read 16.4 MB from storage (1 major faults) for 64037.6 MB of expert reads 118strata serve: KV streaming: 96.39% of 2033448 block reads hit VRAM, 295.4 MiB read from RAM 119strata serve: lookup chain: 5 of 103 windows, 2 of 5 chained drafts accepted 120strata serve: prompt 128000 tokens = 0 reused + 128000 read in 115463 ms (1108.6 tok/s), 256 generated in 5381 ms (47.6 tok/s), drafts accepted 157 of 214, 6 checkpoints 121strata serve: resident RAM: 0.00 GiB of experts in RAM, 0 exchanged with the VRAM tier, 17518 blob reads from the file 122strata serve: expert tiers: GPU 0 hits this request; since the start RAM 0 blobs, files 17518 blobs 265195.7 MB read (the GGUF in place) 123strata serve: file tier I/O this request: the OS read 8.5 MB from storage (0 major faults) for 64037.6 MB of expert reads 124strata serve: KV streaming: 96.33% of 1977984 block reads hit VRAM, 292.6 MiB read from RAM 125strata serve: lookup chain: 2 of 101 windows, 0 of 4 chained drafts accepted 126strata serve: prompt 128000 tokens = 0 reused + 128000 read in 115444 ms (1108.8 tok/s), 256 generated in 5432 ms (47.1 tok/s), drafts accepted 151 of 221, 6 checkpoints 127strata serve: resident RAM: 0.00 GiB of experts in RAM, 0 exchanged with the VRAM tier, 20457 blob reads from the file 128strata serve: expert tiers: GPU 0 hits this request; since the start RAM 0 blobs, files 20457 blobs 329233.3 MB read (the GGUF in place) 129strata serve: file tier I/O this request: the OS read 8.2 MB from storage (0 major faults) for 64037.6 MB of expert reads 130strata serve: KV streaming: 96.57% of 2045796 block reads hit VRAM, 282.7 MiB read from RAM 131strata serve: lookup chain: 2 of 105 windows, 1 of 2 chained drafts accepted