[PR #9872] [MERGED] ggml: return error on failure to read tensor data #13077

Closed
opened 2026-04-13 00:17:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9872
Author: @BruceMacD
Created: 3/18/2025
Status: Merged
Merged: 3/18/2025
Merged by: @BruceMacD

Base: mainHead: ggml-tensor-err


📝 Commits (1)

  • 414c6e0 ggml: return error on failure to read tensor data

📊 Changes

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

View changed files

📝 ml/backend/ggml/ggml.go (+1 -1)

📄 Description

When converting a ggml model if there is a failure to read tensor data a nil error value was being returned. It should be assigned to the actual error from reading.


🔄 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/9872 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 3/18/2025 **Status:** ✅ Merged **Merged:** 3/18/2025 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `ggml-tensor-err` --- ### 📝 Commits (1) - [`414c6e0`](https://github.com/ollama/ollama/commit/414c6e02e55a718be756e4a7dd2dfd6ab023fa18) ggml: return error on failure to read tensor data ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `ml/backend/ggml/ggml.go` (+1 -1) </details> ### 📄 Description When converting a ggml model if there is a failure to read tensor data a nil error value was being returned. It should be assigned to the actual error from reading. --- <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:17:18 -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#13077