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

Function llama_free

llama_cpp/llama_cpp.py:1543–1545  ·  view source on GitHub ↗

Frees all allocated memory

(ctx: llama_context_p, /)

Source from the content-addressed store, hash-verified

1541 None,
1542)
1543def llama_free(ctx: llama_context_p, /):
1544 """Frees all allocated memory"""
1545 ...
1546
1547
1548# LLAMA_API int64_t llama_time_us(void);

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…