okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
407ea8192
main
1strata generate: PCIe probe: 13.7 GB/s host->device (best of 13.7 13.7 13.7 13.6) -> pcie_frac 0.38 (default 0.55) 2strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) 3strata generate: native pack: /home/user/Strata-data/packs/iq2_xs experts (largest blob 1.51 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.1 s) 4strata generate: 1466 MiB of weights loaded from /home/user/Strata-data/packs/iq2_xs in 0.4 s (302 canonical tensors skipped: served natively) 5strata generate: 300 native projection matrices, 1474.85 MiB of weights, in 0.6 s 6strata 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) 7strata generate: profile /home/user/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots 8strata generate: KV streaming: 32768 of 131072 cells per QSA layer in VRAM, the K/V in 1.55 GiB of pinned RAM 9strata generate: PLE on, table 320001536 rows of /media/user/新加卷/Strata-models/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf 10strata mtp: draft layer loaded, 834 MiB of VRAM (experts 675, dense 111), files read in 1.58 s (497 MiB/s) 11strata generate: experimental native Q5_K head, 337715200 bytes, in 0.1 s 12strata generate: GPU 0: AMD Radeon Pro VII, compute capability 9.0 13strata generate: expert arena read through the file cache (buffered (not Windows)) 14strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 16907 2 MiB pages, vm.nr_hugepages=0); transparent huge pages requested (MADV_HUGEPAGE) 15strata generate: loaded 33.02 GiB at 3.21 GiB/s 16strata generate: CPU pool tasks/phase: 30 (automatic), participating threads: 10 17strata generate: 9 pool workers on logical processors 1,2,3,4,5,6,7,8,9, the host thread on 0 (draining too) (--host-core first) 18strata generate: expert cache auto: 10.85 GiB free, 1024 MiB reserved (+143 MiB for the draft head) -> 6900 slots 19strata generate: expert cache 7245 slots, 9.71 GiB of VRAM; policy is 20strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU, 21 so a reply can differ slightly from a run without the cache (same quality: 22 bench/results/2026-09-27-cache-parity). 23 PROFILE, ranked by routing frequency, no eviction. 24strata generate: pre-filled 7245 of 7245 slots from the profile in 0.8 s (12524 MB/s); slot 0 verified 25strata generate: R4 hit path ON - resident experts are computed on the GPU 26strata generate: 9 expert-pool workers + the host thread 27strata generate: session is up (engine 0.1.41) 28strata generate: token graph hit path: 7245 resident experts, decided on the device 29prefill: the CPU share is ON by default for prompt chunks below 1024 tokens (the idle CPU takes some of the experts the GPU would stream; answers can differ slightly from 0.1.40.3, mean KL ~0.004). STRATA_PREFILL_CPU_SHARE=0 turns it off. 30strata serve: the prompt path borrows 1262 CUDA0 cache slots (1.69 GiB) 31strata 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) 32strata verify: window up to 5 tokens, 51.8 MiB of device buffers 33strata mtp: draft head over 106299 tokens (137.9 MiB) 34strata serve: 932 MiB of VRAM free with everything loaded 35strata verify: capturing the 5-token window (932 MiB of VRAM free) 36strata verify: captured the 5-token window (upload no error, sync no error) 37strata verify: capturing the 2-token window (794 MiB of VRAM free) 38strata verify: captured the 2-token window (upload no error, sync no error) 39strata verify: capturing the 1-token window (794 MiB of VRAM free) 40strata verify: captured the 1-token window (upload no error, sync no error) 41strata verify: capturing the 3-token window (785 MiB of VRAM free) 42strata verify: captured the 3-token window (upload no error, sync no error) 43strata serve: prompt 19 tokens = 0 reused + 19 read in 917 ms (20.7 tok/s), 2 generated in 219 ms (9.1 tok/s), drafts accepted 2 of 2, 1 checkpoints 44strata serve: decode expert cache hit rate: 52.6% (844 hits / 1604 lookups); 316 more read by the GPU over PCIe or from another GPU (16.5% of all 1920 routed) 45strata serve: KV streaming: 91.67% of 864 block reads hit VRAM, 0.3 MiB read from RAM 46strata verify: capturing the 4-token window (749 MiB of VRAM free) 47strata verify: captured the 4-token window (upload no error, sync no error) 48strata serve: prompt 4096 tokens = 0 reused + 4096 read in 11881 ms (344.8 tok/s), 256 generated in 11619 ms (22.0 tok/s), drafts accepted 98 of 110, 1 checkpoints 49strata serve: decode expert cache hit rate: 83.9% (103737 hits / 123603 lookups); 5517 more read by the GPU over PCIe or from another GPU (4.3% of all 129120 routed) 50strata serve: KV streaming: 99.24% of 1694532 block reads hit VRAM, 51.9 MiB read from RAM 51strata serve: suffix drafts: 2 windows, 3 of 4 drafts accepted 52strata serve: prompt 4096 tokens = 0 reused + 4096 read in 11731 ms (349.2 tok/s), 256 generated in 10496 ms (24.4 tok/s), drafts accepted 116 of 127, 1 checkpoints 53strata serve: decode expert cache hit rate: 87.5% (109052 hits / 124622 lookups); 4498 more read by the GPU over PCIe or from another GPU (3.5% of all 129120 routed) 54strata serve: KV streaming: 99.24% of 1694544 block reads hit VRAM, 51.8 MiB read from RAM 55strata serve: suffix drafts: 2 windows, 2 of 5 drafts accepted 56strata serve: prompt 4096 tokens = 0 reused + 4096 read in 11690 ms (350.4 tok/s), 256 generated in 10750 ms (23.8 tok/s), drafts accepted 107 of 119, 1 checkpoints 57strata serve: decode expert cache hit rate: 87.9% (109465 hits / 124551 lookups); 4089 more read by the GPU over PCIe or from another GPU (3.2% of all 128640 routed) 58strata serve: KV streaming: 99.24% of 1688364 block reads hit VRAM, 52.0 MiB read from RAM 59strata serve: suffix drafts: 1 windows, 0 of 1 drafts accepted 60strata serve: prompt 32768 tokens = 0 reused + 32768 read in 94372 ms (347.2 tok/s), 256 generated in 10691 ms (23.9 tok/s), drafts accepted 112 of 114, 2 checkpoints 61strata serve: decode expert cache hit rate: 88.5% (106929 hits / 120842 lookups); 3478 more read by the GPU over PCIe or from another GPU (2.8% of all 124320 routed) 62strata serve: KV streaming: 97.20% of 1632924 block reads hit VRAM, 184.2 MiB read from RAM 63strata serve: prompt 32768 tokens = 0 reused + 32768 read in 94588 ms (346.4 tok/s), 256 generated in 10986 ms (23.3 tok/s), drafts accepted 103 of 108, 2 checkpoints 64strata serve: decode expert cache hit rate: 87.7% (106418 hits / 121331 lookups); 3949 more read by the GPU over PCIe or from another GPU (3.2% of all 125280 routed) 65strata serve: KV streaming: 97.22% of 1645248 block reads hit VRAM, 184.1 MiB read from RAM 66strata serve: suffix drafts: 1 windows, 1 of 1 drafts accepted 67strata serve: prompt 32768 tokens = 0 reused + 32768 read in 94757 ms (345.8 tok/s), 256 generated in 10773 ms (23.8 tok/s), drafts accepted 106 of 110, 2 checkpoints 68strata serve: decode expert cache hit rate: 88.4% (107138 hits / 121187 lookups); 3613 more read by the GPU over PCIe or from another GPU (2.9% of all 124800 routed) 69strata serve: KV streaming: 97.13% of 1639080 block reads hit VRAM, 189.4 MiB read from RAM 70strata serve: prompt 128000 tokens = 0 reused + 128000 read in 399839 ms (320.1 tok/s), 256 generated in 11095 ms (23.1 tok/s), drafts accepted 102 of 106, 6 checkpoints 71strata serve: decode expert cache hit rate: 88.9% (107853 hits / 121332 lookups); 3468 more read by the GPU over PCIe or from another GPU (2.8% of all 124800 routed) 72strata serve: KV streaming: 95.55% of 1639080 block reads hit VRAM, 294.1 MiB read from RAM 73strata serve: suffix drafts: 1 windows, 1 of 1 drafts accepted 74strata serve: prompt 128000 tokens = 0 reused + 128000 read in 402576 ms (318.0 tok/s), 256 generated in 10865 ms (23.6 tok/s), drafts accepted 111 of 115, 6 checkpoints 75strata serve: decode expert cache hit rate: 88.8% (107787 hits / 121350 lookups); 3450 more read by the GPU over PCIe or from another GPU (2.8% of all 124800 routed) 76strata serve: KV streaming: 95.56% of 1639092 block reads hit VRAM, 293.0 MiB read from RAM 77strata serve: prompt 128000 tokens = 0 reused + 128000 read in 403888 ms (316.9 tok/s), 256 generated in 11023 ms (23.2 tok/s), drafts accepted 107 of 109, 6 checkpoints 78strata serve: decode expert cache hit rate: 89.6% (108923 hits / 121590 lookups); 3210 more read by the GPU over PCIe or from another GPU (2.6% of all 124800 routed) 79strata serve: KV streaming: 95.66% of 1639092 block reads hit VRAM, 286.8 MiB read from RAM 80strata serve: prompt 32171 tokens = 0 reused + 32171 read in 98085 ms (328.0 tok/s), 9 generated in 467 ms (19.3 tok/s), drafts accepted 6 of 6, 2 checkpoints 81strata serve: decode expert cache hit rate: 49.8% (1976 hits / 3965 lookups); 835 more read by the GPU over PCIe or from another GPU (17.4% of all 4800 routed) 82strata serve: KV streaming: 80.06% of 98592 block reads hit VRAM, 79.2 MiB read from RAM 83strata serve: prompt 32171 tokens = 0 reused + 32171 read in 97697 ms (329.3 tok/s), 9 generated in 442 ms (20.4 tok/s), drafts accepted 6 of 6, 2 checkpoints 84strata serve: decode expert cache hit rate: 58.6% (2416 hits / 4126 lookups); 674 more read by the GPU over PCIe or from another GPU (14.0% of all 4800 routed) 85strata serve: KV streaming: 77.83% of 98592 block reads hit VRAM, 88.1 MiB read from RAM 86strata serve: prompt 32172 tokens = 16384 reused + 15788 read in 49188 ms (321.0 tok/s), 10 generated in 432 ms (23.1 tok/s), drafts accepted 6 of 6, 2 checkpoints 87strata serve: decode expert cache hit rate: 60.4% (2504 hits / 4145 lookups); 655 more read by the GPU over PCIe or from another GPU (13.6% of all 4800 routed) 88strata serve: KV streaming: 85.07% of 197184 block reads hit VRAM, 118.6 MiB read from RAM 89strata serve: prompt 125451 tokens = 0 reused + 125451 read in 404123 ms (310.4 tok/s), 10 generated in 550 ms (18.2 tok/s), drafts accepted 6 of 6, 6 checkpoints 90strata serve: decode expert cache hit rate: 68.2% (3487 hits / 5114 lookups); 646 more read by the GPU over PCIe or from another GPU (11.2% of all 5760 routed) 91strata serve: KV streaming: 76.58% of 110928 block reads hit VRAM, 104.7 MiB read from RAM 92strata serve: prompt 125449 tokens = 0 reused + 125449 read in 404844 ms (309.9 tok/s), 9 generated in 418 ms (21.5 tok/s), drafts accepted 4 of 4, 6 checkpoints 93strata serve: decode expert cache hit rate: 71.2% (2744 hits / 3853 lookups); 467 more read by the GPU over PCIe or from another GPU (10.8% of all 4320 routed) 94strata serve: KV streaming: 72.04% of 92424 block reads hit VRAM, 104.1 MiB read from RAM 95strata serve: prompt 125449 tokens = 16384 reused + 109065 read in 356162 ms (306.2 tok/s), 9 generated in 443 ms (20.3 tok/s), drafts accepted 5 of 5, 6 checkpoints 96strata serve: decode expert cache hit rate: 75.8% (3321 hits / 4382 lookups); 418 more read by the GPU over PCIe or from another GPU (8.7% of all 4800 routed) 97strata serve: KV streaming: 80.63% of 191016 block reads hit VRAM, 149.0 MiB read from RAM 98strata generate: PCIe probe: 13.8 GB/s host->device (best of 13.7 13.8 13.8 13.8) -> pcie_frac 0.38 (default 0.55) 99strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) 100strata generate: native pack: /home/user/Strata-data/packs/iq2_xs experts (largest blob 1.51 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.1 s) 101strata generate: 1466 MiB of weights loaded from /home/user/Strata-data/packs/iq2_xs in 0.4 s (302 canonical tensors skipped: served natively) 102strata generate: 300 native projection matrices, 1474.85 MiB of weights, in 0.6 s 103strata 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) 104strata generate: profile /home/user/Strata/data/expert-profile.bin: 24576 ranked pairs, built for 24576 slots 105strata generate: KV streaming: 32768 of 131072 cells per QSA layer in VRAM, the K/V in 1.55 GiB of pinned RAM 106strata generate: PLE on, table 320001536 rows of /media/user/新加卷/Strata-models/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf 107strata mtp: draft layer loaded, 834 MiB of VRAM (experts 675, dense 111), files read in 0.47 s (1661 MiB/s) 108strata generate: experimental native Q5_K head, 337715200 bytes, in 0.2 s 109strata generate: GPU 0: AMD Radeon Pro VII, compute capability 9.0 110strata generate: expert arena read through the file cache (buffered (not Windows)) 111strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 16907 2 MiB pages, vm.nr_hugepages=0); transparent huge pages requested (MADV_HUGEPAGE) 112strata generate: loaded 33.02 GiB at 3.35 GiB/s 113strata generate: CPU pool tasks/phase: 30 (automatic), participating threads: 10 114strata generate: 9 pool workers on logical processors 1,2,3,4,5,6,7,8,9, the host thread on 0 (draining too) (--host-core first) 115strata generate: expert cache auto: 10.85 GiB free, 1024 MiB reserved (+143 MiB for the draft head) -> 6900 slots 116strata generate: expert cache 7245 slots, 9.71 GiB of VRAM; policy is 117strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU, 118 so a reply can differ slightly from a run without the cache (same quality: 119 bench/results/2026-09-27-cache-parity). 120 PROFILE, ranked by routing frequency, no eviction. 121strata generate: pre-filled 7245 of 7245 slots from the profile in 0.8 s (12644 MB/s); slot 0 verified 122strata generate: R4 hit path ON - resident experts are computed on the GPU 123strata generate: 9 expert-pool workers + the host thread 124strata generate: session is up (engine 0.1.41) 125strata generate: token graph hit path: 7245 resident experts, decided on the device 126prefill: the CPU share is ON by default for prompt chunks below 1024 tokens (the idle CPU takes some of the experts the GPU would stream; answers can differ slightly from 0.1.40.3, mean KL ~0.004). STRATA_PREFILL_CPU_SHARE=0 turns it off. 127strata serve: the prompt path borrows 1262 CUDA0 cache slots (1.69 GiB) 128strata 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) 129strata verify: window up to 5 tokens, 51.8 MiB of device buffers 130strata mtp: draft head over 106299 tokens (137.9 MiB) 131strata serve: 932 MiB of VRAM free with everything loaded 132strata verify: capturing the 5-token window (932 MiB of VRAM free) 133strata verify: captured the 5-token window (upload no error, sync no error) 134strata verify: capturing the 2-token window (794 MiB of VRAM free) 135strata verify: captured the 2-token window (upload no error, sync no error) 136strata verify: capturing the 1-token window (794 MiB of VRAM free) 137strata verify: captured the 1-token window (upload no error, sync no error) 138strata verify: capturing the 3-token window (785 MiB of VRAM free) 139strata verify: captured the 3-token window (upload no error, sync no error) 140strata serve: prompt 19 tokens = 0 reused + 19 read in 859 ms (22.1 tok/s), 2 generated in 219 ms (9.1 tok/s), drafts accepted 2 of 2, 1 checkpoints 141strata serve: decode expert cache hit rate: 52.6% (844 hits / 1604 lookups); 316 more read by the GPU over PCIe or from another GPU (16.5% of all 1920 routed) 142strata serve: KV streaming: 91.67% of 864 block reads hit VRAM, 0.3 MiB read from RAM 143strata verify: capturing the 4-token window (749 MiB of VRAM free) 144strata verify: captured the 4-token window (upload no error, sync no error) 145strata serve: prompt 4096 tokens = 0 reused + 4096 read in 11908 ms (344.0 tok/s), 256 generated in 11509 ms (22.2 tok/s), drafts accepted 98 of 110, 1 checkpoints 146strata serve: decode expert cache hit rate: 83.9% (103737 hits / 123603 lookups); 5517 more read by the GPU over PCIe or from another GPU (4.3% of all 129120 routed) 147strata serve: KV streaming: 99.24% of 1694532 block reads hit VRAM, 51.9 MiB read from RAM 148strata serve: suffix drafts: 2 windows, 3 of 4 drafts accepted 149strata serve: prompt 4096 tokens = 0 reused + 4096 read in 11737 ms (349.0 tok/s), 256 generated in 10457 ms (24.5 tok/s), drafts accepted 116 of 127, 1 checkpoints 150strata serve: decode expert cache hit rate: 87.5% (109052 hits / 124622 lookups); 4498 more read by the GPU over PCIe or from another GPU (3.5% of all 129120 routed) 151strata serve: KV streaming: 99.24% of 1694544 block reads hit VRAM, 51.8 MiB read from RAM 152strata serve: suffix drafts: 2 windows, 2 of 5 drafts accepted 153strata serve: prompt 4096 tokens = 0 reused + 4096 read in 11741 ms (348.9 tok/s), 256 generated in 10700 ms (23.9 tok/s), drafts accepted 107 of 122, 1 checkpoints 154strata serve: decode expert cache hit rate: 87.9% (110671 hits / 125922 lookups); 4158 more read by the GPU over PCIe or from another GPU (3.2% of all 130080 routed) 155strata serve: KV streaming: 99.24% of 1706856 block reads hit VRAM, 52.0 MiB read from RAM 156strata serve: suffix drafts: 1 windows, 0 of 4 drafts accepted 157strata serve: prompt 32768 tokens = 0 reused + 32768 read in 98161 ms (333.8 tok/s), 256 generated in 10661 ms (24.0 tok/s), drafts accepted 111 of 112, 2 checkpoints 158strata serve: decode expert cache hit rate: 87.9% (105462 hits / 119980 lookups); 3860 more read by the GPU over PCIe or from another GPU (3.1% of all 123840 routed) 159strata serve: KV streaming: 97.18% of 1626768 block reads hit VRAM, 184.8 MiB read from RAM 160strata serve: prompt 32768 tokens = 0 reused + 32768 read in 101671 ms (322.3 tok/s), 256 generated in 10704 ms (23.9 tok/s), drafts accepted 109 of 113, 2 checkpoints 161strata serve: decode expert cache hit rate: 87.3% (105317 hits / 120584 lookups); 4216 more read by the GPU over PCIe or from another GPU (3.4% of all 124800 routed) 162strata serve: KV streaming: 97.13% of 1639068 block reads hit VRAM, 189.6 MiB read from RAM 163strata serve: prompt 32768 tokens = 0 reused + 32768 read in 103248 ms (317.4 tok/s), 256 generated in 10742 ms (23.8 tok/s), drafts accepted 108 of 113, 2 checkpoints 164strata serve: decode expert cache hit rate: 87.8% (106909 hits / 121819 lookups); 3941 more read by the GPU over PCIe or from another GPU (3.1% of all 125760 routed) 165strata serve: KV streaming: 97.22% of 1651404 block reads hit VRAM, 185.0 MiB read from RAM 166strata serve: prompt 128000 tokens = 0 reused + 128000 read in 452206 ms (283.1 tok/s), 256 generated in 11007 ms (23.3 tok/s), drafts accepted 106 of 112, 6 checkpoints 167strata serve: decode expert cache hit rate: 88.6% (108231 hits / 122117 lookups); 3643 more read by the GPU over PCIe or from another GPU (2.9% of all 125760 routed) 168strata serve: KV streaming: 95.50% of 1651392 block reads hit VRAM, 299.5 MiB read from RAM 169strata serve: suffix drafts: 1 windows, 1 of 1 drafts accepted 170strata serve: prompt 128000 tokens = 0 reused + 128000 read in 457677 ms (279.7 tok/s), 256 generated in 10635 ms (24.1 tok/s), drafts accepted 117 of 120, 6 checkpoints 171strata serve: decode expert cache hit rate: 89.1% (107582 hits / 120802 lookups); 3518 more read by the GPU over PCIe or from another GPU (2.8% of all 124320 routed) 172strata serve: KV streaming: 95.52% of 1632924 block reads hit VRAM, 294.7 MiB read from RAM 173strata serve: suffix drafts: 1 windows, 1 of 1 drafts accepted 174strata serve: prompt 128000 tokens = 0 reused + 128000 read in 458043 ms (279.4 tok/s), 256 generated in 10908 ms (23.5 tok/s), drafts accepted 114 of 123, 6 checkpoints 175strata serve: decode expert cache hit rate: 89.8% (111792 hits / 124456 lookups); 3224 more read by the GPU over PCIe or from another GPU (2.5% of all 127680 routed) 176strata serve: KV streaming: 95.81% of 1676052 block reads hit VRAM, 282.6 MiB read from RAM 177strata serve: suffix drafts: 1 windows, 2 of 4 drafts accepted