Add GLM-OCR vision model support (#14024)

This commit is contained in:
Jeffrey Morgan
2026-02-02 15:39:18 -08:00
committed by GitHub
parent d8cc798c2b
commit 8f4a008139
15 changed files with 1553 additions and 0 deletions

View File

@@ -270,6 +270,7 @@ func (kv KV) OllamaEngineRequired() bool {
"qwen3", "qwen3moe",
"qwen3vl", "qwen3vlmoe",
"glm4moelite",
"glmocr",
"lfm2",
}, kv.Architecture())
}
@@ -859,6 +860,7 @@ func (f GGML) FlashAttention() bool {
"bert",
"gemma3",
"glm4moelite",
"glmocr",
"gptoss", "gpt-oss",
"lfm2",
"mistral3",