model: improvements to LFM architectures (#14368)

This commit is contained in:
Jeffrey Morgan
2026-02-23 14:38:10 -08:00
committed by GitHub
parent 8daf47fb3a
commit 4b2ac1f369
21 changed files with 3342 additions and 1399 deletions

View File

@@ -295,6 +295,7 @@ func (kv KV) OllamaEngineRequired() bool {
"glm4moelite",
"glmocr",
"lfm2",
"lfm2moe",
}, kv.Architecture())
}
@@ -886,6 +887,7 @@ func (f GGML) FlashAttention() bool {
"glmocr",
"gptoss", "gpt-oss",
"lfm2",
"lfm2moe",
"mistral3",
"nemotron_h", "nemotron_h_moe",
"olmo3",