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

files

README.md2.3 KiB
esp_kl.py3.5 KiB
esp_serve.py5.6 KiB
serve-checks.txt1.0 KiB
teacher-forced.txt340 B

2026-09-27: the experimental-speed-projection control vector

The package's Qwen3.8-Flash-Next-experimental-speed-projection.gguf (47 unit directions of 2,560, one per layer), applied as --control-vector-scaled FILE:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer: after layers 4-44, every hyper-connection stream h -= (h . v) v. The package describes it as a refusal-direction projection. Q2_0, RTX 5070, fixed experts (--expert-cache 4000 --pcie-frac 0 --adapt-swaps 0).

Kernel (cvec_parity)

Project and add against a double-precision reference (max error 5e-7); with the switch off, the kernel's pending residual write is bitwise the fused hyper-connection read's own, so a loaded-but-off vector is the stock engine.

Teacher-forced, stock vs projection (esp_kl.py, per-token path)

TextTokensSame top-1Mean KLp99 KLPerplexity stockWith the vector
Code51192.8%0.0981.692.5942.982
Document1,02389.8%0.0580.8430.29930.984
Chat1,02389.6%0.0500.3318.40918.485
All2,5570.063 (max 4.10)1.00

The package reports a mean KL of 0.186 on its own neutral text with UD-Q2_K_XL in llama.cpp.

Cost on the same tokens: 44.34 -> 44.26, 46.74 -> 46.56, 47.02 -> 46.83 tok/s (0.2-0.4%).

Serve (esp_serve.py)