Skip to content

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

fix parameter count

Michael Yangced7d0e53df1
diff --git a/fs/ggml/ggml.go b/fs/ggml/ggml.go
index 015b2798e..646dc75df 100644
--- a/fs/ggml/ggml.go
+++ b/fs/ggml/ggml.go
@@ -33,7 +33,7 @@ func (kv KV) Kind() string {
}
func (kv KV) ParameterCount() uint64 {
- return keyValue[uint64](kv, "general.parameter_count")
+ return keyValue(kv, "general.parameter_count", uint64(0))
}
func (kv KV) FileType() fileType {