فهرست منبع

add command-r graph estimate

Michael Yang 1 سال پیش
والد
کامیت
01f77ae25d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      llm/ggml.go

+ 1 - 1
llm/ggml.go

@@ -327,7 +327,7 @@ func (llm GGML) GraphSize(context, batch int) (int64, bool) {
 	}
 	}
 
 
 	switch llm.KV().Architecture() {
 	switch llm.KV().Architecture() {
-	case "gemma":
+	case "gemma", "command-r":
 		return 4 * int64(batch) * int64(embeddingLength+uint64(vocabLength)), true
 		return 4 * int64(batch) * int64(embeddingLength+uint64(vocabLength)), true
 	case "phi2":
 	case "phi2":
 		return max(
 		return max(