From 27f1b27387ce0258d49a57150f2a98215804cb77 Mon Sep 17 00:00:00 2001 From: griffin-warrior Date: Wed, 28 Oct 2026 04:46:36 +0800 Subject: [PATCH] docs(QSA): libref implements all five QSA ops, not only qsa_block_key The sentence in the Checking section predates the libref rows (ref_qsa.cpp landed in the same release), and it reads as a reason to skip QSA's reference comparison in a review. The library rows and the report's completeness matrix show five registered ref rows. The remaining limitation is the subsystem one: no oracle compares a dense run against a sparse one above the bound, and that sentence stays. --- docs/QSA.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/QSA.md b/docs/QSA.md index 07552a48..1e8374e0 100644 --- a/docs/QSA.md +++ b/docs/QSA.md @@ -191,8 +191,10 @@ drops blocks. ## Checking There is deliberately no switch that forces dense attention above the bound, where it is not the -model the checkpoint was trained as. libref implements only `qsa_block_key` of the QSA ops, so -there is no whole-subsystem reference comparison. Changes are checked with: +model the checkpoint was trained as. libref implements all five QSA ops — `ref_qsa_block_key`, +`ref_qsa_score`, `ref_qsa_select`, `ref_qsa_tail_store`, `ref_qsa_work` (`libref/ref_qsa.cpp`) — so +each device kernel has a row to compare against; what no oracle gives is the whole-subsystem +comparison, a dense run against a sparse one above the bound. Changes are checked with: - **`r4d_selftest` oracles**: `qsa_block_key` and `qsa_score` against f64 evaluations, `qsa_work` and `qsa_tail_store` against a host walk of the batch, `qsa_select` against a host