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

Method n_head

smallthinker/src/llama-hparams.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27uint32_t llama_hparams::n_head(uint32_t il) const {
28 if (il < n_layer) {
29 return n_head_arr[il];
30 }
31
32 GGML_ABORT("fatal error");
33}
34
35uint32_t llama_hparams::n_head_kv(uint32_t il) const {
36 if (il < n_layer) {

Callers 9

n_gqaMethod · 0.95
weight_buft_supportedFunction · 0.80
load_hparamsMethod · 0.80
load_tensorsMethod · 0.80
print_infoMethod · 0.80
llm_build_deciMethod · 0.80
llm_build_openelmMethod · 0.80
llama_model_n_headFunction · 0.80
llm_graph_contextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected