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

Method __del__

llama_cpp/_internals.py:496–497  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

494 self._exit_stack.close()
495
496 def __del__(self):
497 self.close()
498
499 def n_tokens(self) -> int:
500 return self.batch.n_tokens

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected