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

files

README.md2.6 KiB
bitexact.jsonl660 B
bitexact_fixed_cache.jsonl660 B
cold.jsonl33.7 KiB
cold_on_async.jsonl33.9 KiB
cold_on_async_pcie.jsonl59.2 KiB
context.jsonl12.3 KiB
strata_ab2.py19.5 KiB

Pin by need (STRATA_PIN_BY_NEED=1) — community report, RTX 3090 + Ryzen 5 5600X (Windows 11)

Branch pr/pin-by-need on v0.1.42 (61b3fb5d). Results and method only; the change is in the pull request.

Machine and config. As in the --adapt-async report: RTX 3090 24 GB (also drives the desktop), Ryzen 5 5600X, 2 x 32 GB DDR4-3600, Windows 11; Qwen3.8-Flash-Next GSQ-RCO IQ3_S, the default arena, 8,289 expert slots, --spec 4 --mtp --max-context 262144 --kv int8 --vram-reserve-mib 1200 --kv-grow --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97. Local builds (VS 2022 17.14, CUDA 12.8, sm_86): v0142 the tag, pr2_on this branch with STRATA_PIN_BY_NEED=1 STRATA_ARENA_PIN_GIB=29 STRATA_PCIE_MIN1=1 --pcie-frac 0.6.

What it registers. v0.1.42: cudaHostRegister of the whole arena FAILED (out of memory); 32 slices pinned (30 GiB), layers 0-31, layers 32-47 without a PCIe share. This branch: pin by need: 4404 ranges, 28.96 GiB pinned, 92.2 % of the non-resident experts (48 of 48 layers have a PCIe share), 8,124 of the profile's 24,576 pairs taken as GPU-resident.

Prompt read and decode after it (prompt read once, decode = mean of 3 seeded answers)

Prompt tokensv0142 prefill tok/s (2 servers)pr2_on prefill tok/sDecode v0142 / pr2_on
55,6302,180 / 2,1652,313 (+6.5 %)95.3 / 96.5
116,8332,095 / 2,0882,208 (+5.6 %)97.0 / 98.3

Same day, on top of --adapt-async 1 and other opt-in switches: 63K-token prompt read 2,180 → 2,310 tok/s.

Cold short prompts (12 prompts x 2 rounds, fresh server per arm and round, paired)

ArmMedian tok/sRatio vs referencePrompts faster
pr2_on vs v0142 (blocking tier)99.3 vs 97.20.9996/12
on top of --adapt-async 1 + other opt-in switches: pin by need + --pcie-frac 0.6—1.02310/12
same + STRATA_PCIE_MIN1=1 (1 round)—1.02610/12
pin by need alone on top of the same (no PCIe settings)—0.9956/12

Decode gains only together with --adapt-async 1 and a larger PCIe share; the prompt read gains alone.

Default path

Bit-exact mode (STRATA_IQ_MT_MIN=1 --pcie-frac 0 --adapt-every 0), greedy, 6 prompts: on the 5 prompts that v0.1.42 reproduces between two of its own fresh engines, this branch without the variables gives the same answers byte for byte; the 6th differs between two runs of v0.1.42 itself in that mode (bitexact*.jsonl). Startup load unchanged (6.7 GiB/s; the padded layout reads through the buffered loader).

Raw: context.jsonl, cold.jsonl, cold_on_async*.jsonl, bitexact*.jsonl; harness strata_ab2.py.