okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

albedocmake: strata_kernels links strata_kernels_cpu (iq_kernels.cu reads the latent colscale table from expert_layout.cpp; strata-q36ref failed to link)a4af4df61

main
3 folders10 files

files

configs/
prompts/
runs/
BUILD-0.1.32.json201 B
BUILD-0.1.33.json201 B
BUILD-0.1.34.json201 B
BUILD-0.1.36.json201 B
BUILD-0.1.37.json201 B
BUILD-0.1.38.json201 B
BUILD-0.1.39.json201 B
README.md23.0 KiB
TRIMMED.md385 B
run_bench.py3.7 KiB

Community benchmark on RTX 5090 + Ryzen 9 5950X (AVX2): UD-Q4_K_XL, IQ3_S and Swift IQ3_XXS, engines 0.1.31 to 0.1.39

Measured on 2026-10-01 to 2026-10-04 by brenoperucchi. The same machine and prompts across engine versions. Findings:

Main limitation: one machine, 3 runs per cell, and the 40 GiB budget does not reproduce a 64 GB PC (see below).

Hardware and software

Model and configuration

UD-Q4_K_XL:

strata.exe --serve --pack <packs>\ud-q4_k_xl --native <UD-Q4_K_XL shard 1> --resident-budget-gib 72|40
  --expert-profile data\expert-profile.bin --expert-cache auto --prefill auto|auto:32768 --spec 4
  --spec-min-p 0.5 --mtp <mtp>\rt --max-context 32768 --kv int8

IQ3_S (0.1.34, 0.1.38 and 0.1.39): ISTA-DASLab Flash-Next GSQ-RCO IQ3_S (2 shards + PLE): --expert-cache auto --prefill auto|auto:32768 --spec 4 --spec-min-p 0.70 --mtp <mtp>\rt --max-context 65536 --kv int8 --pcie-frac 0.55 and STRATA_IQ_MT_MIN=1 in env.

Swift IQ3_XXS (0.1.34 to 0.1.39): Swift 1.5 IQ3_XXS pack, with the config this PC serves in production: --expert-cache auto --prefill auto:32768 --spec 4 --spec-min-p 0.70 --mtp <mtp>\rt --max-context 32768 --kv int8 --pcie-frac 0.20 and STRATA_IQ_MT_MIN=1 (expert cache 14,864 of the 24,576 experts). The STRATA_PF_FUSED=1 row is for speed only: with that flag the answers change, see #519.

The "setup's defaults" rows (0.1.39, IQ3_S and Swift IQ3_XXS) use the arguments setup 0.1.39 writes for this PC, read from its setup.py (setup itself was not run): --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp <mtp>\rt --max-context 32768 --kv int8, no --pcie-frac and no env. UD-Q4_K_XL's 72 GiB rows already match setup's defaults for 96 GB.

Every server config is in configs/ (paths as on this PC). The stager4 configs add STRATA_STAGER_THREADS=4 and STRATA_STAGER_RING=16 to env, the buffered ones STRATA_UNBUFFERED_LOAD=0.

Method

Results

UD-Q4_K_XL:

