| 69 | static const char * const LLM_KV_QUANTIZE_IMATRIX_N_CHUNKS = "quantize.imatrix.chunks_count"; |
| 70 | |
| 71 | static bool striequals(const char * a, const char * b) { |
| 72 | while (*a && *b) { |
| 73 | if (std::tolower(*a) != std::tolower(*b)) { |
| 74 | return false; |
| 75 | } |
| 76 | a++; b++; |
| 77 | } |
| 78 | return *a == *b; |
| 79 | } |
| 80 | |
| 81 | static bool try_parse_ftype(const std::string & ftype_str_in, llama_ftype & ftype, std::string & ftype_str_out) { |
| 82 | std::string ftype_str; |
no outgoing calls
no test coverage detected