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
10 files

files

README.md9.9 KiB
benchmark.py5.9 KiB
config-stock.json938 B
engine-start-stock.txt1.6 KiB
make_prompts.py3.8 KiB
needles-private.json1005 B
needles-stock.json1005 B
results-private.json9.6 KiB
results-stock.json9.2 KiB
summary.json6.2 KiB

Community benchmark on RTX 5080 16 GB + RTX 4060 Ti 8 GB (helper expert cache), Ryzen 9 9950X3D, 96 GB

Measured on 2026-10-09 by KarlGrier. Stock Strata v0.1.41 on the ISTA-DASLab IQ3_S file at a 131,072-token context: three runs each at 4,096, 32,768 and 128,000 prompt tokens, plus tools/needle_bench.py at 32k and 128k. Two more sets are listed separately because they are not v0.1.41 as released: the same runs on a private build (v0.1.41 with local patches), and two larger files measured on 2026-10-07/08 on an older private build as stand-ins for a bigger model. Main limitation: one machine, one IQ3_S file, three runs per size, temperature 0 with a 256-token output cap.

Hardware and software

Model and configuration

strata --serve --pack <pack> --native <IQ3_S shard 1> --ple-gguf <IQ3_S shard 2> --expert-profile data/expert-profile.bin
  --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --mtp <mtp/rt> --max-context 131072 --kv int8
  --kv-resident 32768 --pcie-frac 0 --ple-inflight 128 --vram-reserve-mib 713 --expert-cache-device1 3300
env: CUDA_VISIBLE_DEVICES=<RTX 5080>,<RTX 4060 Ti> STRATA_IO_THREADS=64 CUDA_MODULE_LOADING=LAZY STRATA_GR_V3=1
     STRATA_PF_FUSED=1 STRATA_MMVQ_IL=1 STRATA_ADAPT_LAG=2 STRATA_DISJOINT_ADAPT=1
served by serve/server.py on 127.0.0.1

Method

Results: stock v0.1.41

ConfigurationActual prompt tokensReused tokensGenerated tokensRunsPrompt tok/s median (range)Decode tok/s median (range)TTFT seconds median (range)
4K4,096–4,0970143, 163, 17833,451 (3,436–3,500)146.0 (135.8–147.3)1.20 (1.19–1.21)
32K32,768–32,7740238, 168, 25234,277 (4,202–4,300)132.2 (127.9–137.8)7.70 (7.67–7.84)
128K128,0010256, 225, 23134,166 (4,165–4,166)124.9 (123.7–126.7)30.80 (30.79–30.81)

Same machine, same day: a private build (not v0.1.41 as released)

The same prompts, method and flags on v0.1.41 with 27 local patches (exact speculative sampling, a cost-aware draft length, decode kernel changes, a conversation cache in RAM, transplants of #567 / #652 / #619), with STRATA_PREFILL_CPU_SHARE=0 and --chat-cache 16 --chat-cache-mib 12288 (a local flag). These patches are not part of Strata; the numbers are here only so they are not taken for the release's.

ConfigurationActual prompt tokensReused tokensGenerated tokensRunsPrompt tok/s median (range)Decode tok/s median (range)TTFT seconds median (range)
4K4,096–4,0970124, 150, 19633,430 (3,424–3,486)154.7 (148.3–158.3)1.21 (1.19–1.21)
32K32,768–32,7740176, 169, 25634,259 (4,168–4,273)151.4 (145.3–152.2)7.73 (7.70–7.90)
128K128,0010256, 225, 23634,135 (4,132–4,152)137.6 (130.5–139.2)31.02 (30.92–31.06)

Recall 6 of 6. MemAvailable at least 21.4 GiB (its conversation cache holds parked conversations in RAM), process tree at most 64.8 GiB RSS. Prompt reads are within 1 % of the release's; decode is 6–15 % higher. Per-run data: results-private.json, needles-private.json.

Stand-ins for a larger model (older private build, 2026-10-07/08)

To see how a model with more experts than this PC's RAM would run, two larger files were measured as stand-ins on v0.1.40.2 with 27 local patches (not v0.1.41, not the stock engine), served, with the server's sampling defaults (temperature 1.0, top_p 0.95, top_k 20), STRATA_UNBUFFERED_LOAD=1 (forced direct reads: faster here than the automatic choice), and the largest RAM budget that a memory guard (it stops the server when MemAvailable stays below 6 GiB for 0.6 s) let through a full session; the local file's session had one 0.2-s sample at 5.67 GiB.

FileRouted expertsPlacementDecode tok/s (7 requests: math and code reasoning to 4,096 tokens, five short checks)TTFT 8K / 32K / 64K / 120K (s)Needle at 120K
unsloth Qwen3.8-Flash-Next Q8_0119.5 GiBRTX 5080 + the 4060 Ti as a peer expert tier (--peer-device 1) + --resident-budget-gib 7118.16.5 / 19.4 / 31.3 / 50.46 of 6
the same119.5 GiBRTX 5080 + --resident-budget-gib 7115.96.5 / 19.3 / 31.3 / 50.76 of 6
a local file: UD-Q5_K_XL's routed experts with IQ3_S's other tensors91.6 GiBRTX 5080 + --resident-budget-gib 7240.15.1 / 12.4 / 20.6 / 39.46 of 6

Correctness and limitations