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

Function _warn_deprecated

llama_cpp/llama_cpp.py:48–53  ·  view source on GitHub ↗
(symbol: str, hint: str)

Source from the content-addressed store, hash-verified

46
47
48def _warn_deprecated(symbol: str, hint: str) -> None:
49 warnings.warn(
50 f"{symbol} is deprecated; {hint}",
51 DeprecationWarning,
52 stacklevel=2,
53 )
54
55
56# from ggml.h

Callers 15

llama_free_modelFunction · 0.85
llama_n_ctx_trainFunction · 0.85
llama_n_embdFunction · 0.85
llama_n_layerFunction · 0.85
llama_n_headFunction · 0.85
llama_n_vocabFunction · 0.85
llama_get_state_sizeFunction · 0.85
llama_copy_state_dataFunction · 0.85
llama_set_state_dataFunction · 0.85
llama_load_session_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…