Archived
libhalo: windowed attention at head_dim 128 with 4 queries per kv head, and the row-form names of rope and rmsnorm
What LFM3 needs on gfx1151 beyond the rows libhalo has. The window kernel is instantiated at (128, 4) as in libr4d: the decode leg keeps q_len <= 16 and every longer q_len, windowed or not, lands on the new pair. rope_rows and rmsnorm_rows are registered under their row-form names and launched as rope and rmsnorm, as libavx and libref register them, so a plugin written for libr4d's row forms resolves on this part instead of falling to the host. Emulator cases as libr4d's (split verify, ragged window, fp8, non-causal with a missing block, WMMA prefill with and without the window) and selftest launches.
This commit is contained in:
1 parent
21c4544b61
commit
1f00224501
7 files changed
+74
-8
No files matched your search
@@ -171,6 +171,8 @@ int64_t halo_rad_attn_qrow_h128_gqa8_scratch(const RadArgs*);
|
||||
* row pitch, so they serve both attn_paged and attn_paged_qrow. */
|
||||
int halo_rad_attn_window_h128_gqa1_bf16(const RadArgs*, RadStream);
|
||||
int halo_rad_attn_window_h128_gqa1_fp8 (const RadArgs*, RadStream);
|
||||
int halo_rad_attn_window_h128_gqa4_bf16(const RadArgs*, RadStream);
|
||||
int halo_rad_attn_window_h128_gqa4_fp8 (const RadArgs*, RadStream);
|
||||
int halo_rad_attn_window_h256_gqa1_bf16(const RadArgs*, RadStream);
|
||||
int halo_rad_attn_window_h256_gqa1_fp8 (const RadArgs*, RadStream);
|
||||
int halo_rad_attn_window_h256_gqa2_bf16(const RadArgs*, RadStream);
|
||||
|
||||
Reference in new issue
Block a user