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

files

BUILD.json192 B
README.md11.1 KiB
TRIMMED.md572 B
benchmark.py7.0 KiB
finished.txt21 B
initial-status.json1.4 KiB
monitor_amd.py1.4 KiB
needles-finished.txt21 B
needles-started.txt21 B
needles.json1013 B
results.json19.5 KiB
run_all.sh830 B
run_speed.sh726 B
started.txt21 B
strata-iq2_xs.json847 B
summary.json2.3 KiB

Community benchmark: AMD Radeon RX 6700 XT 12 GB (gfx1031), Ryzen 7 5700G

Measured on 2026-10-05 (17:45-18:40 MST, which is 00:45-01:40 UTC on 2026-10-06) by GPF on a Linux desktop. This tests the original Flash-Next IQ2_XS with a 131,072-token context on one RDNA2 card that setup lists as unvalidated (gfx1031, #524), in a Docker container built from ROCm 7.2.4, with the HIP runtime told to treat the card as gfx1030 (HSA_OVERRIDE_GFX_VERSION=10.3.0).

The median decode throughput was 32.1 tok/s at 4,096 prompt tokens, 30.7 tok/s at 32,768 and 30.2 tok/s at 128,000. Prompts were read at 302, 309 and 298 tok/s. All six needle recall checks (32K and 128K, three depths) found the code word. The speed requests 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: the original Qwen3.8-Flash-Next from ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, IQ2_XS, downloaded by setup. The repository revision was not recorded. SHA-256 of the shards as used:

The native pack and the MTP draft layer were prepared by setup inside the container. No vision encoder, no custom pack, and the bundled expert profile.

Configuration (strata-iq2_xs.json; /data is the model folder on the hard disk):

Calibration: setup.py --calibrate ran once in a separate container before this report, at this 131,072 context. It measured decode speed for --pcie-frac 0.00-0.75, --spec-min-p 0.30-0.70 and 7, 5 and 4 workers, and kept --pcie-frac 0.20 and --spec-min-p 0.70 (34.1 tok/s on its own prompt). Its write to the config was lost with that container, so the same two values were then applied to the config by hand (as strings; a number in args stops setup). I did not rerun the speed matrix with the defaults, so this report does not measure what calibration gained here.

Launch command (the container's entry point runs setup, which starts the server from the saved configuration):

docker run -d --name strata --ulimit core=0 --ulimit memlock=-1 \
  --device=/dev/kfd --device=/dev/dri --group-add video --group-add render --ipc=host \
  -p 127.0.0.1:8080:8080 \
  -v /media/gpf/DDrive1/dev/models:/data \
  -v /home/gpf/strata-ple/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf:/data/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf:ro \
  -e MODEL=IQ2_XS -e CONTEXT=131072 strata-hip

--ulimit core=0 matters: a watchdog abort writes a core file the size of the engine's memory (about 37 GB), which filled this PC's disk once.

Method

benchmark.py is the RTX 5090 report's script, unchanged (SHA-256 694df81b3d064ca609c73dc8606baf6cbb8a4837ea800933ee6f2eb80dc52d9a). It builds deterministic synthetic Python filler, puts a different nonce at the start of each request, and counts the rendered chat prompt with Strata's tokenizer. Request hashes and the output text of every run are in results.json; the aggregates are in summary.json. monitor_amd.py is the RTX 5090 report's monitor.py with the nvidia-smi call replaced by amdgpu's sysfs files; it samples RAM, swap, VRAM, load, power and temperature once a second (telemetry.jsonl for the speed run, telemetry-needles.jsonl for the needle run). The benchmark script ran on the host with the repository's .venv:

python bench/results/2026-10-05-community-rx-6700-xt/benchmark.py --root . --pack /media/gpf/DDrive1/dev/models/packs/iq2_xs \
  --url http://127.0.0.1:8080 --out results/
python tools/needle_bench.py --url http://127.0.0.1:8080 --lengths 32k,128k --depths 10,50,90 --out needles.json

Results

Each cell is the median [minimum-maximum] of three runs. Every request generated 256 tokens and stopped at the output limit (finish: length). No speed request failed or was cancelled.

Prompt tokensReusedPrompt tok/sDecode tok/sTTFT secondsTotal seconds
4,0960301.6 [299.7-301.8]32.1 [27.7-34.1]13.64 [13.63-13.73]21.65 [21.09-22.85]
32,7680309.4 [308.8-310.3]30.7 [24.2-32.8]106.02 [105.72-106.26]114.02 [113.79-116.77]
128,0000298.2 [296.4-298.4]30.2 [22.8-31.0]429.52 [429.21-432.11]437.74 [437.63-443.27]

Decode speed varied between runs of the same prompt (27.7-34.1, 24.2-32.8 and 22.8-31.0 tok/s). The draft layer's acceptance was 75-85% (131-148 of 162-183 offered guesses; the counts for every run are in results.json).

Needle recall (needles.json, tools/needle_bench.py): 6 of 6 found.

LengthDepth 10%Depth 50%Depth 90%
32K (32,171-32,172 tokens)found, 105 sfound, 105 sfound, 53 s
128K (125,449-125,451 tokens)found, 422 sfound, 424 sfound, 371 s

Memory (whole-machine values from the telemetry, speed run; the needle run was within 0.3 GiB): RAM in use (MemTotal - MemAvailable) 46.0-48.2 GiB, median 46.8, so at least 14.5 GiB was available. The engine container held about 36.4 GiB of it. Swap used 3.99-4.09 GiB of 8.0, flat. VRAM used 11.82-11.93 GiB of 11.98, median 11.83. Page faults and paging were not measured. No out-of-memory event occurred.

Correctness and limitations