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:88–89 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
86
self._exit_stack.close()
87
88
def
__del__(self):
89
self.close()
90
91
def
vocab_type(self) -> int:
92
return
llama_cpp.llama_vocab_type(self.vocab)
Callers
nothing calls this directly
Calls
1
close
Method · 0.95
Tested by
no test coverage detected