[PR #14863] [CLOSED] fix: propagate error from reserveWorstCaseGraph in allocModel #14880

Closed
opened 2026-04-13 01:04:42 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14863
Author: @fuleinist
Created: 3/15/2026
Status: Closed

Base: mainHead: fix/issue-14839


📝 Commits (1)

  • 9e6453a fix: propagate error from reserveWorstCaseGraph in allocModel

📊 Changes

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

View changed files

📝 runner/ollamarunner/runner.go (+1 -1)

📄 Description

Summary

Fixes a bug where allocModel() silently discards errors from reserveWorstCaseGraph(true) (prompt graph reservation).

Changes

  • Changed return nil to return err when reserveWorstCaseGraph(true) fails

Testing

  • Go compilation passes

Fixes ollama/ollama#14839


🔄 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/14863 **Author:** [@fuleinist](https://github.com/fuleinist) **Created:** 3/15/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/issue-14839` --- ### 📝 Commits (1) - [`9e6453a`](https://github.com/ollama/ollama/commit/9e6453af5a49ad86663b3b137a604dc367f67f87) fix: propagate error from reserveWorstCaseGraph in allocModel ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `runner/ollamarunner/runner.go` (+1 -1) </details> ### 📄 Description ## Summary Fixes a bug where `allocModel()` silently discards errors from `reserveWorstCaseGraph(true)` (prompt graph reservation). ## Changes - Changed `return nil` to `return err` when `reserveWorstCaseGraph(true)` fails ## Testing - Go compilation passes Fixes ollama/ollama#14839 --- <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 01:04:42 -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#14880