Archived
ops: attention sinks and LiLiCorr's correlator
For NVIDIA's LiLiCorr drafter: - attn_paged_sink: attn_paged with a learned logit a query head beside the keys, in libref, libavx and libr4d (the windowed kernels at h128, gqa 8 and 16) - sample_logprobs without params writes every row (a drafter's candidate logprobs) - lili_cand, lili_attn, lili_factor, lili_walk: the correlator's candidates and features, its attention over the candidate lattice, the factor input and the greedy walk ref_test, avx_check_hand and r4d_emu cases; docs/OPS.md.
This commit is contained in:
1 parent
44490c859a
commit
3b278dcec3
26 files changed
+1904
-55
No files matched your search
@@ -196,6 +196,8 @@ set(R4D_UNITS
|
||||
"r4d_rowtopk_bf16|"
|
||||
# The vocab-sharded draft head's cross-rank top-1, one id a row.
|
||||
"r4d_pair_argmax_f32|"
|
||||
# LiLiCorr's correlator: candidates, lattice attention, factor input, walk.
|
||||
"r4d_lili|"
|
||||
# Gemma 4's sandwich-norm joins (norm_add_norm, norm_add_norm_route, join_add_scale) and
|
||||
# expert_scale, each one kernel for a chain of small ones.
|
||||
"r4d_norm_join_bf16|"
|
||||
|
||||
Reference in new issue
Block a user