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

Method kv_cache_seq_cp

llama_cpp/_internals.py:303–305  ·  view source on GitHub ↗
(self, seq_id_src: int, seq_id_dst: int, p0: int, p1: int)

Source from the content-addressed store, hash-verified

301 return llama_cpp.llama_memory_seq_rm(self.memory, seq_id, p0, p1)
302
303 def kv_cache_seq_cp(self, seq_id_src: int, seq_id_dst: int, p0: int, p1: int):
304 assert self.memory is not None, "Memory is not initialized"
305 llama_cpp.llama_memory_seq_cp(self.memory, seq_id_src, seq_id_dst, p0, p1)
306
307 def kv_cache_seq_keep(self, seq_id: int):
308 assert self.memory is not None, "Memory is not initialized"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected