ggml-org/llama.cpp

▲ 936 stars today★ 128,273⑂ 23,207

LLM inference in C/C++

128,273Star
23,207Fork
0Watch
0Issue
C++Language
-License
Created · last push · repository size 0 KB · default branch -

README

llama.cpp

llama

LLM inference in C/C++

License: MIT Release Nightly Server Docker Winget

ggml / ops / maintainer PRs%20sort%3Aupdated-desc) / dev stats / lib llama API / llama-server REST API

Quick start

A few options to get llama.cpp installed on your machine:

Once installed:

# Download and run a model directly from Hugging Face
llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF

Launch OpenAI-compatible API server

llama serve -hf ggml-org/Qwen3.5-0.8B-GGUF
https://github.com/ggml-org/llama.cpp/blob/HEAD/VLM session with `llama cli` VLM session with llama cli https://github.com/ggml-org/llama.cpp/blob/HEAD/Built-in web UI against `llama serve` running Qwen 3.6 Built-in web UI against llama serve

Description

The main goal of llama.cpp is to enable LLM (and VLM) inference with minimal setup and state-of-the-art performance on a wide range of hardware - locally and in the cloud.

The llama.cpp project is build on top of the ggml library.

Supported backends

| Backend | Target devices | | --- | --- | | BLAS | All | | BLIS | All | | CANN | Ascend NPU | | CUDA | Nvidia GPU | | HIP | AMD GPU | | Hexagon | Snapdragon | | IBM zDNN | IBM Z & LinuxONE | | MUSA | Moore Threads GPU | | Metal | Apple Silicon | | OpenCL | Adreno GPU | | [OpenVINO [In Progress]](docs/backend/OPENVINO.md) | Intel CPUs, GPUs, and NPUs | | RPC | All | | SYCL | Intel GPU | | VirtGPU | VirtGPU APIR | | Vulkan | GPU | | WebGPU | All | | ZenDNN | AMD CPU |

Documentation

Tools

Development

Contributing

Acknowledgements

More Today's Trending projects

Git Homed · data from GitHub Trending and GitHub topic pages · updated daily · about sitemap · robots