Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/abetlen/llama-cpp-python
/ __setstate__
Method
__setstate__
llama_cpp/llama.py:2196–2197 ·
view source on GitHub ↗
(self, state)
Source
from the content-addressed store, hash-verified
2194
)
2195
2196
def
__setstate__(self, state):
2197
self.__init__(**state)
2198
2199
def
save_state(self) -> LlamaState:
2200
if
self.verbose:
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.95
Tested by
no test coverage detected