# llama.cpp adds classifier pooling support for rerankers

> The llama.cpp library now handles classifier_pooling, improving ModernBERT reranker use on many platforms.

Oossa · 2026-09-30 · https://oossa.com/en/llama-cpp-adds-classifier-pooling-support-for-rerankers

The open‑source llama.cpp project released a new version that adds support for classifier_pooling, a setting used by ModernBERT rerankers. The change lets the library read and write the pooling type, defaulting to mean when unspecified. It also renames the internal field to pooling_type_cls. The update is available for a wide range of OSes and hardware, from Apple Silicon Macs to Linux GPUs and Android devices.

## The facts

- Release tag b11273 published on Sep 30, 2026
- Adds classifier_pooling (cls or mean) for ModernBERT rerankers

## Why it matters

It makes llama.cpp more usable for search and ranking tasks across many devices.

## Sources & references

1. [ggml-org/llama.cpp b11273](https://github.com/ggml-org/llama.cpp/releases/tag/b11273) – llama.cpp, 2026-09-30

Last updated: 2026-09-30
