mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-06 19:25:21 +00:00
Merge pull request #3496 from ollama/mxyng/cmd-r-graph
add command-r graph estimate
This commit is contained in:
commit
fc8e108642
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user