IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo function

gated_group_rmsnorm_cpu

def gated_group_rmsnorm_cpu[dtype: DType, gate_dtype: DType](output: TileTensor[dtype, Storage=output.Storage, address_space=output.address_space, linear_idx_type=output.linear_idx_type], y: TileTensor[dtype, Storage=y.Storage, address_space=y.address_space, linear_idx_type=y.linear_idx_type], gate: TileTensor[gate_dtype, Storage=gate.Storage, address_space=gate.address_space, linear_idx_type=gate.linear_idx_type], weight: TileTensor[DType.float32, Storage=weight.Storage, address_space=weight.address_space, linear_idx_type=weight.linear_idx_type], n_rows: Int, num_groups: Int, group_size: Int, eps: Float32)