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:283–284 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
281
self._exit_stack.close()
282
283
def
__del__(self):
284
self.close()
285
286
def
n_ctx(self) -> int:
287
return
llama_cpp.llama_n_ctx(self.ctx)
Callers
nothing calls this directly
Calls
1
close
Method · 0.95
Tested by
no test coverage detected