This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/tests
AshlynandClaude Opus 5.5 efff69be1d arch/gemma4: the drafter's residual add, norm and quantiser in one rmsnorm_quant_fp8 launch
Every input of a drafter layer was three launches after its all-reduce: `add` (x += h), `rmsnorm`
(x -> h) and `quant_act_fp8` (h -> hq | hs), ~8 us each under --profile-ops on 4x R9700 and a few
unprofiled, twice a layer -- thirty a draft pass, every decode step.

libr4d's `rmsnorm_quant_fp8` is that chain in one pass where it takes the residual operand (the
fused_add_rms_norm form): the norm of the bf16-rounded sum, the codes of the bf16-rounded norm,
which its row states is the chain's function. The drafter now issues it for both inputs of every
layer, the attention input of layer 0 with no residual -- x as the embedding left it -- and the
last layer's trailing add stays, ahead of the final norm, which no quantiser follows. Nineteen
launches fewer a draft pass. Where nothing serves the op the chain is declared and issued as
before. A draft is verified whatever it is, so this cannot change what is accepted.

arch_test: a draft pass issues ten rmsnorm_quant_fp8 and one add, the residual operand x and the
delta h past layer 0 and x alone at it; refused, the chain's ten adds and fifteen quantisers.

Not yet run on the cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 14:40:04 -05:00
..
2026-10-08 18:22:08 +02:00
2026-10-04 12:02:41 +02:00
2026-10-08 18:22:08 +02:00
2026-10-06 14:43:46 +02:00
2026-10-04 12:02:41 +02:00
2026-10-07 12:37:53 +02:00
2026-10-06 14:04:49 +02:00
2026-10-06 14:04:49 +02:00
2026-10-06 14:04:49 +02:00
2026-10-04 12:02:41 +02:00
2026-10-08 18:22:08 +02:00
2026-10-04 12:02:41 +02:00
2026-10-04 12:02:41 +02:00
2026-10-04 12:02:41 +02:00
2026-10-08 18:22:08 +02:00
2026-10-07 12:37:53 +02:00
2026-10-08 18:22:08 +02:00
2026-10-04 12:02:41 +02:00
2026-10-04 12:02:41 +02:00
2026-10-04 12:02:41 +02:00
2026-10-04 12:02:41 +02:00
2026-10-04 12:02:41 +02:00
2026-10-04 12:02:41 +02:00
2026-10-05 14:01:30 +02:00
2026-10-08 18:22:08 +02:00
2026-10-08 18:22:08 +02:00
2026-10-06 14:04:49 +02:00
2026-10-04 12:02:41 +02:00
2026-10-04 18:44:29 +02:00
2026-10-04 12:02:41 +02:00
2026-10-04 20:07:08 +02:00
2026-10-04 12:02:41 +02:00
2026-10-05 12:16:54 +02:00
2026-10-08 18:22:08 +02:00
2026-10-07 12:37:53 +02:00