vllm.model_executor.kernels.linear.mxfp8.flashinfer
¶
Classes:
-
FlashInferCutedslMxfp8LinearKernel–MXFP8 W8A8 GEMM via FlashInfer CuTe-DSL (SM100/SM103).
-
FlashInferCutlassMxfp8LinearKernel–MXFP8 W8A8 GEMM via FlashInfer CUTLASS (SM100+).
-
FlashInferTrtllmMxfp8LinearKernel–MXFP8 W8A8 GEMM via FlashInfer's TensorRT-LLM wrapper.
FlashInferCutedslMxfp8LinearKernel
¶
FlashInferCutlassMxfp8LinearKernel
¶
FlashInferTrtllmMxfp8LinearKernel
¶
_pad_n(weight, weight_scale, multiple, kernel)
¶
Zero-pad N, the rows of weight [N, K] and of its unswizzled scale
[N, K / 32], to a multiple of multiple. The padded rows compute zeros,
which the kernel slices off its output.