AIAny
AI Infra2023
Icon for item

llama.cpp

Runs large language models entirely in C/C++ with no external dependencies, using 1.5-to-8-bit integer quantization and CPU+GPU hybrid inference to fit models larger than available VRAM. Backs Ollama, LM Studio, and most local-inference tooling.

Introduction

When local LLM inference works on a Raspberry Pi or an old laptop, llama.cpp is usually the reason. It collapsed the gap between research-grade models and consumer hardware by treating quantization as a first-class concern rather than an afterthought, and that one decision quietly made it the engine inside almost every local-AI app people actually use.

What Sets It Apart
  • Quantization as the core, not a bolt-on: 1.5-, 2-, 3-, 4-, 5-, 6-, and 8-bit integer formats let a model that needs 16GB in full precision run in 4-5GB — the difference between "server only" and "runs on my laptop."
  • CPU+GPU hybrid offload: layers split across VRAM and system RAM, so a model larger than your GPU still runs instead of failing to load.
  • Reach over hype: hand-tuned backends for Apple Silicon (Metal), CUDA, Vulkan, HIP, SYCL, and CPU SIMD (AVX/AVX512/NEON) mean it runs almost anywhere, which is why Ollama and LM Studio build on it rather than rolling their own.
Who It's For

Great fit if you want to run or embed LLM inference on your own hardware, ship an offline AI feature, or understand inference internals down to the kernel. Look elsewhere if you want a polished chat UI out of the box — that's what the tools built on top of it provide; here you work closer to the metal with GGUF model files and command-line tooling.

Information

  • Websitegithub.com
  • Organizationsggml.ai, Hugging Face
  • Authorsggml-org
  • Published date2023/03/10

Categories

More Items

GitHub
AI Infra2025

Measures generative AI inference performance with token-level metrics (TTFT, inter-token latency), latency, and throughput under realistic traffic patterns. Provides a multiprocess engine, real-time TUI dashboard, extensible plugins, and integrations for telemetry and result uploads, aimed at inference benchmarking and capacity planning.

GitHub
AI Train2019

Train and experiment with multi-billion to trillion-parameter transformer models on large GPU clusters using GPU-optimized building blocks and reference training scripts; offers advanced parallelism and mixed-precision support for research teams and ML engineers.

GitHub

Indexes full text of visited web pages and local files on a self‑hosted server so you can search your personal knowledge from a web UI, terminal, CLI, or an AI assistant. Runs without mandatory telemetry, offers a browser extension for automatic capture, and supports optional semantic search via a configurable embeddings endpoint.