Archived
Architecture-only (no kernel, op schema or graph change). The attention block tells the indexer whether it reads the selection (AttnGatedFP8::qsa_use): dense steps (<= 1024 tokens of context) issue no query norm, qsa_score or qsa_select; single-row-per-sequence steps under the exact bound read the block table; multi-row steps under the bound select once per pass (the selection is layer-invariant there, every complete block in block order) and the other QSA layers reuse it. Block keys and tail run every step. The exact host bound (RadBatch::kv_used_max_h) decides which side of the bound a step is on and keys the pass. RADIANCE_DEBUG_QSA_EAGER=1 restores the old issue pattern. arch_test: the pinned step hashes of qwen4exp_fp8 move (graphs unchanged) and two tests pin the new issue pattern; ref_test pins the equalities it rests on (qsa_select below the bound). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>