llama.cpp b12644 speeds up audio FFTs, but does that make local speech faster?

Original INGOAMPT conceptual diagram: audio waveform on left, iterative FFT processing blocks in the middle, resulting waveform on right; illustrates the shared transform optimized in llama.cpp b12644, not an actual performance benchmark or product screenshot.

By Pegah Tafvizi · INGOAMPT

Open-source llama.cpp published prerelease b12644 on November 23, 2026, replacing parts of its shared audio Fast Fourier Transform (FFT) implementation. In the project’s own CPU microbenchmarks, selected individual transforms completed roughly 2.6 to 4.5 times faster. For developers building local speech tools, the immediate takeaway is narrower: an optimized audio transform does not establish a faster complete speech recognizer or text-to-speech app.

The change comes from pull request #32815. Its contributor documented the algorithm, regression checks and test setup. We compared the named operations below, calculated their before/after ratios and separated this evidence from any unmeasured end-to-end result.

What the new audio path does

An FFT transforms time-based audio samples into a frequency representation; an inverse FFT (IFFT) helps reconstruct a waveform. Speech systems can use them for extracting features or decoding audio, alongside neural-network inference. Improving the transform can lower the cost of that component, but only a profile of the whole application can show whether the user notices.

The contributor replaced recursive radix-2 FFT splitting with iterative processing stages and batched the previous odd-size discrete Fourier transform work across subsequences. The same pull request changes the input-buffer interface: forward FFT input contains N real values, and IFFT input uses 2N interleaved floats. The release notes say the earlier floating-point operation order is preserved.

Because this implementation belongs to llama.cpp’s shared multimodal audio processing code, it is not limited to a single named model. It is a code-path optimization rather than a new model, API, license or pricing announcement.

How much faster were the individual operations?

The project contributor measured interleaved median timings on a 2.1 GHz Xeon with four virtual CPUs and GCC 13.3. Each row below is a distinct transform and input length, in nanoseconds. The final column is our arithmetic using the two reported medians, not an independent INGOAMPT benchmark.

Audio caller Operation N Previous (ns) b12644 (ns) Ratio
Tiny-Voca harmonic FFT 512 9,347 3,072 3.04×
Speech encoder / S3Tok / Voxtral realtime FFT 400 20,149 5,274 3.82×
Zonos3 IFFT 2,208 322,212 71,304 4.52×
Soprano IFFT 2,048 37,286 14,360 2.60×

Source: contributor-run CPU microbenchmarks in llama.cpp PR #32815. The absolute times and ratios describe these specific FFT/IFFT calls, not whole speech tasks, mobile hardware, inference speed or paid cloud usage.

How carefully was output compatibility checked?

A new test_audio_fft covers forward and inverse transforms at nine sizes. The pull request also reports 960 forward/inverse comparison cases across 24 sizes and 20 random inputs. With the stated default x86-64 compiler settings, the contributor found no bit differences against the earlier implementation.

Those results provide a useful test of numerical compatibility in the reported setup. They do not guarantee identical behavior on every compiler, device, speech model or workload. INGOAMPT reviewed the released documentation and calculated rounded ratios; we did not run or reproduce these performance or output tests ourselves.

What should an independent developer actually measure?

If a local speech feature uses the FFT/IFFT paths named in the release, test the change first on a staging build. Keep the recording, model weights, hardware, thread count, backend and other settings fixed. Measure both the shared transform and the complete task: from the start of a microphone clip to the finished transcription, or from submitted text to completed generated speech.

A small fraction of time in the FFT means even an impressive local optimization could barely change the overall response. If the audio processing stage dominates a smaller device’s workload, the same change could matter more. Neither outcome was measured in the source. Do not convert kernel speedup into a battery-life, end-user latency or revenue claim.

For context, our VoxCPM2 local voice report explains which speech-generation features were added and where deployment limits remain. Our Intel Arc prompt-processing comparison illustrates why improvements in one phase cannot be assigned to every other phase.

Availability, caveats and the decision

Version b12644 is a public prerelease, with builds listed for several platforms. The benchmark setup reported in the code review was CPU-based; there is no verified equivalent speedup for a particular iPhone, GPU, Mac or full speech service. No API price, license or free-distribution program changed in this announcement.

Bottom line: this is a documented optimization to a shared audio building block. It deserves a controlled local test if your profiler shows transform costs matter, but it is not a reason by itself to promise faster voice AI to customers.

Original reporting sources: llama.cpp b12644 release, first published November 23, 2026 and the original code review and benchmark report. This article contains source-grounded explanation and arithmetic rather than independently measured performance.