MCPcopy Index your code
hub / github.com/abetlen/llama-cpp-python / llama_copy_state_data

Function llama_copy_state_data

llama_cpp/llama_cpp.py:2548–2552  ·  view source on GitHub ↗

Copies the state to the specified destination address (DEPRECATED)

(
    ctx: llama_context_p, dst: CtypesArray[ctypes.c_uint8], /
)

Source from the content-addressed store, hash-verified

2546 ctypes.c_size_t,
2547)
2548def llama_copy_state_data(
2549 ctx: llama_context_p, dst: CtypesArray[ctypes.c_uint8], /
2550) -> int:
2551 """Copies the state to the specified destination address (DEPRECATED)"""
2552 ...
2553
2554
2555_llama_copy_state_data = llama_copy_state_data

Callers

nothing calls this directly

Calls 1

_warn_deprecatedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…