[PR #13053] [MERGED] fix tensor merge #76343

Closed
opened 2026-05-05 08:52:26 -05: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: Merged
Merged: 11/13/2025
Merged by: @mxyng

Base: mainHead: mxyng/fix-tensor-merge


📝 Commits (1)

📊 Changes

2 files changed (+66 additions, -0 deletions)

View changed files

📝 convert/tensor.go (+22 -0)
📝 convert/tensor_test.go (+44 -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:** ✅ Merged **Merged:** 11/13/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/fix-tensor-merge` --- ### 📝 Commits (1) - [`bc36f0b`](https://github.com/ollama/ollama/commit/bc36f0b54f53b7b2f8288fd057675cfec37ff71f) fix tensor merge ### 📊 Changes **2 files changed** (+66 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `convert/tensor.go` (+22 -0) 📝 `convert/tensor_test.go` (+44 -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 2026-05-05 08:52:27 -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#76343