MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / n_embd_v_gqa

Method n_embd_v_gqa

subprojects/llama.cpp/src/llama-hparams.cpp:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85uint32_t llama_hparams::n_embd_v_gqa(uint32_t il) const {
86 const uint32_t n_head_kv = this->n_head_kv(il);
87
88 return n_embd_head_v * n_head_kv;
89}
90
91bool llama_hparams::is_n_embd_k_gqa_variable() const {
92 const uint32_t val = n_embd_k_gqa();

Callers 15

load_tensorsMethod · 0.80
print_infoMethod · 0.80
llm_graph_contextMethod · 0.80
llama_kv_cacheMethod · 0.80
get_vMethod · 0.80
state_write_dataMethod · 0.80
state_read_dataMethod · 0.80
llm_build_codeshellMethod · 0.80
llm_build_bailingmoe2Method · 0.80
llm_build_jaisMethod · 0.80
llm_build_gpt2Method · 0.80
llm_build_dbrxMethod · 0.80

Calls 1

n_head_kvMethod · 0.95

Tested by

no test coverage detected