[PR #14069] [CLOSED] Port LFM2 fixes from upstream llama.cpp #14495

Closed
opened 2026-04-13 00:55:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14069
Author: @tdakhran
Created: 2/4/2026
Status: Closed

Base: mainHead: tarek/backport/llama-lfm2-fixes


📝 Commits (1)

  • 70438f0 Port LFM2 fixes from upstream llama.cpp

📊 Changes

3 files changed (+19 additions, -6 deletions)

View changed files

📝 llama/llama.cpp/src/llama-model.cpp (+2 -2)
📝 llama/llama.cpp/tools/mtmd/clip.cpp (+8 -0)
📝 llama/llama.cpp/tools/mtmd/models/siglip.cpp (+9 -4)

📄 Description

https://github.com/ollama/ollama/pull/13832 includes changes to make LFM2 and LFM2.5 family models work with ollama, both - text and vision models.

Unfortunately, it was reverted in https://github.com/ollama/ollama/pull/14061.

This PR cherry-picks commits from upstream llama.cpp

Would it be possible to merge it to make Liquid AI LFM2 and LFM2.5 family models to work with ollama?


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/14069 **Author:** [@tdakhran](https://github.com/tdakhran) **Created:** 2/4/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `tarek/backport/llama-lfm2-fixes` --- ### 📝 Commits (1) - [`70438f0`](https://github.com/ollama/ollama/commit/70438f00b3c3199b4a849ab2ad4c2e98d5efb848) Port LFM2 fixes from upstream llama.cpp ### 📊 Changes **3 files changed** (+19 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `llama/llama.cpp/src/llama-model.cpp` (+2 -2) 📝 `llama/llama.cpp/tools/mtmd/clip.cpp` (+8 -0) 📝 `llama/llama.cpp/tools/mtmd/models/siglip.cpp` (+9 -4) </details> ### 📄 Description https://github.com/ollama/ollama/pull/13832 includes changes to make LFM2 and LFM2.5 family models work with ollama, both - text and vision models. Unfortunately, it was reverted in https://github.com/ollama/ollama/pull/14061. This PR cherry-picks commits from upstream llama.cpp * https://github.com/ggml-org/llama.cpp/commit/4974bf53cf14073c7b66e1151348156aabd42cb8 * https://github.com/ggml-org/llama.cpp/commit/ef83fb8601229ff650d952985be47e82d644bfaa Would it be possible to merge it to make Liquid AI LFM2 and LFM2.5 family models to work with ollama? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 00:55:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#14495