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

Function llama_get_memory

llama_cpp/llama_cpp.py:1698–1700  ·  view source on GitHub ↗

Get the memory for the context

(ctx: llama_context_p, /)

Source from the content-addressed store, hash-verified

1696# LLAMA_API llama_memory_t llama_get_memory (const struct llama_context * ctx);
1697@ctypes_function("llama_get_memory", [llama_context_p_ctypes], llama_memory_t_ctypes)
1698def llama_get_memory(ctx: llama_context_p, /) -> Optional[llama_memory_t]:
1699 """Get the memory for the context"""
1700 ...
1701
1702
1703# LLAMA_API enum llama_pooling_type llama_pooling_type(const struct llama_context * ctx);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…