Archived
libxe2: add_rmsnorm (schema and row); arch/common: the plain norm and the attention gate without unread work
- libxe2 serves `add_rmsnorm` (device-only; libxe2 now publishes its schema, libr4d's spelling): x += a then rmsnorm of the x written in one pass, at rmsnorm's own bf16 partition, so both outputs are byte-identical to the pair here. NormQuantFP8's plain form takes it where it resolves (one launch instead of `add` + `rmsnorm`, ~150 a round). - AttnGatedFP8: under the plain norm an out projection that reads no codes skips the quantiser after the gate's sigmoid + mul. Greedy output 8/8 identical to the previous commit; decode proxy 81.2 -> 82.5 tok/s; declared ops 2046 -> 1902. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f26eec2633
commit
4511822138
5 files changed
+148
-4
No files matched your search
@@ -12,6 +12,7 @@ int layernorm(const RadArgs* a, RadStream s);
|
||||
int grid_embed(const RadArgs* a, RadStream s);
|
||||
|
||||
int rmsnorm(const RadArgs* a, RadStream s);
|
||||
int add_rmsnorm(const RadArgs* a, RadStream s);
|
||||
int rmsnorm_quant_fp8(const RadArgs* a, RadStream s);
|
||||
int quant_act_fp8(const RadArgs* a, RadStream s);
|
||||
int gated_quant_fp8(const RadArgs* a, RadStream s);
|
||||
|
||||
Reference in new issue
Block a user