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
rms_norm_gpu
def rms_norm_gpu[dtype: DType, //, rank: Int, input_fn: def[width: Int](Coord[**?]) capturing thin -> SIMD[dtype, width], output_fn: def[width: SIMDLength, alignment: Int](Coord[**?], SIMD[dtype, width]) capturing thin -> None, multiply_before_cast: Bool, pdl_level: PDLLevel = PDLLevel.ON](shape: Coord, gamma: TileTensor[dtype, Storage=gamma.Storage, address_space=gamma.address_space, linear_idx_type=gamma.linear_idx_type], epsilon: Float32, weight_offset: Scalar[dtype], ctx: DeviceContext)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!