Skip to content

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

add command-r graph estimate

Michael Yang01f77ae25d80
diff --git a/llm/ggml.go b/llm/ggml.go
index 352c095f7..071a36c3b 100644
--- a/llm/ggml.go
+++ b/llm/ggml.go
@@ -327,7 +327,7 @@ func (llm GGML) GraphSize(context, batch int) (int64, bool) {
}
switch llm.KV().Architecture() {
- case "gemma":
+ case "gemma", "command-r":
return 4 * int64(batch) * int64(embeddingLength+uint64(vocabLength)), true
case "phi2":
return max(