diff options
author | slaren <slarengh@gmail.com> | 2023-12-16 18:58:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-16 18:58:46 +0100 |
commit | c6c4fc081c1df1c60a9bfe3e6a3fd086f1a29ec7 (patch) | |
tree | 8338e88ca5e536e3ce1801318d9d61630b358000 /llama.h | |
parent | 8a5be3bd5885d79ad84aadf32bb8c1a67bd43c19 (diff) |
lora : add support for non-llama models (#3333)
* lora : add support for non-llama models
ggml-ci
* avoid leaking ggml_context on failure
cleanup
ggml-ci
* lora : allow 1d tensors
* lora : include embd and output layers in size calculation
* fix style
Diffstat (limited to 'llama.h')
-rw-r--r-- | llama.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -39,6 +39,7 @@ #define LLAMA_MAX_RNG_STATE (64*1024) +#define LLAMA_FILE_MAGIC_GGLA 0x67676c61u // 'ggla' #define LLAMA_FILE_MAGIC_GGSN 0x6767736eu // 'ggsn' #define LLAMA_SESSION_MAGIC LLAMA_FILE_MAGIC_GGSN |