[PR #13053] fix tensor merge #12786

Open
opened 2025-11-12 17:06:44 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13053
Author: @mxyng
Created: 11/11/2025
Status: 🔄 Open

Base: mxyng/use-sliceHead: mxyng/fix-tensor-merge


📝 Commits (1)

📊 Changes

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

View changed files

📝 convert/tensor.go (+22 -0)

📄 Description

this fixes a bug with the tensor merge helper. the issue previously is the tensors are sorted in lexical order, not alphanumeric, so the end result is an out of order tensor


🔄 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/13053 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 11/11/2025 **Status:** 🔄 Open **Base:** `mxyng/use-slice` ← **Head:** `mxyng/fix-tensor-merge` --- ### 📝 Commits (1) - [`7e7637a`](https://github.com/ollama/ollama/commit/7e7637ab693427561a70f7a7870fe14b3526ff9b) fix tensor merge ### 📊 Changes **1 file changed** (+22 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `convert/tensor.go` (+22 -0) </details> ### 📄 Description this fixes a bug with the tensor merge helper. the issue previously is the tensors are sorted in lexical order, not alphanumeric, so the end result is an out of order tensor --- <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 2025-11-12 17:06:44 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#12786
No description provided.