llama : update session save/load

This commit is contained in:
Georgi Gerganov 2023-12-03 21:10:16 +02:00
parent e262947d43
commit 66aaac9867
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
2 changed files with 50 additions and 43 deletions

View file

@ -42,7 +42,7 @@
#define LLAMA_FILE_MAGIC_GGSN 0x6767736eu // 'ggsn'
#define LLAMA_SESSION_MAGIC LLAMA_FILE_MAGIC_GGSN
#define LLAMA_SESSION_VERSION 2
#define LLAMA_SESSION_VERSION 3
#if defined(GGML_USE_CUBLAS) || defined(GGML_USE_CLBLAST) || defined(GGML_USE_METAL)
// Defined when llama.cpp is compiled with support for offloading model layers to GPU.