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
1 folder12 files

files

long/
BUILD.json201 B
README.md9.7 KiB
TRIMMED.md1.4 KiB
benchmark.py8.6 KiB
download-at-end.json104 B
download-at-start.json150 B
initial-metrics.json3.5 KiB
initial-status.json1.1 KiB
needles.json1006 B
nvidia-loaded.csv359 B
results.json20.0 KiB
summary.json2.3 KiB

Community benchmark: RTX 5090, Ryzen 7 9700X

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

Median fresh-prompt throughput was 3,775 tok/s prefill and 171.7 tok/s decode at 4,096 prompt tokens, 6,367 / 181.2 at 32,768, and 6,080 / 178.3 at 128,000. These are synthetic code-explanation requests with greedy decoding and a 256-token output cap. They do not establish general answer quality.

The six tools/needle_bench.py checks all returned the hidden code word exactly.

A second start of the same engine and config, later the same evening, filled the 262,144-token window and sent two 128,000-token prompts at once. Those rows are in Full window and two requests at once.

Hardware and software

Model and configuration

Launch, from the Strata directory:

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

The script that issued the requests is benchmark.py.

Method

Same shape as bench/results/2026-09-30-community-rtx-5090/benchmark.py: one warmup, then three fresh prompts at 4,096, 32,768, and 128,000 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.

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 expert cache was left as the engine adapted it. 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 at 32k and 128k, depths 10, 50, and 90, thinking off, greedy. Output: needles.json.

Results

Prompt tokensReusedGeneratedRunsPrompt tok/s median (min–max)Decode tok/s median (min–max)TTFT seconds median (min–max)
4096025633775 (2617–3825)171.7 (130.2–173.9)1.11 (1.09–1.59)
32768025636367 (6221–6382)181.2 (157.3–183.0)5.22 (5.19–5.34)
128000025636080 (6037–6241)178.3 (174.3–193.3)21.24 (20.70–21.40)

The first 4,096-token run is the slow end of that row: prompt_ms 1565 versus 1071 and 1085, decode 130.2 tok/s versus 173.9 and 171.7, expert-cache hit rate 95.1% versus 97.9% and 98.5%. The later 32K and 128K runs sat around a 99% hit rate, with about 0.2–0.5% of routed experts read over PCIe.

Drafts accepted / offered on the nine timed runs: 150/221, 159/202, 154/230, 155/222, 143/235, 152/214, 152/224, 165/219, 156/234.

NeedlePrompt tokensWall secondsAnswer
32k depth 103217124.8exact
32k depth 50321715.4exact
32k depth 90321722.9exact
128k depth 1012545163.7exact
128k depth 5012544931.8exact
128k depth 9012544932.4exact

The needle wall times include prompt read and the short answer. The first 32k needle, which followed the 128k speed runs, had an 80.9% expert-cache hit rate. The later needles were 84.6–93.0%.

Full window and two requests at once

Same machine, engine, and config, from a second server start after the runs above. Ready state again: 12,758 experts / 20.71 GiB, batch_slots 2, spec 6, mtp_max 4, lookup 3. The unrelated shard download was still writing to the same NVMe (25.53 GB to 29.40 GB of the 54.82 GB shard). The script is long/bench_long.py. Per-request rows are long/results.json.

One prompt at the top of the window

The server keeps an 8-token margin and refuses a prompt that cannot also hold max_tokens. These prompts are 261,880 tokens, so a 256-token answer fits in 262,144. Two fresh runs, 0 reused tokens, finish_reason length, solo path with MTP.

RunPrompt tok/sDecode tok/sTTFT secondsExpert-cache hitDrafts accepted/offered
15861127.645.060.957147/220
25739156.046.010.984148/213

prompt_ms was 44,685 and 45,629. decode_ms was 2,006 and 1,641. PCIe share of routed experts was 0.021 and 0.006.

Two 128,000-token prompts at once

Two waves, each posting both requests together under "parallel": 2. For about the first 20 seconds one prompt was read on the solo path and the other waited. The reader then moved into a slot and decoded while the second prompt was read. Samples in long/wave-1-slots.json and long/wave-2-slots.json show both slots busy across that overlap. The leading request finished its 256 tokens in the slot, with no drafts. The trailing request received its first token after that and then decoded alone.

WaveLeading TTFT secondsLeading decode tok/sTrailing TTFT secondsTrailing decode tok/sPair wall seconds
121.9824.746.7668.450.5
221.0624.745.8370.349.5

Decode tok/s here is 256 generated tokens divided by the client time from the first content token to the end of that stream (about 10.4 seconds for the leading request, about 3.7 seconds for the trailing one). The leading request's server completion line was 24.7 tok/s with no drafts. Expert-cache hit rates on the four completion lines were 0.996, 0.987, 0.998, and 0.985.

/metrics prompt_ms and reused on these four rows do not describe the prefill. A request moved into a slot is recorded as having reused the prompt it just read, so one row shows reused 128000 and prompt_ms of about 2. The other row shows reused 128003, which is longer than its prompt. The table uses the client clock.

The serial 128,000-token median above had a 21.24 second TTFT and 178.3 tok/s decode. The leading request's first token stayed near that TTFT. Its decode then ran at 24.7 tok/s while the second prompt was being read, on the slot path, which does not draft.

Correctness and limitations

All six 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, and images were not measured. The nine serial runs never shared a batch window, so "parallel": 2 only reserved slot memory for them. The later pair of 128,000-token prompts did share the slots.

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 in this directory is a different computer (Linux, Core Ultra 9 285K, 64 GB, IQ2_XS, engine 0.1.29). These numbers are not a paired comparison with it, or with a 2026-09-30 run of this same PC on engine 0.1.29.