Skip to main content

Module norm

Module norm 

Source
Expand description

Vulkan dispatch wrappers for last-dimension normalisation (RMSNorm and LayerNorm, forward and backward), per dtype.

Functions§

layer_norm_backward_bf16
layer_norm_backward_bf16 kernel-binding wrapper: takes the executor’s inputs, outputs, layouts and OpParams and runs the Vulkan kernel for that op and dtype.
layer_norm_backward_f16
layer_norm_backward_f16 kernel-binding wrapper: takes the executor’s inputs, outputs, layouts and OpParams and runs the Vulkan kernel for that op and dtype.
layer_norm_backward_f32
layer_norm_backward_f32 kernel-binding wrapper: takes the executor’s inputs, outputs, layouts and OpParams and runs the Vulkan kernel for that op and dtype.
layer_norm_backward_f64
layer_norm_backward_f64 kernel-binding wrapper: takes the executor’s inputs, outputs, layouts and OpParams and runs the Vulkan kernel for that op and dtype.
layer_norm_bf16
layer_norm_bf16 kernel-binding wrapper: takes the executor’s inputs, outputs, layouts and OpParams and runs the Vulkan kernel for that op and dtype.
layer_norm_f16
layer_norm_f16 kernel-binding wrapper: takes the executor’s inputs, outputs, layouts and OpParams and runs the Vulkan kernel for that op and dtype.
layer_norm_f32
layer_norm_f32 kernel-binding wrapper: takes the executor’s inputs, outputs, layouts and OpParams and runs the Vulkan kernel for that op and dtype.
layer_norm_f64
layer_norm_f64 kernel-binding wrapper: takes the executor’s inputs, outputs, layouts and OpParams and runs the Vulkan kernel for that op and dtype.
rms_bf16
rms_bf16 kernel-binding wrapper: takes the executor’s inputs, outputs, layouts and OpParams and runs the Vulkan kernel for that op and dtype.
rms_f16
rms_f16 kernel-binding wrapper: takes the executor’s inputs, outputs, layouts and OpParams and runs the Vulkan kernel for that op and dtype.
rms_f32
rms_f32 kernel-binding wrapper: takes the executor’s inputs, outputs, layouts and OpParams and runs the Vulkan kernel for that op and dtype.
rms_f64
rms_f64 kernel-binding wrapper: takes the executor’s inputs, outputs, layouts and OpParams and runs the Vulkan kernel for that op and dtype.