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 file

files

README.md1.8 KiB

2026-09-27: expert cache on vs off (issue #23)

Question: the engine used to warn at start that "the GPU hit path is NOT CORRECT ... any OUTPUT from it is not". Does the expert cache make the output worse?

Method: teacher-forced. strata --dump-logits runs a text one token at a time and writes the logits at every position, so both runs see the same text and each position's next-token prediction can be compared:

Q2_0, RTX 5070, the first 512 or 1,024 tokens of three frozen prompts.

TextSame top-1Median KLPerplexity offPerplexity onOn - off (nats per token)
Code agent (512)97.7%3.0e-042.6722.630-0.016 +- 0.019
Long document (1,024)96.2%4.5e-0329.84429.843-0.000 +- 0.005
Chat (1,024)95.0%4.4e-0318.38018.301-0.004 +- 0.006
All 2,557 tokens-0.005 +- 0.005

Reading:

The start-up warning dates from round 328, when the GPU hit path had a real fault (divergence from token 0). That fault was fixed long ago and is covered by expert_parity, native_expert_parity and the grouped kernels' tests. Since engine 0.1.8 the warning is replaced by one accurate line.