pub fn resolve_kv_scale_keys(
has: impl Fn(&str) -> bool,
attn_prefix: &str,
) -> Result<Option<KvScaleKeys>>Expand description
2026-09-28: The scale keys of the attention layer at attn_prefix.
Ok(None) when no spelling has either key. An error when the layer has a
K or V key in more than one spelling (which one the exporter meant is not
ours to guess), or has K without V or V without K in its one spelling.