MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / llama_state_get_data

Route llama_state_get_data

llama_cpp/llama_cpp.py:None–None  ·  view source on GitHub ↗
ctypes_function(
    "llama_state_get_data",
    [
        llama_context_p_ctypes,
        ctypes.POINTER(ctypes.c_uint8),
        ctypes.c_size_t,
    ],
    ctypes.c_size_t,
)

Source from the content-addressed store, hash-verified

1from __future__ import annotations
2
3import os
4import ctypes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected