| 168 | } |
| 169 | |
| 170 | bool 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 | |
| 178 | bool llama_hparams::is_mla() const { |
| 179 | assert((n_embd_head_k_mla_impl == 0 && n_embd_head_v_mla_impl == 0) || |
no outgoing calls
no test coverage detected