Skip to content

Commit fcb889c

Browse files
committed
llama : session saving and reloading for hybrid models
1 parent bc320ef commit fcb889c

File tree

2 files changed

+390
-133
lines changed

2 files changed

+390
-133
lines changed

include/llama.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
#define LLAMA_FILE_MAGIC_GGSQ 0x67677371u // 'ggsq'
3939

4040
#define LLAMA_SESSION_MAGIC LLAMA_FILE_MAGIC_GGSN
41-
#define LLAMA_SESSION_VERSION 8
41+
#define LLAMA_SESSION_VERSION 9
4242

4343
#define LLAMA_STATE_SEQ_MAGIC LLAMA_FILE_MAGIC_GGSQ
44-
#define LLAMA_STATE_SEQ_VERSION 2
44+
#define LLAMA_STATE_SEQ_VERSION 3
4545

4646
#ifdef __cplusplus
4747
extern "C" {

0 commit comments

Comments
 (0)