llama.cpp benchmarks: Vulkan nearly closes the gap with ROCm at long context

maternion · reddit · 2026-11-27

The author benchmarked Vulkan vs ROCm backends in llama.cpp (build 55514434b) on the Inkling-2-Mini-UD-Q3KXL quantized model (26.07B params, 12.68 GiB), using q80 KV cache, flash attention, and 99 GPU-offloaded layers, with 1 repeat per config for zero deviation.

Results: ROCm leads at short context — 1.20× faster prefill (1001 vs 832 t/s) and 1.14× faster decode; but the gap narrows steadily with depth, with prefill essentially tied at 16K (669 vs 673 t/s). Supplementary 32K/64K-depth runs show the same convergence.

Contrary to popular belief, Vulkan matches ROCm at longer contexts while ROCm consumes more buffer memory; the author also notes ROCm crashes unless ROCBLASUSEHIPBLASLT=0 is set. Full flags and data tables are posted, with an invitation to correct any misconfiguration.

Related event: llama.cpp Vulkan Fix Boosts Long-Context Performance(2 posts)→

Original post →

More from Infra

Infra channel →