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

Method n_embd_v_gqa_max

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

Source from the content-addressed store, hash-verified

120}
121
122uint32_t llama_hparams::n_embd_v_gqa_max() const {
123 uint32_t val = n_embd_v_gqa();
124 for (uint32_t il = 0; il < n_layer; ++il) {
125 val = std::max(val, n_embd_v_gqa(il));
126 }
127
128 return val;
129}
130
131uint32_t llama_hparams::n_embd_r() const {
132 if (wkv_head_size != 0) {

Callers 3

llama_kv_cacheMethod · 0.80
build_input_v_idxsMethod · 0.80
set_input_v_idxsMethod · 0.80

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected