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

files

README.md4.3 KiB
strata-helper.json929 B

2x RX 6900 XT (gfx1030): a helper GPU's experts and the PCIe share (2026-10-04)

With a second GPU holding experts (--expert-cache-device1, --remote-expert-opt), the verify window's GPU plan counted the experts that helper holds among the layer's misses and moved part of them - the PCIe share, pcie_frac of the misses

Rig

Method

A fresh server per arm. Two requests of about 5,000 prompt tokens each (two offsets into one text), "Summarize the document above in about 300 words", sampled (temperature 1.0, top-p 0.95, top-k 20), up to 600 tokens; the engine's strata decode timing line per request. Milliseconds per verify window and its parts are the measure; tok/s also depends on how many drafts a sampled answer accepts and varies more.

Results

armms / windowof which: GPU-reach waitper-layer hostPCIe entries / layer-windowCPU entries / layer-windowdecode tok/s
baseline (6add1a7), probed share 0.3959.6 / 58.543.4 / 43.78.6 / 8.34.00 / 3.990.83 / 0.4340.6 / 39.3
baseline, same base (6f32ec0), probed share 0.3960.4 / 57.843.7 / 43.08.8 / 8.34.07 / 3.910.95 / 0.3841.0 / 37.5
fix, probed share 0.3937.2 / 33.819.5 / 18.69.9 / 9.10.26 / 0.061.40 / 0.5765.6 / 67.7
fix, probed share 0.39, run 2 (2026-10-05)35.2 / 33.818.8 / 18.79.3 / 9.10.20 / 0.061.17 / 0.5663.0 / 64.4
fix, --pcie-frac 036.5 / 35.118.8 / 18.810.1 / 9.50 / 01.61 / 0.8466.9 / 67.1
baseline (6add1a7), --pcie-frac 0 (the workaround)34.6 / 34.118.2 / 18.79.5 / 9.30 / 0-60.5 / 67.7

"GPU-reach wait" is the host waiting for the GPU to reach the next layer: with the share on, the primary spent 24 ms more per window reading and computing about 4 experts per layer-window that the helper also held (the "PCIe entries" column), and the helper waited. With the fix the share keeps only experts no GPU holds: 0.06-0.26 per layer-window here, and the probed share costs nothing against --pcie-frac 0 while taking a little off the CPU (1.40 -> 1.61 CPU entries without it). Before the fix, --pcie-frac 0 was the way around it.

Limits

One machine, one model, two prompts per arm; one server run per arm, two for the fix with the probed share (one on each day). The change is host code and backend-independent, but only HIP and only one helper were run; three or four helpers go through the same loop and were not tested. The prompt path does not use this plan and is unaffected by the change.