Ported kimi-k2 support from llama.cpp (#609)

Original patch by @gabriellarson:
https://github.com/ggml-org/llama.cpp/pull/14654

Co-authored-by: anikifoss <anikifoss>
This commit is contained in:
Aleksey Nikiforov
2025-07-14 12:43:52 -04:00
committed by GitHub
parent 4f56069442
commit da8998c6c6
5 changed files with 223 additions and 1 deletions

View File

@@ -64,4 +64,6 @@ uint8_t unicode_utf8_to_byte(const std::string & utf8);
uint32_t unicode_tolower(uint32_t cp);
bool unicode_cpt_is_han(uint32_t cpt);
std::vector<std::string> unicode_regex_split(const std::string & text, const std::vector<std::string> & regex_exprs);