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 module

blockwise_fp8_1d2d_matmul

CPU entrypoint for grouped 1D2D blockwise FP8 SM100 matmul.

This module provides the public API for launching the grouped 1D2D blockwise FP8 matmul kernel for Mixture of Experts (MoE) layers.

Usage: grouped_matmul_1d2d_blockwise_fp8[transpose_b=True, config=config]( c_tensor, a_tensor, b_tensor, a_scales, b_scales, a_offsets, expert_ids, expert_scales, num_active_experts, ctx, )

Functionsโ€‹

Was this page helpful?