ops: attn_dense at head_dim 80 and grid_embed_cpe, for the C-RADIO tower

attn_dense at head_dim 80 without GQA (C-RADIO's ViT heads), and grid_embed_cpe, RADIO's cropped
position embedding: the table resampled half-pixel bilinear onto a square and cropped to the
grid, with the class and register rows ahead of each segment. libref, libavx and libr4d; ref_test,
avx_check_hand and selftest cases; docs/OPS.md.
This commit is contained in:
keptn42 committed 2026-11-04 22:08:53 +01:00
1 parent 2420b2b383
commit b466c91b26
17 files changed
+426 -2

No files matched your search

+2
View File
@@ -73,6 +73,7 @@ int ref_mtp_enter (const RadArgs*, RadStream);
int ref_layernorm (const RadArgs*, RadStream);
int ref_grid_embed (const RadArgs*, RadStream);
int ref_grid_embed_aa (const RadArgs*, RadStream);
int ref_grid_embed_cpe (const RadArgs*, RadStream);
int ref_lili_cand (const RadArgs*, RadStream);
int ref_lili_attn (const RadArgs*, RadStream);
int ref_lili_factor (const RadArgs*, RadStream);
@@ -364,6 +365,7 @@ REF_SHAPE_FN(ref_mtp_enter);
REF_SHAPE_FN(ref_layernorm);
REF_SHAPE_FN(ref_grid_embed);
REF_SHAPE_FN(ref_grid_embed_aa);
REF_SHAPE_FN(ref_grid_embed_cpe);
REF_SHAPE_FN(ref_lili_cand);
REF_SHAPE_FN(ref_lili_attn);
REF_SHAPE_FN(ref_lili_factor);