Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

ggml: fix off by one error

Michael Yang6ed991c8e2ad
diff --git a/llm/ggml.go b/llm/ggml.go
index a5f013c31..a732f074c 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 {