llama.cpp WebGPU adds Q2_0 support, Ternary Bonsai prefill jumps ~50x to 2000 t/s

pmttyji · reddit · 2026-10-22

PR #30914 by teddygood adds Q20 quantization support to llama.cpp's WebGPU backend, benchmarked on an RTX 3060 with native Dawn WebGPU:

The change is small (+81/-1 lines, 5 files) but turns a nearly unusable quant format on WebGPU into 50-55x faster prefill throughput — a concrete win for running small quantized models in browser/WebGPU environments.

Original post →

More from Infra

Infra channel →