Archived
kv_store_fp8v4 / k6v4 and the folds now read v_scale as the fp8 store does (attention already applied v_descale). Scales are clamped to 8188 (V) and 2112 (K) so 7 or 31 times them stays an f16: a group gone inf or NaN decodes finite, as E4M3's clamp to 448 does. r4d_selftest adds decode at ctx 1000 (a partial last block) and q_len 7 (three waves) for both layouts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>