Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abetlen/llama-cpp-python
/ __del__
Method
__del__
llama_cpp/_internals.py:695–696 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
693
self._exit_stack.close()
694
695
def
__del__(self):
696
self.close()
697
698
def
add_greedy(self):
699
sampler = llama_cpp.llama_sampler_init_greedy()
Callers
nothing calls this directly
Calls
1
close
Method · 0.95
Tested by
no test coverage detected