pub fn qwen38_rope_cache(cfg: &Qwen38Cfg, rows: usize) -> (Vec<f32>, Vec<f32>)Expand description
The rotary cache for rows positions, rope_dim / 2 pairs a row: row p (1-based) holds the cosines and the sines
of (p − 1)·θ^(−2i/rope_dim) — the angles gk_qk_norm_rope_part turns 0-based position p − 1 by, over the
rotary width — each computed in f64 and rounded once.