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.json206 B
README.md11.9 KiB
TRIMMED.md1.4 KiB
benchmark.py8.2 KiB
initial-status.json1.4 KiB
memory-summary.json426 B
monitor.py870 B
needles.json1010 B
results.json20.0 KiB
strata-iq3_s.json1.2 KiB
summary.json2.3 KiB

Community benchmark: RTX 5060 Ti 16 GB, Ryzen 9 7945HX

Measured on 2026-10-06 (UTC) by avarakin on the development machine for this repository, a Linux workstation with one NVIDIA GeForce RTX 5060 Ti. This repeats the method of the RTX 5090 community run with the same script, the same synthetic prompts and the same recall checks, on a different GPU, a different quantization and a smaller expert cache.

Median decode throughput was 56.6 tok/s at 4,096 prompt tokens, 60.2 tok/s at 32,768, and 57.2 tok/s at 128,000. Median prompt throughput was 1,157.7, 1,225.3 and 1,175.9 tok/s at those lengths. 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, IQ3_S (the community run used IQ2_XS):

The engine loaded 46.84 GiB at 3.11 GiB/s at startup. Hashes were not re-verified for this run and the Hugging Face revision is not recorded here; the GGUF files on disk are dated 2026-10-02. The IQ3_S native pack (/data/ai/Strata-data/packs/iq3_s, 1.5 GB) and the Q2_0 MTP draft pack (/data/ai/Strata-data/mtp/rt, 787 MB) were prepared by the setup script from those shards; packs/iq3_s/conversions.json names the two source shards and their byte sizes.

The complete measured configuration is strata-iq3_s.json. Startup choices and the per-request engine lines are in engine-excerpt.log.

Method and reproduction

The server was the one already running on this machine, started as:

.venv/bin/python serve/server.py --engine strata --config strata-iq3_s.json \
  --port 8080 --open --host 0.0.0.0

It is reachable beyond loopback and has no API key. It is also the inference endpoint this benchmark was run from: the agent driving the benchmark answers on the same server. See Limitations. The benchmark itself talked to 127.0.0.1:8080.

benchmark.py in this directory is the community script with one change, the engine-record matching fix described under Script change. The run below invoked the same script from the community directory, which carried that change at the time and has since been restored to its published state. It was run as:

.venv/bin/python bench/results/2026-09-30-community-rtx-5090/benchmark.py \
  --root /data/ai/Strata --pack /data/ai/Strata-data/packs/iq3_s \
  --url http://127.0.0.1:8080 \
  --out bench/results/2026-10-06-community-rtx-5060ti \
  --targets 4096,32768,128000 --runs 3

(The output directory was named 2026-10-06-local-rtx-5060ti during the run and renamed afterwards to the published name.)

The token-counting path was checked before the run: the binary search over the synthetic filler reached exactly 4,096, 32,768 and 128,000 rendered chat tokens with the IQ3_S tokenizer.

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 expert cache was filled at startup and retained between requests; there was no engine restart or page-cache reset between runs.

monitor.py in this directory is the community script, unchanged; it ran as python ../2026-09-30-community-rtx-5090/monitor.py telemetry.jsonl from this directory, sampling once per second during the recall phase only — the speed suite ran before sampling started. telemetry.jsonl holds 431 samples over 440.1 s and memory-summary.json the peaks.

Recall used the repository's unchanged tools/needle_bench.py:

.venv/bin/python tools/needle_bench.py --url http://127.0.0.1:8080 \
  --lengths 32k,128k --depths 10,50,90 \
  --out bench/results/2026-10-06-community-rtx-5060ti/needles.json

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,09601,157.7 [1,145.7–1,157.8]56.6 [47.5–58.5]3.573 [3.571–3.613]8.071 [7.920–8.971]
32,76801,225.3 [1,223.8–1,227.4]60.2 [58.9–60.3]26.811 [26.759–26.841]31.031 [30.987–31.157]
128,00001,175.9 [1,175.5–1,175.9]57.2 [55.6–59.7]109.024 [109.018–109.053]113.471 [113.316–113.595]

Raw per-run records: results.json. Calculated aggregates: summary.json. Per-run request bodies and full streamed chunk logs are kept as *-request.json and *-raw.json.

Decode expert-cache hit rates for these nine requests were 44.9–65.4%. Draft acceptance was 124–152 accepted of 163–180 offered.

Memory during the recall phase

These are sampled peaks; brief allocation spikes between samples may be missed.

Recall

The unchanged tools/needle_bench.py found all six needles: depths 10%, 50% and 90% at both requested lengths. Actual prompt lengths were 31,459–31,460 tokens for 32k and 121,852–121,854 for 128k. All answers exactly matched the expected code words. See needles.json.

The last 128K recall case reused 16,384 prompt tokens (103.7 s vs 90.6 s wall); 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.

Script change

benchmark.py (kept in this directory) selects the engine record that belongs to its own request instead of taking metrics["requests"][0]: it looks for the newest record whose prompt length matches and which finished between the request start and the stream completion, and it records concurrent_requests, the number of other requests that finished in that window. On this machine the server also serves other clients, so the original requests[0] could have picked up another client's timings and raised a false token-count mismatch. The one flagged case in this run was the script's own warm-up request, which started 0.9 s before the first 4K run and fell inside the [start - 1 s, end + 2 s] window: concurrent_requests counts the script's own requests too, so treat it as an upper bound rather than proof of another client.

Limitations