MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / get_kv_self

Method get_kv_self

smallthinker/src/llama-context.cpp:424–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424llama_kv_cache * llama_context::get_kv_self() {
425 llama_kv_cache * kv_self = static_cast<llama_kv_cache *>(memory.get());
426 return kv_self;
427}
428
429const llama_kv_cache * llama_context::get_kv_self() const {
430 llama_kv_cache * kv_self = static_cast<llama_kv_cache *>(memory.get());

Callers 13

llama_get_kv_selfFunction · 0.80
llama_kv_self_n_tokensFunction · 0.80
llama_kv_self_used_cellsFunction · 0.80
llama_kv_self_clearFunction · 0.80
llama_kv_self_seq_rmFunction · 0.80
llama_kv_self_seq_cpFunction · 0.80
llama_kv_self_seq_keepFunction · 0.80
llama_kv_self_seq_addFunction · 0.80
llama_kv_self_seq_divFunction · 0.80
llama_kv_self_defragFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected