google/gemma.cpp
lightweight, standalone C++ inference engine for Google's Gemma models. observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 99
- Release rhythm 40
- Longevity 66
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 11
- age_days: 932
- days_rel: 526
- days_push: 7
- n_releases_24m: 2
Adoption not part of the score
7031 stars · 659 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A lightweight, standalone C++ inference engine for Google's Gemma foundation models (Gemma 2/3, PaliGemma 2), with a small ~2K LoC core and portable SIMD via Google Highway. It is designed for experimentation and research rather than production deployment.
Use cases
- run gemma models locally on cpu
- embed an llm inference engine in a c++ project
- experiment with llm model internals and low-level computation
- research on quantized weight compression and mixed-precision gemm
- run a small language model without python dependencies
- modify an llm runtime for algorithm research
When to choose
- you want a minimal, hackable C++ codebase for LLM research
- you need CPU-only inference of Gemma models with minimal dependencies
- you want to embed Gemma inference directly into another C++ application
- you want to experiment with SIMD, quantization, or backward passes on transformer models
When to avoid
- you need production-grade edge or server LLM deployment - use JAX, PyTorch, or Transformers instead
- you need GPU acceleration or broad multi-model support - use llama.cpp or vLLM
- you want a turnkey chat application rather than an inference library
Facets
library · maturity active
llm-inference machine-learning deep-learning large-language-models artificial-intelligence machine-learning cpp windows gemma cpu-inference simd on-device-llm minimalist research linux macos cpu
1 source
- readme: https://github.com/google/gemma.cpp · fetched 2026-08-28 · 66ffd8778b1d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/gemma.cpp | main | 72 |
For agents
markdown · JSON · MCP: product_card(name="google/gemma.cpp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem