| 84 | static const char * const LLM_KV_IMATRIX_CHUNK_SIZE = "imatrix.chunk_size"; |
| 85 | |
| 86 | static bool striequals(const char * a, const char * b) { |
| 87 | while (*a && *b) { |
| 88 | if (std::tolower(*a) != std::tolower(*b)) { |
| 89 | return false; |
| 90 | } |
| 91 | a++; b++; |
| 92 | } |
| 93 | return *a == *b; |
| 94 | } |
| 95 | |
| 96 | static bool try_parse_ftype(const std::string & ftype_str_in, llama_ftype & ftype, std::string & ftype_str_out) { |
| 97 | std::string ftype_str; |
no outgoing calls
no test coverage detected