pub const KV_COMPAT_FORMAT_VERSION: u32 = 3; // 3u32Expand description
Wire/layout format version of the compatibility fingerprint.
Bumped whenever the set of fields that participate in the fingerprint, or their canonical encoding, changes in a backward-incompatible way. A cache produced (or persisted) under an older format version is never reused — the rejection policy treats a format-version mismatch as a hard reject.
v3 adds the remaining behavior-affecting effective model configuration: RMS/LayerNorm epsilon, activation/embedding/attention scaling, MoE routing, and local-RoPE/sliding-window settings. Two runs with identical weight bytes and coarse geometry can still produce different KV when any of these differ, so they are authoritative for reuse.
v2 added use_qk_norm, partial rotary dimension, attention layer layout,
and linear-attention dimensions (K/V-value-affecting fields below coarse
geometry).