ConfigurationPromptActual prompt tokensReused tokensGenerated tokensRunsPrompt tok/s median [range]Decode tok/s median [range]TTFT seconds
0.1.31, 72 GiBshort1030227, 109, 237388.0 [88.0-94.9]71.0 [61.8-71.8]not measured
0.1.31, 72 GiBmedium2,6840256, 256, 2563961 [960-982]75.2 [62.7-76.2]not measured
0.1.31, 72 GiBlong14,6890256, 256, 25632,161 [2,156-2,167]88.3 [81.8-93.8]not measured
0.1.32, 72 GiBshort1030168, 156, 2373103.3 [99.5-109.7]68.9 [67.8-76.4]not measured
0.1.32, 72 GiBmedium2,6840256, 256, 2563902 [890-912]64.8 [61.4-66.0]not measured
0.1.32, 72 GiBlong14,6890256, 256, 25631,992 [1,980-2,036]91.6 [87.5-92.0]not measured
0.1.32, 72 GiB, second server runshort1050227, 154, 159386.6 [81.1-91.9]61.3 [59.5-72.6]not measured
0.1.32, 72 GiB, second server runmedium2,6860256, 256, 2563884 [853-887]72.9 [64.0-76.6]not measured
0.1.32, 72 GiB, second server runlong14,6910256, 256, 25631,997 [1,972-1,998]87.3 [72.4-95.3]not measured
0.1.33, 72 GiBshort1030237, 148, 157392.3 [85.5-94.0]66.0 [55.9-69.9]not measured
0.1.33, 72 GiBmedium2,6840256, 256, 2563923 [914-932]74.8 [60.3-80.4]not measured
0.1.33, 72 GiBlong14,6890256, 256, 25632,021 [1,962-2,029]89.2 [83.5-90.1]not measured
0.1.34, 72 GiBshort990155, 235, 235386.2 [70.6-86.7]68.2 [55.1-72.7]not measured
0.1.34, 72 GiBmedium2,6800256, 256, 2563890 [862-894]73.7 [54.4-75.9]not measured
0.1.34, 72 GiBlong14,6850256, 256, 25631,949 [1,942-2,005]74.6 [72.7-80.5]not measured
0.1.38, 72 GiBshort990230, 222, 241399.1 [95.3-100.7]72.2 [69.3-75.4]not measured
0.1.38, 72 GiBmedium2,6800256, 256, 2563757 [752-764]71.3 [63.2-73.7]not measured
0.1.38, 72 GiBlong14,6850256, 256, 25631,658 [1,645-1,681]87.9 [84.4-93.8]not measured
0.1.38, 72 GiB, STRATA_UNBUFFERED_LOAD=0medium2,6820256, 256, 2563899 [891-916]67.9 [53.7-69.3]not measured
0.1.38, 72 GiB, STRATA_UNBUFFERED_LOAD=0long14,6870256, 256, 25632,038 [2,010-2,065]78.3 [77.0-82.3]not measured
0.1.39, 72 GiBshort990222, 227, 210387.3 [81.1-87.4]65.9 [59.4-68.5]not measured
0.1.39, 72 GiBmedium2,6800256, 256, 2563916 [914-961]74.2 [67.9-87.6]not measured
0.1.39, 72 GiBlong14,6850256, 256, 25632,043 [2,040-2,059]81.3 [77.8-92.0]not measured
0.1.39, 72 GiB, STRATA_UNBUFFERED_LOAD=0medium2,6820256, 256, 2563941 [911-943]67.2 [66.2-75.3]not measured
0.1.39, 72 GiB, STRATA_UNBUFFERED_LOAD=0long14,6870256, 256, 25632,062 [2,002-2,106]86.0 [84.8-87.2]not measured
0.1.32, 72 GiB, old stager valuesmedium2,6870256, 256, 2563942 [931-945]70.7 [60.1-71.3]not measured
0.1.32, 72 GiB, old stager valueslong14,6920256, 256, 25632,116 [2,059-2,137]79.6 [72.0-81.0]not measured
0.1.33, 72 GiB, old stager valuesmedium2,6870256, 256, 2563947 [943-947]69.5 [57.5-72.7]not measured
0.1.33, 72 GiB, old stager valueslong14,6920256, 256, 25632,139 [2,122-2,141]87.5 [83.0-96.1]not measured
0.1.34, 72 GiB, old stager valuesmedium2,6830256, 256, 2563944 [941-952]70.5 [68.7-77.3]not measured
0.1.34, 72 GiB, old stager valueslong14,6880256, 256, 25632,133 [2,133-2,148]79.9 [78.5-81.8]not measured
0.1.38, 72 GiB, old stager valuesmedium2,6830256, 256, 2563772 [766-772]78.1 [64.5-82.8]not measured
0.1.38, 72 GiB, old stager valueslong14,6880256, 256, 25631,704 [1,699-1,709]80.6 [78.2-82.8]not measured
0.1.39, 72 GiB, old stager valuesmedium2,6830256, 256, 2563988 [987-998]71.4 [66.7-75.8]not measured
0.1.39, 72 GiB, old stager valueslong14,6880256, 256, 25632,169 [2,166-2,187]81.9 [76.4-83.1]not measured
0.1.34, 72 GiB, --prefill auto:32768short1030210, 225, 229385.5 [85.0-88.0]66.2 [62.0-71.8]not measured
0.1.34, 72 GiB, --prefill auto:32768medium2,6840256, 256, 2563900 [881-912]67.0 [64.6-79.3]not measured
0.1.34, 72 GiB, --prefill auto:32768long14,6890256, 256, 25632,623 [2,527-2,680]79.9 [71.2-80.9]not measured
0.1.38, 72 GiB, --prefill auto:32768short1030228, 233, 2313101.9 [99.3-102.7]72.8 [71.9-73.0]not measured
0.1.38, 72 GiB, --prefill auto:32768medium2,6840256, 256, 2563738 [642-743]74.6 [71.8-83.0]not measured
0.1.38, 72 GiB, --prefill auto:32768long14,6890256, 256, 25631,802 [1,796-1,819]77.2 [70.6-77.9]not measured
0.1.39, 72 GiB, --prefill auto:32768short1030235, 165, 105388.4 [82.6-94.1]65.9 [62.0-91.9]not measured
0.1.39, 72 GiB, --prefill auto:32768medium2,6840256, 256, 2563948 [939-949]62.4 [56.7-76.5]not measured
0.1.39, 72 GiB, --prefill auto:32768long14,6890256, 256, 25632,736 [2,645-2,777]83.3 [74.8-84.7]not measured
0.1.32, 40 GiBshort1030149, 160, 231395.6 [83.1-100.3]54.8 [50.2-65.1]not measured
0.1.32, 40 GiBmedium2,6840256, 256, 2563797 [785-799]54.4 [54.1-59.8]not measured
0.1.32, 40 GiBlong14,6890256, 256, 25631,839 [1,810-1,856]73.5 [72.3-79.5]not measured
0.1.33, 40 GiBshort1030148, 228, 105394.8 [82.4-95.1]48.7 [43.8-70.9]not measured
0.1.33, 40 GiBmedium2,6840256, 256, 2563796 [794-808]62.8 [62.0-68.5]not measured
0.1.33, 40 GiBlong14,6890256, 256, 25631,803 [1,797-1,804]75.6 [67.2-79.3]not measured
0.1.34, 40 GiBshort990204, 228, 212390.2 [83.7-91.0]55.2 [51.4-58.7]not measured
0.1.34, 40 GiBmedium2,6800256, 256, 2563803 [787-816]67.3 [63.4-67.5]not measured
0.1.34, 40 GiBlong14,6850256, 256, 25631,844 [1,823-1,848]69.8 [64.3-74.3]not measured
0.1.38, 40 GiBshort990235, 231, 144366.0 [64.1-70.8]47.8 [46.9-48.6]not measured
0.1.38, 40 GiBmedium2,6800256, 256, 2563472 [472-474]45.3 [40.4-55.8]not measured
0.1.38, 40 GiBlong14,6850256, 256, 25631,105 [1,103-1,105]68.0 [56.0-68.6]not measured
0.1.38, 40 GiB, STRATA_UNBUFFERED_LOAD=0medium2,6820256, 256, 2563844 [818-846]62.0 [61.8-66.4]not measured
0.1.38, 40 GiB, STRATA_UNBUFFERED_LOAD=0long14,6870256, 256, 25631,913 [1,887-1,930]72.9 [66.9-73.9]not measured
0.1.39, 40 GiBshort990160, 233, 208389.9 [79.4-92.2]60.4 [58.9-60.8]not measured
0.1.39, 40 GiBmedium2,6800256, 256, 2563857 [822-866]70.8 [69.1-79.1]not measured
0.1.39, 40 GiBlong14,6850256, 256, 25631,896 [1,888-1,953]78.3 [74.5-80.4]not measured
0.1.39, 40 GiB, STRATA_UNBUFFERED_LOAD=0medium2,6820256, 256, 2563842 [814-860]68.5 [61.9-69.7]not measured
0.1.39, 40 GiB, STRATA_UNBUFFERED_LOAD=0long14,6870256, 256, 25631,954 [1,927-1,968]80.3 [73.0-83.1]not measured

