Files
Strata/include
Eddoursul af76f64ebd QSA: block scores sized to the blocks in use; the prompt path's attention in one pass per query
qsa_block_scores launched a warp for every block of the full context
(max_cells / 4, 50K blocks at 200K) for every query, nearly all of them
idle.  Its warps now go round over the blocks: the verify window and the
token path use a fixed grid of 1024 per query, the prompt path the chunk's
largest n_bid + 1.  Each score is computed as before (bitwise).

qsa_prefill_attn: the prompt path's attention, a block per (KV head, query)
walking the query's selected cells in tiles of 64 with an online softmax,
instead of the decode kernel's split-K partial sums through memory.  FP32;
int8 codes are converted without I2F.  verify_parity checks it against the
decode kernel (relative difference 3.9e-6).

16K-token prompt: IQ3_XXS 18.3 -> 15.9 s, UD-Q4_K_XL 24.8 -> 22.4 s.
2026-09-26 00:56:06 +02:00
..