vllm.model_executor.kernels.linear.mxfp8.aiter_flydsl
¶
Classes:
-
AiterFlyDSLMxfp8LinearKernel–MXFP8 linear on AITER's tuned FlyDSL GEMM (gfx950).
Functions:
-
row_major_weight–layer's fp8 weight as row-major [N, K], for code that reads MXFP8
AiterFlyDSLMxfp8LinearKernel
¶
Bases: Mxfp8LinearKernel
MXFP8 linear on AITER's tuned FlyDSL GEMM (gfx950).
Weights are (16, 16)-preshuffled once at load; activation and weight
scales stay row-major E8M0, [M, K / 32] and [N, K / 32]. Activations are
MXFP8-quantized here, or arrive pre-quantized as a QuantizedActivation
with the same row-major scales.
Methods:
-
supports_quantized_input–Whether
apply_weightsreads aQuantizedActivationforlayer
Source code in vllm/model_executor/kernels/linear/mxfp8/aiter_flydsl.py
supports_quantized_input(layer)
staticmethod
¶
Whether apply_weights reads a QuantizedActivation for layer
as is; always, since the weight stays fp8.
row_major_weight(layer)
¶
layer's fp8 weight as row-major [N, K], for code that reads MXFP8
linear weights directly: a copy without the (16, 16) shuffle when
AiterFlyDSLMxfp8LinearKernel runs the layer, else the weight itself.