Skip to content

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

zero means zero

Michael Yang8d376acc9b3e
diff --git a/fs/ggml/ggml.go b/fs/ggml/ggml.go
index 1ba0813f7..fcb69decc 100644
--- a/fs/ggml/ggml.go
+++ b/fs/ggml/ggml.go
@@ -366,10 +366,6 @@ func DetectContentType(b []byte) string {
// maxArraySize. If maxArraySize is 0, the default value of 1024 is used. If
// the maxArraySize is negative, all arrays are collected.
func Decode(rs io.ReadSeeker, maxArraySize int) (*GGML, int64, error) {
- if maxArraySize == 0 {
- maxArraySize = 1024
- }
-
rs = bufioutil.NewBufferedSeeker(rs, 32<<10)
var magic uint32