| 2216 | // |
| 2217 | |
| 2218 | static std::string llama_model_arch_name(llm_arch arch) { |
| 2219 | auto it = LLM_ARCH_NAMES.find(arch); |
| 2220 | if (it == LLM_ARCH_NAMES.end()) { |
| 2221 | return "unknown"; |
| 2222 | } |
| 2223 | return it->second; |
| 2224 | } |
| 2225 | |
| 2226 | static std::string llama_model_ftype_name(llama_ftype ftype) { |
| 2227 | if (ftype & LLAMA_FTYPE_GUESSED) { |
no test coverage detected