Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.34 KB

LlamaCppBindings.md

File metadata and controls

34 lines (27 loc) · 1.34 KB
title llama.cpp ctypes Bindings
module_name llama_cpp.llama_cpp
source_file llama_cpp/llama_cpp.py
last_updated 2026-10-13
version_target latest

llama.cpp ctypes Bindings

Overview

The low-level Python bindings for llama.cpp and ggml are maintained directly in the source tree. Because this interface follows the bundled native code, the source files are the authoritative and most current reference.

Source References

Refer to the following files according to the level of API you need:

For the native declarations against which these bindings are maintained, refer to the headers under vendor/llama.cpp. General application usage is documented in Llama. For managed internal batch builders and their native conversion paths, see Llama Batch.