File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 40
40
#define LLAMA_FILE_MAGIC_GGSQ 0x67677371u // 'ggsq'
41
41
42
42
#define LLAMA_SESSION_MAGIC LLAMA_FILE_MAGIC_GGSN
43
- #define LLAMA_SESSION_VERSION 6
43
+ #define LLAMA_SESSION_VERSION 7
44
44
45
45
#define LLAMA_STATE_SEQ_MAGIC LLAMA_FILE_MAGIC_GGSQ
46
46
#define LLAMA_STATE_SEQ_VERSION 1
Original file line number Diff line number Diff line change 112
112
113
113
// bump if necessary
114
114
#define LLAMA_MAX_NODES 8192
115
- #define LLAMA_MAX_LAYERS 256
115
+ #define LLAMA_MAX_LAYERS 512
116
116
#define LLAMA_MAX_EXPERTS 160 // DeepSeekV2
117
117
118
118
//
@@ -19877,7 +19877,7 @@ size_t llama_state_get_size(const struct llama_context * ctx) {
19877
19877
);
19878
19878
19879
19879
// on session change it is very likely that the state size has changed - so we need to update this function
19880
- static_assert(LLAMA_SESSION_VERSION == 6 , "So you just bumped the session version - good. But did you remember to update llama_state_get_size?");
19880
+ static_assert(LLAMA_SESSION_VERSION == 7 , "So you just bumped the session version - good. But did you remember to update llama_state_get_size?");
19881
19881
19882
19882
return s_total;
19883
19883
}
You can’t perform that action at this time.
0 commit comments