Module predictor_ref

Module predictor_ref 

Source

Functions§

ground_truth_block_weights
Ground-truth attention-weight per block: max over q_heads of the softmax-normalized attention to the block’s tokens. Used by the recall test as the “oracle” the predictor’s scores are compared against.
predictor_score_ref
project_kv_block_ref
Per-token projection. Output layout [num_kv_heads, block_size, r].
project_q_ref