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

files

BUILD.json201 B
README.md8.4 KiB
TRIMMED.md1.7 KiB
benchmark.py9.1 KiB
initial-metrics.json11.5 KiB
initial-status.json1.4 KiB
needles-256k.json506 B
needles.json1005 B
nvidia-loaded.csv269 B
results.json27.1 KiB
summary.json3.1 KiB

Community benchmark: RTX 5090, Ryzen 7 9700X, IQ3_S

Measured on 2026-10-05 by steve8697, on a native Windows PC. This tests the published Strata 0.1.39 engine with the original Flash-Next IQ3_S, one GPU, and a 262,144-token context limit.

Median fresh-prompt throughput was 3,072 tok/s prefill and 164.3 tok/s decode at 4,096 prompt tokens, 5,963 / 161.3 at 32,768, 5,803 / 168.4 at 128,000, and 5,535 / 170.5 at 261,880. These are synthetic code-explanation requests with greedy decoding and a 256-token output cap. They do not establish general answer quality.

Nine tools/needle_bench.py checks returned the hidden code word exactly: 32k, 128k, and 256k, each at depths 10, 50, and 90.

The 2026-10-04 folder next to this one is IQ3_XXS on this same PC. This folder is IQ3_S. Quant, expert-cache size, and what else the machine was doing differ, so the two folders are separate measurements.

Hardware and software

Model and configuration

Launch, from the Strata directory:

.venv\Scripts\python.exe -u serve\server.py --engine strata --config strata-iq3_s.json --port 5310

The script that issued the speed requests is benchmark.py.

Method

Same shape as bench/results/2026-10-04-community-rtx-5090-9700x/benchmark.py, with one more prompt length. One warmup, then three fresh prompts at 4,096, 32,768, 128,000, and 261,880 tokens. temperature 0, reasoning_effort none, max_tokens 256, streaming. Prompt length was counted with this checkout's tokenizer and chat template before the request was sent, and it matched prompt_tokens on /metrics.

The server keeps an 8-token margin and refuses a prompt that cannot also hold max_tokens. 261,880 leaves room for a 256-token answer inside 262,144.

Prompt throughput is freshly read tokens divided by the engine's prompt_ms. Decode throughput is engine_generated divided by decode_ms. TTFT is the client clock until the first streamed content token. Each prompt is a unique nonce, synthetic Python, and a request for an explanation of at least 600 words. The 256-token cap stopped every timed reply (finish_reason length).

The model was already loaded. At the start of the script /v1/status had recorded 2 finished requests, and the latest timings were a 189,692-token prompt. Loading is not included in the table. There was no cooldown between runs. GPU samples are in telemetry.csv. Per-request records are in results.json.

Recall used the unchanged tools/needle_bench.py, thinking off, greedy, max_tokens 40. The first invocation asked for 32k,128k,262k at depths 10, 50, and 90. Output: needles.json. The tool treats a k suffix as a multiple of 1024 and then keeps 98 percent, and it skips a length when that target plus 200 exceeds the server context. 262k is 262×1024×0.98+200 = 263,122, which is above 262,144, so the tool skipped it and wrote no row. A second invocation used --lengths 256k. That target is 256×1024×0.98 = 256,901 before the question is added. The server counted 250,574 and 250,575 prompt tokens. Output: needles-256k.json. The second process starts again from the tool's fixed seed, so its three code words match the 32k rows. The haystack is the longer cut.

Results

Prompt tokensReusedGeneratedRunsPrompt tok/s median (min–max)Decode tok/s median (min–max)TTFT seconds median (min–max)
4096025633072 (3056–3080)164.3 (116.6–178.5)1.36 (1.35–1.37)
32768025635963 (5925–5973)161.3 (156.0–179.0)5.55 (5.54–5.60)
128000025635803 (5794–5914)168.4 (153.2–178.9)22.25 (21.81–22.28)
261880025635535 (5522–5600)170.5 (166.6–173.2)47.67 (47.11–47.77)

The first 4,096-token run is the slow end of that row: decode 116.6 tok/s versus 164.3 and 178.5, expert-cache hit rate 91.4% versus 96.9% and 97.6%, PCIe share of routed experts 0.050 versus 0.016 and 0.012. Later runs sat between 97.1% and 98.8% hit rate. The three 261,880-token runs were 98.0%, 98.3%, and 98.8%, with PCIe share 0.008, 0.007, and 0.004.

Drafts accepted / offered on the twelve timed runs, in the order above: 145/237, 154/238, 159/227, 143/213, 142/220, 159/220, 149/235, 150/207, 160/207, 154/206, 148/219, 149/228.

NeedlePrompt tokensWall secondsAnswer
32k depth 10321716.9exact
32k depth 50321715.6exact
32k depth 90321723.1exact
128k depth 1012545123.3exact
128k depth 5012544920.4exact
128k depth 9012544920.1exact
256k depth 1025057443.6exact
256k depth 5025057430.1exact
256k depth 9025057544.6exact

The needle wall times include prompt read and the short answer. 262k was skipped by the tool, as described above. The 261,880-token rows are the throughput measurement at the top of this server's window.

Correctness and limitations

All nine recorded needles matched the expected code word exactly. The speed prompts were stopped at 256 tokens, so their text is not a quality score. Thinking, sampled decoding, tool calls, images, and overlapping requests were not measured. The twelve serial runs never shared a batch window, so "parallel": 2 only reserved slot memory for them.

STRATA_PF_FUSED=1 changes how long prompts round native IQ expert math. This report does not claim those tokens match a run with the flag unset.

The other RTX 5090 report dated 2026-09-30 in this directory is a different computer (Linux, Core Ultra 9 285K, 64 GB, IQ2_XS, engine 0.1.29). The 2026-10-04 folder is this PC on IQ3_XXS. These IQ3_S numbers are a separate measurement from both.