MCPcopy Index your code
hub / github.com/abetlen/llama-cpp-python / desc

Method desc

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

Source from the content-addressed store, hash-verified

104 return llama_cpp.llama_model_rope_freq_scale_train(self.model)
105
106 def desc(self) -> str:
107 buf = ctypes.create_string_buffer(1024)
108 llama_cpp.llama_model_desc(self.model, buf, 1024)
109 return buf.value.decode("utf-8")
110
111 def size(self) -> int:
112 return llama_cpp.llama_model_size(self.model)

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected