Archived
libxe2: rmsnorm_p, relu, logit_softcap, rel_sinusoid, pool_rows rows; rope to head_dim 512
Gemma 4 E2B did not start on Intel: five weightless ops had no device row (rmsnorm_p, the bare value norm, in 15 bands; relu; logit_softcap; rel_sinusoid; pool_rows), and xe2_rope was selected for its global layers (head_dim 512, proportional rope widened to the full head) and refused them at launch: the frequency table held head_dim <= 256. It now holds 512, its component index as int8 so the by-value table stays at 1.25 KB. rmsnorm_p is xe2_rmsnorm with the gain absent; the others are libref's chains (tanh, exp, sin, cos in double rounded once; pool_rows' f32 sum in row order, rounded, times mult, rounded). rad-kbench on the Gemma 4 E2B container: rmsnorm_p 20, relu 20, logit_softcap 4, rel_sinusoid 5, pool_rows 6 cases ok, rope 300/300; default fixture rope 162/162. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e1e21935cc
commit
ff4b7c9fb4
4 files changed
+147
-3
No files matched your search
@@ -22,6 +22,11 @@ int fill(const RadArgs* a, RadStream s);
|
||||
int iota(const RadArgs* a, RadStream s);
|
||||
int act_mul(const RadArgs* a, RadStream s);
|
||||
int gelu_mul(const RadArgs* a, RadStream s);
|
||||
int rmsnorm_p(const RadArgs* a, RadStream s);
|
||||
int relu(const RadArgs* a, RadStream s);
|
||||
int logit_softcap(const RadArgs* a, RadStream s);
|
||||
int rel_sinusoid(const RadArgs* a, RadStream s);
|
||||
int pool_rows(const RadArgs* a, RadStream s);
|
||||
int scatter_rows(const RadArgs* a, RadStream s);
|
||||
int layernorm(const RadArgs* a, RadStream s);
|
||||
int grid_embed(const RadArgs* a, RadStream s);
|
||||
|
||||
Reference in new issue
Block a user