summaryrefslogtreecommitdiff
path: root/llama.h
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-08-22 20:05:59 +0300
committerGitHub <noreply@github.com>2023-08-22 20:05:59 +0300
commitdeb7dfca4b9725cd295d1426db75fe8e0a6d5312 (patch)
treef36daf023af86b6005325cbb4ee80a7966255e59 /llama.h
parentbac66994cf356cf488078c056831396eb4ce31d5 (diff)
gguf : add ftype meta info to the model (#2710)
* llama : add ftype meta info to the model ggml-ci * convert.py : add ftype when converting (does not work) * convert.py : fix Enum to IntEnum ggml-ci
Diffstat (limited to 'llama.h')
-rw-r--r--llama.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llama.h b/llama.h
index aa5b7d69..7ce478d5 100644
--- a/llama.h
+++ b/llama.h
@@ -103,6 +103,8 @@ extern "C" {
LLAMA_FTYPE_MOSTLY_Q5_K_S = 16,// except 1d tensors
LLAMA_FTYPE_MOSTLY_Q5_K_M = 17,// except 1d tensors
LLAMA_FTYPE_MOSTLY_Q6_K = 18,// except 1d tensors
+
+ LLAMA_FTYPE_GUESSED = 1024, // not specified in the model file
};
typedef struct llama_token_data {