IQ3_S:

ConfigurationPromptActual prompt tokensReused tokensGenerated tokensRunsPrompt tok/s median [range]Decode tok/s median [range]TTFT seconds
0.1.34, --prefill automedium2,6800256, 256, 25632,331 [2,288-2,333]141.6 [140.1-157.1]not measured
0.1.34, --prefill autolong14,6850256, 256, 25634,610 [4,604-4,612]156.0 [153.0-168.7]not measured
0.1.34, --prefill autoxlong28,8830256, 256, 25634,682 [4,665-4,694]148.6 [144.0-148.8]not measured
0.1.34, --prefill auto:32768medium2,6830256, 256, 25632,309 [2,285-2,338]140.4 [132.0-168.2]not measured
0.1.34, --prefill auto:32768long14,6880256, 256, 25635,406 [5,381-5,421]148.5 [148.1-165.5]not measured
0.1.34, --prefill auto:32768xlong28,8860256, 256, 25636,150 [6,149-6,151]142.0 [139.7-144.2]not measured
0.1.38, --prefill automedium2,6800256, 256, 25632,349 [2,347-2,350]152.2 [128.5-174.9]not measured
0.1.38, --prefill autolong14,6850256, 256, 25635,520 [5,508-5,531]154.0 [152.1-163.2]not measured
0.1.38, --prefill autoxlong28,8830256, 256, 25635,495 [5,490-5,518]148.1 [146.0-148.4]not measured
0.1.38, --prefill auto:32768medium2,6830256, 256, 25632,353 [2,351-2,357]148.6 [122.2-150.6]not measured
0.1.38, --prefill auto:32768long14,6880256, 256, 25636,287 [6,283-6,290]168.8 [159.8-177.1]not measured
0.1.38, --prefill auto:32768xlong28,8860256, 256, 25636,870 [6,869-6,870]147.9 [144.1-154.4]not measured
0.1.39, --prefill automedium2,6800256, 256, 25632,373 [2,366-2,374]148.8 [147.5-174.5]not measured
0.1.39, --prefill autolong14,6850256, 256, 25635,573 [5,567-5,583]175.2 [158.3-188.1]not measured
0.1.39, --prefill autoxlong28,8830256, 256, 25635,533 [5,517-5,537]156.5 [154.8-158.4]not measured
0.1.39, --prefill auto:32768medium2,6830256, 256, 25632,372 [2,369-2,374]178.5 [165.3-182.9]not measured
0.1.39, --prefill auto:32768long14,6880256, 256, 25636,362 [6,332-6,380]169.2 [167.0-175.9]not measured
0.1.39, --prefill auto:32768xlong28,8860256, 256, 25636,941 [6,929-6,950]159.8 [159.6-163.0]not measured
0.1.39, setup's defaultsmedium2,6800256, 256, 25632,407 [2,402-2,407]158.2 [147.4-165.0]not measured
0.1.39, setup's defaultslong14,6850256, 256, 25635,605 [5,528-5,605]177.9 [177.6-181.2]not measured
0.1.39, setup's defaultsxlong28,8830256, 256, 25635,565 [5,541-5,565]170.2 [160.9-172.2]not measured

