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

Method __setitem__

llama_cpp/llama_cache.py:43–46  ·  view source on GitHub ↗
(
        self, key: Sequence[int], value: "llama_cpp.llama.LlamaState"
    )

Source from the content-addressed store, hash-verified

41
42 @abstractmethod
43 def __setitem__(
44 self, key: Sequence[int], value: "llama_cpp.llama.LlamaState"
45 ) -> None:
46 raise NotImplementedError
47
48
49class LlamaRAMCache(BaseLlamaCache):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected