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
@@ -902,6 +902,7 @@ int r4d_rad_rope_rows (const RadArgs*, RadStream);
int r4d_rad_layernorm (const RadArgs*, RadStream);
int r4d_rad_grid_embed (const RadArgs*, RadStream);
int r4d_rad_grid_embed_aa (const RadArgs*, RadStream);
int r4d_rad_grid_embed_cpe (const RadArgs*, RadStream);
int r4d_rad_gemm_nt_bias (const RadArgs*, RadStream);
/* gemm_nt_bias at f32 (r4d_gemm_f32_nt_bias.hip). */
int r4d_rad_gemm_f32_nt_bias(const RadArgs*, RadStream);
@@ -969,6 +970,7 @@ int r4d_shape_mul_weight (const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_scatter_rows_bf16(const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_layernorm (const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_grid_embed (const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_grid_embed_cpe (const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_gemm_nt_bias (const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_unary (const RadParam*, int, int operand, RadOpdDesc*);
int r4d_shape_fill (const RadParam*, int, int operand, RadOpdDesc*);