Swift IQ3_XXS:

ConfigurationPromptActual prompt tokensReused tokensGenerated tokensRunsPrompt tok/s median [range]Decode tok/s median [range]TTFT seconds
0.1.34medium2,6770256, 256, 25632,650 [2,638-2,676]148.0 [140.4-156.7]not measured
0.1.34long14,6820256, 256, 25635,513 [5,509-5,516]174.4 [168.1-176.1]not measured
0.1.34xlong28,8800256, 256, 25636,222 [6,220-6,226]163.4 [152.8-171.9]not measured
0.1.36medium2,6770256, 256, 25632,690 [2,668-2,700]169.3 [151.0-169.5]not measured
0.1.36long14,6820256, 256, 25635,534 [5,516-5,549]159.9 [158.9-178.3]not measured
0.1.36xlong28,8800256, 256, 25636,231 [6,224-6,240]158.2 [146.3-159.5]not measured
0.1.36, STRATA_PF_FUSED=1medium2,6790256, 256, 25633,192 [3,181-3,199]191.8 [177.6-196.1]not measured
0.1.36, STRATA_PF_FUSED=1long14,6840256, 256, 25636,784 [6,777-6,786]159.1 [156.5-173.4]not measured
0.1.36, STRATA_PF_FUSED=1xlong28,8820256, 256, 25637,043 [7,030-7,045]158.0 [155.6-159.3]not measured
0.1.37medium2,6760256, 256, 25632,675 [2,655-2,680]169.8 [167.8-193.7]not measured
0.1.37long14,6810256, 256, 25635,534 [5,514-5,541]171.0 [162.4-181.7]not measured
0.1.38medium2,6770256, 256, 25633,148 [3,144-3,152]165.1 [154.8-191.9]not measured
0.1.38long14,6820256, 256, 25636,374 [6,279-6,397]174.5 [165.4-176.7]not measured
0.1.38xlong28,8800256, 256, 25636,908 [6,900-6,912]160.8 [159.3-165.5]not measured
0.1.39medium2,6770256, 256, 25633,187 [3,179-3,195]177.8 [176.2-190.5]not measured
0.1.39long14,6820256, 256, 25636,454 [6,430-6,462]186.9 [171.8-201.2]not measured
0.1.39xlong28,8800256, 256, 25636,999 [6,977-7,000]164.3 [163.5-176.7]not measured
0.1.39, setup's defaultsmedium2,6780256, 256, 25633,195 [3,195-3,203]215.4 [215.0-215.8]not measured
0.1.39, setup's defaultslong14,6830256, 256, 25635,853 [5,846-5,856]188.1 [174.4-209.5]not measured
0.1.39, setup's defaultsxlong28,8810256, 256, 25635,941 [5,930-5,943]183.2 [181.6-187.2]not measured

