vllm.model_executor.kernels.linear.nvfp4.flashinfer
¶
Classes:
-
FlashInferB12xNvFp4LinearKernel–NVFP4 GEMM via FlashInfer's b12x CuTe DSL warp-level MMA kernel (SM120+).
-
FlashInferCudnnNvFp4LinearKernel–NVFP4 GEMM via FlashInfer's cuDNN wrapper.
-
FlashInferCuteDslNvFp4LinearKernel–NVFP4 GEMM via FlashInfer's cutedsl backend.
-
FlashInferCuteDslNvFp4W4A16LinearKernel–BF16 x NVFP4 GEMM via FlashInfer's CuTe-DSL backend.
-
FlashInferCutlassNvFp4LinearKernel–NVFP4 GEMM via FlashInfer's CUTLASS wrapper.
-
FlashInferTrtllmNvFp4LinearKernel–NVFP4 GEMM via FlashInfer's TensorRT-LLM wrapper.
FlashInferB12xNvFp4LinearKernel
¶
Bases: NvFp4LinearKernel
NVFP4 GEMM via FlashInfer's b12x CuTe DSL warp-level MMA kernel (SM120+).
Source code in vllm/model_executor/kernels/linear/nvfp4/flashinfer.py
FlashInferCudnnNvFp4LinearKernel
¶
Bases: NvFp4LinearKernel
NVFP4 GEMM via FlashInfer's cuDNN wrapper.
Source code in vllm/model_executor/kernels/linear/nvfp4/flashinfer.py
FlashInferCuteDslNvFp4LinearKernel
¶
Bases: NvFp4LinearKernel
NVFP4 GEMM via FlashInfer's cutedsl backend.
Source code in vllm/model_executor/kernels/linear/nvfp4/flashinfer.py
FlashInferCuteDslNvFp4W4A16LinearKernel
¶
Bases: NvFp4LinearKernel
BF16 x NVFP4 GEMM via FlashInfer's CuTe-DSL backend.
Source code in vllm/model_executor/kernels/linear/nvfp4/flashinfer.py
FlashInferCutlassNvFp4LinearKernel
¶
Bases: NvFp4LinearKernel
NVFP4 GEMM via FlashInfer's CUTLASS wrapper.
Methods:
-
input_quant_key–This kernel supports dynamic quantization of the input. By
Source code in vllm/model_executor/kernels/linear/nvfp4/flashinfer.py
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 | |
input_quant_key()
¶
This kernel supports dynamic quantization of the input. By convention, pre-quantized blockscales must use the swizzled layout.
FlashInferTrtllmNvFp4LinearKernel
¶
Bases: NvFp4LinearKernel
NVFP4 GEMM via FlashInfer's TensorRT-LLM wrapper.