pub struct NysCfg {
pub m: usize,
pub w: usize,
pub sink: usize,
pub prefill: Option<usize>,
}Expand description
Nyström joint kernel geometry — matches nystrom::O1Cfg semantics.
Fields§
§m: usizeLandmark budget (m_eff = clamp(t_prefill/8, 4, m), as sealed).
w: usizeExact-window width.
sink: usizePermanent exact sink keys.
prefill: Option<usize>Tokens of each training window that run the EXACT prompt pass
before the O(1) seal. None = half the window.
This is not a free knob: it is the train/serve contract. The
runtime (nystrom::NystromState::prefill) freezes landmarks from
the PROMPT ONLY and then serves every later position off that
frozen skeleton, so a trainer that seals from the whole window is
optimizing a model that is never served. The default mirrors
cortiq ppl --o1’s own default (o1_prefill = len/2), which is
the discipline every published o1 quality number was measured
with — keep them equal or the polish and the gate disagree.