You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JamePeng edited this page Jun 2, 2026
·
9 revisions
llama-cpp-python Wiki
Welcome to the llama-cpp-python wiki :)
This wiki provides structured, source-code-aligned documentation for the public APIs, core classes, modules, examples, and development notes of llama-cpp-python.
The documentation is maintained with the help of LLMs, but the source of truth is always the latest code in llama_cpp/.
Quick Navigation
Getting Started
Start here if you are installing or rebuilding llama-cpp-python.
Draft model interfaces and prompt-based speculative decoding helpers.
[modules/Logger|Logger]
provides configuration for runtime logging in llama-cpp-python, wrapping the native ggml/llama.cpp logging infrastructure. It controls verbosity levels, output streams, substring filtering, and callback integration, allowing fine-grained control over diagnostic and informational output from the underlying bindings.
Development
This section contains maintainer-facing development notes, workflows, and LLM-assisted helper tools for working on llama-cpp-python.
Pages
Page
Description
[development/Git Commit Generation Agent]
Helper workflow for generating clear, structured, and source-aware Git commit messages.
Wiki Maintenance
These pages define how the wiki should be written, updated, and reviewed.
Page
Description
[SCHEMA|Wiki Schema]
Documentation schema and rules for LLM-maintained wiki pages.
[contributing-to-wiki|Contributing to the Wiki]
Contribution guide for writing and updating wiki documentation.
Recommended Reading Order
If you are new to this wiki, read the pages in this order: