Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit e607131

Browse files
committed
Report ggufv3 correctly
* ggml-org/llama.cpp#3818
1 parent 18992ce commit e607131

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/llmfarm_core_cpp/llama/llama.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -1594,12 +1594,14 @@ static void llama_kv_cache_seq_shift(
15941594
enum llama_fver {
15951595
GGUF_FILE_VERSION_V1 = 1,
15961596
GGUF_FILE_VERSION_V2 = 2,
1597+
GGUF_FILE_VERSION_V3 = 3,
15971598
};
15981599

15991600
static const char * llama_file_version_name(llama_fver version) {
16001601
switch (version) {
16011602
case GGUF_FILE_VERSION_V1: return "GGUF V1 (support until nov 2023)";
1602-
case GGUF_FILE_VERSION_V2: return "GGUF V2 (latest)";
1603+
case GGUF_FILE_VERSION_V2: return "GGUF V2";
1604+
case GGUF_FILE_VERSION_V3: return "GGUF V3 (latest)";
16031605
}
16041606

16051607
return "unknown";

0 commit comments

Comments
 (0)