vllm.model_executor.kernels.linear.cute_dsl.skinny_gemm_plans
¶
Measured skinny GEMM plans for unquantized BF16 linear layers.
Plans are keyed by device capability, local (N, K) weight shape and token
count. A layer whose shape is listed runs the planned config for that token
count; other token counts use F.linear. Entries are kept only where the
skinny GEMM beats cuBLAS by more than 5% under CUDA graph replay.
Functions:
-
get_skinny_gemm_plan–Return the token-count plan for an
(N, K)weight on this device.
get_skinny_gemm_plan(n, k)
¶
Return the token-count plan for an (N, K) weight on this device.