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

files

BUILD.json569 B
README.md7.3 KiB
TRIMMED.md1.4 KiB
benchmark_mi50.py7.3 KiB
initial-status.json923 B
model-sha256.txt281 B
monitor_mi50.py1.2 KiB
needles.json171 B
provenance.json1.9 KiB
python-packages.txt184 B
results.json19.2 KiB
strata-iq2_xs.json857 B
summary.json2.3 KiB

Community benchmark: AMD MI50 (gfx906), Intel i5-12400F

Measured on 2026-10-04 by xxDoman, on the Linux machine LianLi. This tests Strata 0.1.38 with the original Flash-Next IQ2_XS, one GPU (the MI50), at the model's full 131,072-token context with KV streaming.

Median decode throughput was 36.0 tok/s at 4,096 prompt tokens, 34.0 tok/s at 32,768, and 33.5 tok/s at 128,000 — it barely drops as the context grows. Prompt processing held ~330 tok/s at 4K/32K and ~305 tok/s at 128K. 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.

This is, to our knowledge, the first measured community run of Strata on an AMD MI50 (Vega 20, gfx906). It is an experimental, unsupported architecture: the build carries no vendor tuning tables, and the numbers reflect that. It also shows that the MI50 — a 32 GB card — can serve the model's full 128K context with KV streaming, at a decode cost of only ~7% versus a 4K prompt.

Hardware and software

Model and configuration

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

Both local GGUF SHA-256 hashes matched the revision's published LFS hashes (see model-sha256.txt and provenance.json). mmproj-Qwen3.8-Flash-Next-BF16.gguf is present on disk but was not passed to the engine: vision was off for this run, so this report does not cover it.

The complete measured configuration is strata-iq2_xs.json and the engine's own startup and per-request lines are in engine.log.

Method and reproduction

This uses an adaptation of the repository's community harness (bench/results/2026-09-30-community-rtx-5090/benchmark.py). The only changes are the target port/pack path for the container and a required Authorization header (benchmark_mi50.py). It runs inside the container (imports strata_tokenizer and serve.frontend from /opt/strata).

docker exec strata python3 /work/bench/benchmark_mi50.py --api-key <key> \
  --url http://127.0.0.1:8085 --out /work/bench/results --targets 4096,32768,128000 --runs 3

The script 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, adjusting the filler to the target and verifying the count against the server afterward. One 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. Loading time is excluded; the expert cache was kept between requests.

TTFT is measured client-side from immediately before the HTTP request until the first nonempty text delta. Engine prompt throughput uses freshly read tokens divided by prompt_ms; decode throughput uses engine_generated / decode_ms.

System memory and GPU memory were sampled once per second by monitor_mi50.py (host rocm-smi adaptation), before load through the last run; raw samples in telemetry.jsonl.

Results

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

Prompt tokensReusedPrompt tok/sDecode tok/sTTFT secondsTotal seconds
4,0960331.9 [330.1–332.3]36.0 [35.9–37.4]12.4 [12.4–12.5]19.4 [19.3–19.5]
32,7680327.2 [327.2–327.3]34.0 [33.9–34.1]100.2 [100.2–100.2]107.7 [107.7–107.7]
128,0000305.2 [304.7–305.2]33.5 [32.4–34.0]419.6 [419.4–419.7]427.2 [426.8–430.0]

Raw per-run records: results.json. Calculated aggregates: summary.json. Per-request engine values are also preserved in tokens-<N>-run-<R>-raw.json.

The very first request of a session (a previous, discarded invocation) showed a one-off prefill overhead (~35 s for 14 prompt tokens) before the cache settled; the warm-up in this run was excluded, and steady-state prefill was a flat ~305–330 tok/s across all three lengths.

Memory, from telemetry.jsonl:

Correctness and limitations

Long-context recall via the repository's unchanged tools/needle_bench.py: a single probe at the full context — --lengths 128k --depths 50 — which found the needle in a 122,754-token prompt (426 s). Result in needles.json.

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. As an unsupported gfx906 build there are no vendor tuning tables; results on supported architectures are not comparable to these. No same-workload baseline on another engine or GPU was run.