The short prompt's output length varied between runs, so its decode numbers are less comparable. Decode expert-cache hit rate on the first UD-Q4_K_XL requests: 81-96%.

UD-Q4_K_XL prompt reading with all experts in memory (72 GiB), relative to 0.1.31: 0.1.32 is 6-8% slower on both prompts (the second 0.1.32 server run reproduced it), 0.1.33 4-7% and 0.1.34 7-10%. With the stager at 0.1.31's values (4 threads, 16 in flight), 0.1.32 to 0.1.34 stay within 2% of 0.1.31. The 0.1.32 notes describe the larger stager (32 threads, 128 in flight) for the GGUF-in-place mode, measured on a 64 GB PC where a third of the experts come from the SSD. When nothing comes from the SSD it seems to cost a little.

On 0.1.38 the engine logs the file tier reads unbuffered (... 83.0 GiB available, 103.7 GiB of files) for both budgets, and every UD-Q4_K_XL configuration reads prompts slower than on 0.1.34 (the 14.7K prompt: 1,658 instead of 1,949 tok/s at 72 GiB, 1,105 instead of 1,844 at 40 GiB). With STRATA_UNBUFFERED_LOAD=0 it reads through the file cache again: 2,038 and 1,913 tok/s.

--prefill auto:32768: on 0.1.34, UD-Q4_K_XL reads the 14.7K prompt at 2,623 tok/s against 1,949 with auto (+35%); IQ3_S goes from 4,610 to 5,406 at 14.7K (+17%) and from 4,682 to 6,150 at 28.9K (+31%), in line with #440 on a 9950X3D. On 0.1.38, IQ3_S gains 14% and 25% at those sizes. The 2.7K prompt is the same with either setting.

0.1.38 on the packs: Swift IQ3_XXS reads the 2.7K / 14.7K / 28.9K prompts at 3,148 / 6,374 / 6,908 tok/s against 2,690 / 5,534 / 6,231 on 0.1.36 (+17% / +15% / +11%); 0.1.36 and 0.1.37 are the same as 0.1.34 within 2%. IQ3_S with auto reads 14.7K and 28.9K 20% and 17% faster than on 0.1.34. Decode is unchanged.

0.1.39: UD-Q4_K_XL reads the 2.7K / 14.7K prompts at 916 / 2,043 tok/s (72 GiB) and 857 / 1,896 (40 GiB) with no variable, where 0.1.38 needed STRATA_UNBUFFERED_LOAD=0 for 899 / 2,038 and 844 / 1,913; the variable now changes nothing beyond the run-to-run range. Swift IQ3_XXS reads within 1-2% of 0.1.38 (3,187 / 6,454 / 6,999 tok/s). IQ3_S with --prefill auto:32768 reads 14.7K and 28.9K at 6,362 and 6,941 tok/s against 5,573 and 5,533 with auto. Against setup's defaults, this PC's Swift config (which also sets --pcie-frac 0.20, --spec-min-p 0.70 and STRATA_IQ_MT_MIN=1) reads 14.7K and 28.9K 10% and 18% faster and 2.7K the same; setup's defaults decode as fast or faster in these runs (215 against 178 tok/s at 2.7K), within wide ranges.

Decode does not show a consistent difference between the engines or prefill settings; its run-to-run range is wide (for example 72.4-95.3 tok/s on the long prompt in the second 0.1.32 run). No failed or cancelled requests.

Correctness and limitations

No quality checks here: answers were only hashed (for Swift with STRATA_PF_FUSED=1, see #519). One machine, one request at a time, greedy decoding, 3 runs per cell, one 72 GiB configuration for 0.1.31, IQ3_S on 0.1.34, 0.1.38 and 0.1.39 only, Windows with the GPU also driving the display. Time to first token was not measured separately; the engine's prompt time (prompt_ms) is in the run JSON.