diff options
Diffstat (limited to 'ggml/include/ggml.h')
-rw-r--r-- | ggml/include/ggml.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ggml/include/ggml.h b/ggml/include/ggml.h index a467c297..a99dc6b5 100644 --- a/ggml/include/ggml.h +++ b/ggml/include/ggml.h @@ -597,6 +597,13 @@ extern "C" { GGML_TENSOR_FLAG_PARAM = 4, }; + // Flag (used on GGML_OP_CPY nodes) on whether node is associated with K or V cache + enum ggml_kv_cache_flag { + GGML_KV_CACHE_FLAG_NONE = 0, + GGML_KV_CACHE_FLAG_K = 1, + GGML_KV_CACHE_FLAG_V = 2 + }; + // ggml object struct ggml_object { size_t offs; |