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

files

README.md7.0 KiB
ab-engine.jsonl4.5 KiB
engine-measurements.json4.4 KiB

Community benchmark on Tesla V100-SXM2-32GB (sm_70): the opt-in Volta decode kernels

Measured on 2026-10-08/09 by Mitsuasa513. This report answers the question docs/NVIDIA_V100.md leaves open: whether STRATA_SM70_TABLE=1 — the interleaved native_mmvq_il with a Volta rows table, expert mode 8 and the latency-hidden norm/up — should become the default on sm_70 with the 0.1.41 code. On this machine it should: decode +10% to +15%, with output that is bit-for-bit identical to the default path.

The main limitation: one machine, one model, greedy decoding, and four back-to-back engine runs (plus the repository's own A/B tool, which is too noisy here to resolve the short-chat cases).

Hardware and software

Model and configuration

strata.exe --pack <E:\V100-strata-0.1.41\packs\iq4xs> \
  --native <Qwen3.8-Flash-Next-UD-IQ4_XS-merged.gguf> \
  --ple-gguf <same file> --expert-profile <data\expert-profile.bin> \
  --expert-cache auto --prefill auto --spec 3 --mtp <mtp\rt> \
  --max-context 262144 --kv int8 --vram-reserve-mib 1024 \
  --tokens-file prompt_8k.txt --max-new 256

Method

Two measurements, both on the same machine and workload:

  1. Engine-level paired runs (the primary evidence). The same pretokenized 7,999-token prompt and a 256-token greedy cap, arms run back to back, in two pairs with the order swapped (A→B and B→A) so a warm-up drift cannot favor one arm. Each arm is one engine process (load ≈ 2.5 min, not included in the timings). Decode/prefill come from the engine's own lines.
  2. tools/ab_engine.py (the repository's A/B tool), 3 rounds, arms alternating per round: three short chats plus one 6,000-word prompt, max_tokens 256, temperature 0, enable_thinking false. Raw rows in ab-engine.jsonl.

The MTP draft acceptance and the number of tokens per round are reported because they are the same in both arms: the arms generate the same tokens, so the comparison is of the same work done at different speed.

Results

Engine-level, paired and order-swapped (UD-IQ4_XS, 262144 context, int8 KV)

PairOrderArmDecode tok/sPrefill tok/sTTFT sDraft acceptTokens/roundpool ms/roundhost ms/round
1A→BA STRATA_SM70_TABLE=028.161626.85.910.6122.2346.519.1
1A→BB =130.921633.15.870.6122.2339.912.6
2B→AB =132.941619.05.810.6122.2337.318.2
2B→AA STRATA_SM70_TABLE=028.641629.35.990.6122.2345.818.6

Decode: +9.8% (pair 1) and +15.0% (pair 2); the two A runs agree within 1.7% (28.16 / 28.64), so the difference is larger than the run-to-run spread. Prompt throughput is unchanged (1619–1633 tok/s in every run).

For context on the version upgrade itself, the same arm on the 0.1.39 engine measured 29.82 tok/s (single run, bench/results/2026-10-05-community-v100-sxm2); 0.1.41's default is 28.2–28.6, i.e. the same within this machine's spread — the 0.1.41 gain on a V100 is in the opt-in kernels, which is exactly what this report is about.

Q2_0 (official GSQ-RCO Q2_0, fp16 KV, --prefill 8192) with STRATA_SM70_TABLE=1 measured 69.70 tok/s decode / 1561.5 prompt tok/s, against 65.16 / 1571.8 for the same arm on 0.1.39 (single runs, one each).

tools/ab_engine.py, 3 rounds, medians

RequestPrompt tokensA decodeB decodeA promptB prompt
chat03426.221.534.931.1
chat12731.430.333.030.2
chat22927.226.429.730.6
long634530.231.7291.9287.9

The three short chats do not resolve the two arms on this machine: their per-round decode medians swing between 20.9 and 37.2 tok/s within one arm, more than the effect being measured (the runtime is dominated by things that are not the decode kernels at a 30-token prompt). The long-prompt arm, which does the real work, points the same way as the engine-level pairs (+5%). Reported as measured, not as support.

Correctness: the arms are bit-identical

All four engine-level runs (both arms, both pairs) produced the same generated token sequence:

pair1 A  len=1508  sha256[0:24]=258d9017223cd4d36c7b47bf
pair1 B  len=1508  sha256[0:24]=258d9017223cd4d36c7b47bf
pair2 B  len=1508  sha256[0:24]=258d9017223cd4d36c7b47bf
pair2 A  len=1508  sha256[0:24]=258d9017223cd4d36c7b47bf

and the draft acceptance (142 of 232) and tokens per round (2.23) are identical too. The kernels therefore change the speed and not the arithmetic, as docs/NVIDIA_V100.md claims.

Limitations