What problem does it solve?
Enables efficient local LLM inference on CPU-only machines, Apple Silicon, and consumer GPUs without relying on NVIDIA CUDA, allowing models to run on edge devices and non-datacenter hardware.
Core Features & Use Cases
- CPU and non‑NVIDIA GPU inference: Build and run llama.cpp on macOS (Metal), Linux (ROCm/CUDA where available), and pure-CPU environments.
- GGUF quantization support: Convert and run GGUF-quantized models (Q2–Q8 variants) to reduce memory and improve speed on limited hardware.
- Model serving and deployment: Start an OpenAI-compatible server, enable hybrid CPU/GPU offloading, batch processing, and context tuning for chatbots, batch generation, and embedded assistants.
- Use Case: Deploy a Llama 2 7B Q4_K_M model on an M3 Mac or an AMD GPU to serve low-latency chat completions for a local assistant without needing CUDA-enabled infrastructure.
Quick Start
Start a local OpenAI-compatible llama.cpp server using a GGUF model and serve requests on port 8080.