libr4d: gelu_mul_quant_i8 -- gelu(gate)*up and the w4a8 activation quantiser in one pass

The down projection of a GELU-gated feed-forward on a w4a8 grid is fed by
gelu_mul then quant_act_i8, two single-row dispatches at a decode batch.
gelu_mul_quant_i8 is the pair in one pass, byte-identical to it: the
product formed as gelu_mul_kernel forms it (tanh form, bf16 store), then
quant_act_i8's partition. The selftest compares it against the pair at
M 1/4/40.
This commit is contained in:
keptn42 committed 2026-10-11 02:23:39 +00:00
1 parent d90d90e43a
commit 0a4cf9b893
6 files changed
+185

No files matched your search

+1
View File
@@ -143,6 +143,7 @@ set(R4D_UNITS
"r4d_quant_act_i8|"
"r4d_rmsnorm_quant_i8|"
"r4d_qkv_norm_rope|"
"r4d_gelu_mul_quant_i8|"
"r4d_had_quant_act_i8|"
"r4d_rmsnorm_had_quant_i8|"
"r4d_ar_ln_had_quant_i8|"