[PR #12761] [CLOSED] fix(llama.cpp): Set final embedding to res->t_embd to fix error with PLaMo2 models #60640

Closed
opened 2026-04-29 15:43:34 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12761
Author: @mitmul
Created: 10/24/2025
Status: Closed

Base: mainHead: mitmul/fix-llama-model-for-plamo2


📝 Commits (1)

  • 59b98df Fix llama-model.cpp for plamo2 model

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 llama/llama.cpp/src/llama-model.cpp (+1 -0)

📄 Description

Resolves https://github.com/ollama/ollama/issues/12689


🔄 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/12761 **Author:** [@mitmul](https://github.com/mitmul) **Created:** 10/24/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `mitmul/fix-llama-model-for-plamo2` --- ### 📝 Commits (1) - [`59b98df`](https://github.com/ollama/ollama/commit/59b98dfb69ea155ab0a102037324d706f9422341) Fix llama-model.cpp for plamo2 model ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `llama/llama.cpp/src/llama-model.cpp` (+1 -0) </details> ### 📄 Description Resolves https://github.com/ollama/ollama/issues/12689 --- <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-29 15:43:34 -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#60640