For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo struct
Struct_ep_fused_silu_mxfp8
struct Struct_ep_fused_silu_mxfp8
Registers the ep.fused_silu.mxfp8 graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[*, max_padded_M: Int, activation: StaticString = "silu", swiglu_alpha: Float32 = 0, swiglu_limit: Float32 = 0](output: T, scales: T, input: T, row_offsets: T, context: DeviceContext)
Execute the EP fused SILU kernel with MXFP8 quantization.
Same body as ep.fused_silu.mxfp4: fused_silu_mx_kernel takes its
element packing from the output dtype, so one fp8_e4m3fn byte per
element here rather than two FP4 nibbles, leaving output at the full
hidden size along axis 1. scales is shaped
[n_local_experts * max_padded_M, K_SCALES].