mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 15:28:40 +00:00
Brought over from f-mla-kernel: key tiles / 64-slot units no row can see are skipped (sliding windows, masks, dead sparse entries); the single-plane tensor-core mode dequantises a Q8_0 latent once into an fp16 key tile; a 32-head tile for 16+ tiles of 32 heads outside the per-query mode; the chunk count of the single-plane kernel from floor / ceiling of 2 x SMs / tiles by waves per chunk (the other kernels keep the 2 x SMs rule); mla_latent_suggest_splits for callers that size scratch; slot bitmask and the n_kv cap by q_pos; tests for each.