KVA ships OFF in 0.2.7: STRATA_KVA unset is the exact 0.2.6 engine, STRATA_KVA=1 turns it on with an 8192-token exact tail

The quality runs found lost records and invented rows in long extraction tasks and defects in agent loops with a ~10K
system prompt when most of the prompt was approximated. Opt-in now: unset (or 0) nothing runs, the draft layer included.
Switched on, the tail is 8192 tokens (STRATA_KVA_SUFFIX overrides), the safest configuration measured. A model other than
Qwen3.8-Flash-Next's geometry gets a one-line warning instead of a refusal. Kept: the untouched draft layer (cell floor
behind STRATA_KVA_DRAFT_FLOOR=1), the decline reasons, STRATA_KVA_SKIP=moe, the tests. docs/KVA.md says why it is off and
how to turn it on; kva_test checks unset = off and STRATA_KVA=1 = on with the 8192 tail.
This commit is contained in:
Niko1221 committed 2026-10-26 16:36:31 +01:00
1 parent 3171291420
commit e3450e4552
5 files changed
+84 -63

No files matched your search

+1 -1
View File
@@ -5509,7 +5509,7 @@ int main(int argc, char** argv) {
// slots' draft-KV copies use this one too
static const strata::core::ModelGeometry draft_geometry{};
std::vector<std::unique_ptr<strata::core::MtpDrafter>> slot_mtp;
// KVA (0.2.7: on by default, STRATA_KVA=0 is the exact 0.2.6 path): what only the engine knows. A layer split and
// KVA (0.2.7: opt-in with STRATA_KVA=1; unset is the exact 0.2.6 path): what only the engine knows. A layer split and
// the batch slots read their prompts in pieces and in stages, which the one-device, one-cold-read rule of the
// approximate prompt read cannot follow, so they stay on the exact path (and say so here, once). The draft layer
// (MTP) keeps its window, whatever it is: a session KVA approximated tells it the first cell built from a real row