[PR #15163] fix(discover): warn when GPU backend runner fails to start #40931

Open
opened 2026-04-23 01:42:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15163
Author: @Junior00619
Created: 3/31/2026
Status: 🔄 Open

Base: mainHead: fix/gpu-discovery-warn-log


📝 Commits (1)

  • 56a602d fix(discover): warn when GPU backend runner fails to start

📊 Changes

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

View changed files

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

📄 Description

When llm.StartRunner returns an error during bootstrap device discovery, the failure was logged at Debug level and silently swallowed. Users with GPU hardware see ollama fall back to CPU with no visible indication of why.

Upgrade to Warn so that the cause is visible at the default log level.

Also fix a typo: 'to discovery' -> 'to discover'.

Fixes #15079


🔄 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/15163 **Author:** [@Junior00619](https://github.com/Junior00619) **Created:** 3/31/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/gpu-discovery-warn-log` --- ### 📝 Commits (1) - [`56a602d`](https://github.com/ollama/ollama/commit/56a602dd4fc4dedff09b65a970a9aff6d7075a04) fix(discover): warn when GPU backend runner fails to start ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `discover/runner.go` (+1 -1) </details> ### 📄 Description When llm.StartRunner returns an error during bootstrap device discovery, the failure was logged at Debug level and silently swallowed. Users with GPU hardware see ollama fall back to CPU with no visible indication of why. Upgrade to Warn so that the cause is visible at the default log level. Also fix a typo: 'to discovery' -> 'to discover'. Fixes #15079 --- <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-23 01:42:37 -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#40931