summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksey Nikiforov <lexn82@gmail.com>2025-07-14 12:43:52 -0400
committerGitHub <noreply@github.com>2025-07-14 18:43:52 +0200
commitf5353047ef461e6fc9d527e09a06c9802c699929 (patch)
tree206c8c56efd3dcac1e39655e73788affe6c02832 /include
parent255c22046bcaef41850125be924f3e42e2a65571 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/llama.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llama.h b/include/llama.h
index 96895afa..eaa5d69d 100644
--- a/include/llama.h
+++ b/include/llama.h
@@ -112,6 +112,7 @@ extern "C" {
LLAMA_VOCAB_PRE_TYPE_FALCON_E = 35,
LLAMA_VOCAB_PRE_TYPE_SEED_CODER = 36, //llama.cpp lists this as 35
LLAMA_VOCAB_PRE_TYPE_HUNYUAN = 37, //llama.cpp lists this as 36
+ LLAMA_VOCAB_PRE_TYPE_KIMI_K2 = 38, //llama.cpp lists this as 37
};
// note: these values should be synchronized with ggml_rope