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

files

BUILD.json218 B
Dockerfile389 B
README.md9.0 KiB
artifact-hashes.json2.6 KiB
benchmark.py7.0 KiB
engine.log8.6 KiB
final-status.json954 B
initial-status.json842 B
memory-summary.json301 B
model-provenance.json1.5 KiB
monitor.py870 B
mtp-manifest.json11.4 KiB
needles.json1005 B
python-packages.txt233 B
results.json17.2 KiB
strata-iq2_xs.json1.2 KiB
summary.json2.3 KiB
telemetry.jsonl46.2 KiB

Community benchmark: RTX 5090, Core Ultra 9 285K

Measured on 2026-09-30 by hagope, on a Linux machine called OMAN. This tests Strata 0.1.29 with the original Flash-Next IQ2_XS, one GPU, and a 131,072-token context limit.

Median decode throughput was 179.4 tok/s at 4,096 prompt tokens, 175.7 tok/s at 32,768, and 165.0 tok/s 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 or performance on other workloads.

Hardware and software

Model and configuration

Model: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, revision ed59f92082b1e93c0e96d60a8b11aab089b52f09:

All three local GGUF SHA-256 hashes matched the revision's published LFS hashes. model-provenance.json contains filenames, byte sizes, revisions, and verified hashes. MTP was fetched by the installer from Qwen/Qwen3.8-Flash-Next; its API reported revision de4b8e4d43b917e7706784d8bb445c9af86a3540 at verification time. The installer uses main for those tensor-range downloads. Their individual output hashes are retained in mtp-manifest.json; the full BF16 upstream shards were not downloaded or independently hash-verified.

The unmodified installer prepared the native IQ2_XS pack and Q2_0 MTP experts. artifact-hashes.json identifies the executables, default expert profile, tokenizer, pack metadata/dense weights, and draft pack.

The complete measured configuration is strata-iq2_xs.json. Startup choices and every request's timing/draft statistics are in engine.log.

Method and reproduction

Use the attached Dockerfile, the pinned source commit, and an empty data directory. Mount a working directory as /workspace, with the checkout at /workspace/Strata. Run setup inside the CUDA container with GPU access, host IPC, and unlimited memlock:

bash ./setup.sh --family qwen --model IQ2_XS --context 131072 --kv int8 \
  --vision gpu --experimental-speed-projection off --gpu 0 --low-ram off \
  --build --yes --no-start --port 18080 --data-dir /workspace/Strata-data

Launch the prepared server on loopback inside a container using host networking:

/workspace/Strata/.venv/bin/python serve/server.py --engine strata \
  --config strata-iq2_xs.json --host 127.0.0.1 --port 18080

Run benchmark.py inside that container, after placing the script at /workspace/benchmark.py. It generates deterministic synthetic Python functions, adds a different nonce near the start of each request, and counts the complete rendered chat prompt using Strata's tokenizer. It adjusts the filler to the target token count and verifies the count against the server afterward. The resulting request hashes are in results.json.

/workspace/Strata/.venv/bin/python /workspace/benchmark.py
/workspace/Strata/.venv/bin/python tools/needle_bench.py \
  --url http://127.0.0.1:18080 --lengths 32k,128k --depths 10,50,90 \
  --out /workspace/results/needles.json

One short warm-up request was excluded. Three runs at each length were executed serially in increasing-length order on the same loaded engine. All nine speed requests processed their entire prompt: zero reused tokens. The GPU expert cache was filled at startup and retained between requests; no engine restart or OS page-cache reset separated them. Downloads and file verification had already warmed the filesystem cache. Loading time is excluded.

The script measures streaming TTFT from immediately before the HTTP request until the first nonempty text delta, ignoring empty role chunks and keep-alives. With reasoning off, that delta contains answer text. Total latency ends at stream completion. Both timings include HTTP and frontend tokenization on OMAN over loopback. Engine prompt throughput uses freshly read tokens divided by prompt_ms; decode throughput uses engine_generated / decode_ms. The JSON preserves the engine timing values and output text for each run.

Results

Each cell below is the median [minimum–maximum] of three runs. Every request generated 256 tokens and stopped at the output limit, with no failed or cancelled speed requests.

Prompt tokensReusedPrompt tok/sDecode tok/sTTFT secondsTotal seconds
4,09604,269.8 [3,510.2–4,273.3]179.4 [161.3–184.8]0.974 [0.973–1.183]2.392 [2.351–2.761]
32,76805,543.2 [5,527.1–5,549.6]175.7 [166.1–181.8]5.950 [5.942–5.968]7.390 [7.348–7.498]
128,00005,778.7 [5,767.0–5,791.9]165.0 [154.8–169.3]22.262 [22.212–22.308]23.850 [23.765–23.856]

Raw per-run records: results.json. Calculated aggregates: summary.json. The lower first 4K run is retained in the range. Decode expert-cache hit rates were 97.8–99.7% for these nine requests.

monitor.py sampled the host once per second, starting before model load and ending after the recall checks. telemetry.jsonl contains 250 samples over 255.9 seconds, with the following observed peaks:

Sampling and the server's own telemetry were active during inference. These are sampled peaks; brief allocation spikes between samples may be missed. Aggregates are also recorded in memory-summary.json.

Recall and limitations

The repository's unchanged tools/needle_bench.py found all six needles: depths 10%, 50%, and 90% at both requested lengths. Actual prompt lengths were 30,804–30,805 tokens for 32k and 126,318–126,320 for 128k. All answers exactly matched the expected code words. See needles.json.

The final 128K recall case reused 16,384 prompt tokens; the other five reused zero. Recall latency is therefore not used in the fresh-prompt speed table. The script chooses needle depth by character position, not token position.

This is one machine, one quantization, one configuration, and a small synthetic workload. Long output, sampled decoding, thinking, coding-task correctness, vision, tool use, multi-request concurrency, and a sustained thermal run were not evaluated. The built-in needle check measures recall on these six inputs, not general model accuracy. No same-workload baseline on another engine or GPU was run; do not interpret the README's different-hardware numbers as a controlled comparison. The 128,000-token speed prompt also does not fill every token of the 131,072-token context window.