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
1 folder1 file

files

data/
README.md3.8 KiB

Layer split: the features that were off across GPUs (2026-09-29)

Setup:

Correctness

CheckResult
One GPU, this branch vs the 0.1.21-equivalent run (fixed cache)10/10 byte-identical
Speed projection (control vector), one GPU vs the split on the same GPU (K=24)10/10 byte-identical
KV streaming (128K context, 32K resident), one GPU vs the split on the same GPU10/10 byte-identical
Images, one GPU vs the split on the same GPU (three questions about a test picture)identical answers
Speed projection / KV streaming / plain, 5080 + 3090 (K=24): no-repeat under presence 100, the 144 sanity caseall pass, 0 repeats
The vector acts across GPUs: 5080 + 3090 with vs without the vector8 of 10 answers differ (as on one GPU: 7 of 10)
Images, 5080 + 3090 (K=24): "What color is the circle?" / "What number?" / describe"Red" / "42" / "A red circle, the number 42, and a blue square are displayed on a white background"
Mid-prompt checkpoint (every 16,384 tokens): a 19.5K prompt, then another sharing its first 18,600 tokensone GPU and 5080 + 3090: reused 16,384, answer right
5080 + 3090 (K=30) + a 2080 Ti helper holding 3,000 expertsall pass
--mmap-experts with the Coder (a native pack)a clear start-up error: it needs a canonical pack's experts.bin (with or without a split)

Across GPUs the text is not byte-identical to one GPU: experts that one card leaves to the CPU run on a GPU in the split, and the two round differently.

Speed

RunPrompt 16K / 28K / 60K tok/sDecode story / code tok/sHits
KV streaming (128K), 5080 alone1,487 / 1,801 / 1,83766.6 / 74.059-71%
KV streaming (128K), 5080 + 3090 auto1,685 / 1,957 / 1,96875.8 / 97.096-97%
Speed projection, 5080 + 3090 auto1,813 / 2,053 / -77.0 / 103.696-97%
5080 + 3090 (K=30), no helper-62.5 / 85.2
5080 + 3090 (K=30) + 2080 Ti helper-43.0 / 63.7

The helper card makes it slower, as it did without a split (bench/results/2026-09-29-layer-split). Its per-layer round trip costs more than the CPU pool needs for the few experts it would take over. It stays supported: the helpers take the visible GPUs no stage runs on and hold only experts no stage's cache holds. But it isn't recommended.

What changed