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

Function llama_n_ctx

llama_cpp/llama_cpp.py:1596–1596  ·  view source on GitHub ↗
(ctx: llama_context_p, /)

Source from the content-addressed store, hash-verified

1594# LLAMA_API uint32_t llama_n_ctx (const struct llama_context * ctx);
1595@ctypes_function("llama_n_ctx", [llama_context_p_ctypes], ctypes.c_uint32)
1596def llama_n_ctx(ctx: llama_context_p, /) -> int: ...
1597
1598
1599# LLAMA_API uint32_t llama_n_ctx_seq (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…