Archived
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>