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

Method is_swa

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

Source from the content-addressed store, hash-verified

168}
169
170bool llama_hparams::is_swa(uint32_t il) const {
171 if (il < n_layer) {
172 return swa_layers[il];
173 }
174
175 GGML_ABORT("fatal error");
176}
177
178bool llama_hparams::is_mla() const {
179 assert((n_embd_head_k_mla_impl == 0 && n_embd_head_v_mla_impl == 0) ||

Callers 11

llama_kv_cache_iswaMethod · 0.80
load_tensorsMethod · 0.80
get_rope_freq_baseMethod · 0.80
get_rope_freq_scaleMethod · 0.80
create_memoryMethod · 0.80
build_attnMethod · 0.80
llama_kv_cacheMethod · 0.80
llm_build_olmo2Method · 0.80
llm_build_exaone4Method · 0.80
llm_build_exaone_moeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected