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

Function llama_set_state_data

llama_cpp/llama_cpp.py:2596–2600  ·  view source on GitHub ↗

Set the state reading from the specified address (DEPRECATED)

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

Source from the content-addressed store, hash-verified

2594 ctypes.c_size_t,
2595)
2596def llama_set_state_data(
2597 ctx: llama_context_p, src: CtypesArray[ctypes.c_uint8], /
2598) -> int:
2599 """Set the state reading from the specified address (DEPRECATED)"""
2600 ...
2601
2602
2603_llama_set_state_data = llama_set_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…