vllm.kernels.triton.fused_pre_fc_norms
¶
Functions:
-
fused_pre_fc_norms–Returns cat([norm_e(inputs_embeds), norm_h(hidden_states)]) -> [N, 2H].
fused_pre_fc_norms(inputs_embeds, hidden_states, emb_weight, hid_weight, eps)
¶
Returns cat([norm_e(inputs_embeds), norm_h(hidden_states)]) -> [N, 2H].
Both norms are Gemma-style RMSNorm (scale by 1 + weight, fp32
accumulation, multiply in fp32 before the cast back to the input dtype).