From 6ed991c8e2ad6b3df201dd5d453be62464be5fe6 Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Fri, 11 Aug 2023 10:45:19 -0700 Subject: [PATCH] ggml: fix off by one error remove used Unknown FileType --- llm/ggml.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llm/ggml.go b/llm/ggml.go index a5f013c3..a732f074 100644 --- a/llm/ggml.go +++ b/llm/ggml.go @@ -29,7 +29,7 @@ const ( FileTypeQ4_0 FileTypeQ4_1 FileTypeQ4_1_F16 - FileTypeQ8_0 = iota + 3 + FileTypeQ8_0 = iota + 2 FileTypeQ5_0 FileTypeQ5_1 FileTypeQ2_K @@ -37,7 +37,6 @@ const ( FileTypeQ4_K FileTypeQ5_K FileTypeQ6_K - FileTypeUnknown = -1 ) type GGML struct {