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

Method n_pos_per_embd

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

Source from the content-addressed store, hash-verified

164}
165
166uint32_t llama_hparams::n_pos_per_embd() const {
167 return rope_type == LLAMA_ROPE_TYPE_MROPE || rope_type == LLAMA_ROPE_TYPE_IMROPE ? 4 : 1;
168}
169
170bool llama_hparams::is_swa(uint32_t il) const {
171 if (il < n_layer) {

Callers 7

state_read_metaMethod · 0.80
build_inp_posMethod · 0.80
llama_contextMethod · 0.80
graph_reserveMethod · 0.80
seq_addMethod · 0.80
seq_divMethod · 0.80
state_read_metaMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected