[PR #6189] [MERGED] Sort Batch Embed Results #12049

Closed
opened 2026-04-12 23:47:47 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6189
Author: @royjhan
Created: 8/5/2024
Status: Merged
Merged: 8/5/2024
Merged by: @royjhan

Base: mainHead: royh-batchembed-sort


📝 Commits (1)

📊 Changes

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

View changed files

📝 llm/ext_server/server.cpp (+6 -0)

📄 Description

batch embed returns results out of order, fix by sorting results by task id

Resolves #6187


🔄 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/6189 **Author:** [@royjhan](https://github.com/royjhan) **Created:** 8/5/2024 **Status:** ✅ Merged **Merged:** 8/5/2024 **Merged by:** [@royjhan](https://github.com/royjhan) **Base:** `main` ← **Head:** `royh-batchembed-sort` --- ### 📝 Commits (1) - [`c05e030`](https://github.com/ollama/ollama/commit/c05e030f19e93ac27ef5e50b980953bb8ac9278e) sort batch results ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `llm/ext_server/server.cpp` (+6 -0) </details> ### 📄 Description batch embed returns results out of order, fix by sorting results by task id Resolves #6187 --- <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-12 23:47:47 -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#12049