Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antirez/llama.cpp-deepseek-v4-flash
/ gguf_get_n_kv
Function
gguf_get_n_kv
ggml/src/gguf.cpp:884–886 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
882
}
883
884
int64_t gguf_get_n_kv(const struct gguf_context * ctx) {
885
return ctx->kv.size();
886
}
887
888
int64_t gguf_find_key(const struct gguf_context * ctx, const char * key) {
889
// return -1 if key not found
Callers
15
clip_model_loader
Method · 0.85
load_hparams
Method · 0.85
llama_model_loader
Method · 0.85
llama_adapter_lora_init_impl
Function · 0.85
handcrafted_check_header
Function · 0.85
all_kv_in_other
Function · 0.85
test_roundtrip
Function · 0.85
test_gguf_set_kv
Function · 0.85
gguf_ex_read_0
Function · 0.85
gguf_ex_read_1
Function · 0.85
gguf_find_key
Function · 0.85
gguf_get_key
Function · 0.85
Calls
1
size
Method · 0.45
Tested by
4
handcrafted_check_header
Function · 0.68
all_kv_in_other
Function · 0.68
test_roundtrip
Function · 0.68
test_gguf_set_kv
Function · 0.68