Skip to content

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

unnecessary ReadSeeker for DecodeGGML

Michael Yangb2816bca67ae
diff --git a/llm/ggml.go b/llm/ggml.go
index 9cb492258..608085d0e 100644
--- a/llm/ggml.go
+++ b/llm/ggml.go
@@ -179,7 +179,7 @@ const (
FILE_MAGIC_GGUF_BE = 0x47475546
)
-func DecodeGGML(r io.ReadSeeker) (*GGML, error) {
+func DecodeGGML(r io.Reader) (*GGML, error) {
var ggml GGML
binary.Read(r, binary.LittleEndian, &ggml.magic)