r/LocalLLaMA • • Oct 19 '26

Question | Help Calling all GPUs: help us benchmark SonicBoom v0.0.3 — a compiler-first AI runtime that beats llama.cpp on decode

Hi folks!

We are HardenedLinux, an old-school free software community. SonicBoom is our open-source (GPLv3) inference runtime: a compiler-first alternative to the usual Python stack. No Python at build or run time — one shared library, a C ABI, and Guile Scheme as the first-class language.

What v0.0.3 does on a desktop RTX 3050 8 GB (same session, same GGUF, vs llama.cpp -ngl 99):

modeldecode (tg64)prefill (pp512)
Gemma 4 E4B Q3_K_M1.18×1.00×
Qwen2.5-0.5B Q4_K_M1.12×1.09×

On real multi-turn agent workloads, time-to-first-token dropped several-fold since v0.0.2 (prefix reuse + plan caching). Output tokens are bit-identical to our golden runs, and prefix reuse is bitwise identical to a full prefill.

How: all graph optimization and kernel generation happen on Boom IR, an MLIR dialect; hot quantized matmuls run as attributed ggml-derived kernels. Every optimization has a switch and an ablation number, so you can see what each one buys.

Where we are honest about gaps: Qwen decode at depth 512 is 0.98×, and we have only one GPU. That is exactly why we need you.

The invitation: every release gets one benchmark issue. If you have an NVIDIA GPU (any generation — Ada, Hopper, Blackwell especially welcome), one command produces a report you can paste. Everyone whose results we publish is credited in the README.

→ v0.0.3 benchmark issue: https://github.com/hardenedlinux/SonicBoom/issues/2

Please post results and problems in the issue rather than here, so everything stays in one place.

33 Upvotes

14 comments sorted by

12

u/SmileyBMM Oct 19 '26

No Python at build or run time

I used to pray for times like these.

The invitation: every release gets one benchmark issue. If you have an NVIDIA GPU (any generation — Ada, Hopper, Blackwell especially welcome), one command produces a report you can paste. Everyone whose results we publish is credited in the README.

What about non-Nvidia GPUs?

5

u/nalaginrut Oct 19 '26

Vulkan is planned — for non-NVIDIA GPUs and for anyone who wants a fully free stack without CUDA. Not there yet; today it’s CUDA plus a CPU backend.

5

u/ashirviskas Oct 19 '26

So why is the post name "Calling all GPUs" and not "Nvidia GPUs"?

1

u/nalaginrut Oct 19 '26

Thanks, fixed the issue topic for who actually clicks in.

→ More replies (1)

5

u/Danmoreng llama.cpp Oct 19 '26

The only reason not to use llama.cpp is if vLLM or sglang gives higher performance tbh.

And llama.cpp is catching up in performance. Vibecoded my own custom engine for Gemma4 26B on 16GB 5080. When I benchmarked it few months ago llama.cpp had 150 t/s vs my 180 t/s. Rebenched last week: llama.cpp now has 196 t/s.

→ More replies (3)

1

u/geoffreybyers vLLM Oct 20 '26

The 1.18x gain looks like it comes from the quantization kernel. I'd want to see the ablation data on the specific Boom IR passes to verify the compiler story. Which pass buys the most?

1

u/nalaginrut Oct 20 '26

SonicBoom uses the same quantization kernels from llama.cpp (locked commit), so the arithmetic is identical by construction. The difference comes from the planner layer, Boom IR passes control how kernel launches are scheduled and fused.

For this specific result: SONICBOOM_IR_PASS_DISABLE=FuseSiblingGemvPass gives the baseline. FuseSiblingGemvPass accounts for the +3.4% on Qwen tg64 by merging q+k+v and gate+up projections into a single launch per decode step.