Skip to content

vllm.model_executor.kernels.linear.scaled_mm.cutlass

Classes:

CutlassFP8ScaledMMLinearKernel

Bases: FP8ScaledMMLinearKernel

Methods:

  • input_quant_key –

    Static per-tensor and dynamic per-token activations can be quantized

_pad_to_alignment(x, dim, alignment, value=0.0) staticmethod

Pad tensor x along dim to the next multiple of alignment.

input_quant_key()

Static per-tensor and dynamic per-token activations can be quantized outside the kernel: neither is padded, and cutlass_scaled_mm takes the (M, 1) token scales as is.