llama.cpp PR adds few-row CUDA MMQ kernel, speeding speculative decoding up to 35%

pmttyji · reddit · 2026-11-12

llama.cpp PR #31533 introduces a CUDA MMQ kernel for quantized weights with 2-24 columns, targeting speculative decoding (7-token drafts = 8 columns) and small batches where neither MMVQ nor batch-oriented MMQ is efficient.

Technical highlights

Measured gains (per-step / throughput)

Faster in 80/80 conversations on every GPU tested; author plans to extend to more quant types.

Original post →

More from coding & agent

coding & agent channel →