# llama.cpp adds BF16 support for matrix ops

> The open‑source llama.cpp library now handles BF16 data in key matrix routines, opening the door to faster AI inference on compatible hardware.

Oossa · 2026-11-26 · https://oossa.com/en/llama-cpp-adds-bf16-support-for-matrix-ops

The ggml‑org team released version b12780 of llama.cpp on 26 Nov 2026. The update adds BF16 (brain‑floating‑point 16) as a source type for MUL_MAT and MUL_MAT_ID operations on both CPU and CUDA GPUs. It also tightens related gates and fixes overflow bugs.

## The facts

- Release tag b12780 was published on 26 Nov 2026.
- BF16 support was added to MUL_MAT and MUL_MAT_ID for CPU and CUDA.

## Why it matters

BF16 can reduce memory and speed up inference, but the benefit only appears on hardware that handles BF16.

## What it means for you

If you run llama.cpp on a GPU that supports BF16, you can now use models stored in BF16 format and may see lower memory use and higher throughput.

**Our take:** The added BF16 path is a solid step for performance‑focused users, though the real speed gains will depend on hardware support.

## Sources & references

1. [ggml-org/llama.cpp b12780](https://github.com/ggml-org/llama.cpp/releases/tag/b12780) – llama.cpp, 2026-11-26

Last updated: 2026-11-26
