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

Function llama_model_n_head_kv

smallthinker/src/llama-model.cpp:14120–14122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14118}
14119
14120int32_t llama_model_n_head_kv(const llama_model * model) {
14121 return model->hparams.n_head_kv();
14122}
14123
14124int32_t llama_model_n_swa(const llama_model * model) {
14125 return model->hparams.n_swa;

Callers

nothing calls this directly

Calls 1

n_head_kvMethod · 0.80

Tested by

no test coverage detected