[PR #13289] [MERGED] win: warn if ggml-base detected in PATH #60846

Closed
opened 2026-04-29 15:57:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13289
Author: @dhiltgen
Created: 12/1/2025
Status: Merged
Merged: 12/1/2025
Merged by: @dhiltgen

Base: mainHead: harden_win


📝 Commits (1)

  • 5e23f56 win: warn if ggml-base detected in PATH

📊 Changes

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

View changed files

📝 discover/runner.go (+14 -0)

📄 Description

If the user has somehow installed another GGML based app which places a ggml-base lib somewhere in their PATH, we can experience runtime problems due to incompatibilities. This change adds a warning message if we detect a ggml-base outside of our install location to aid in troubleshooting.

Example: (manually copied the library to c:\Windows)

time=2025-12-01T13:07:07.764-08:00 level=INFO source=runner.go:67 msg="discovering available GPUs..."
time=2025-12-01T13:07:07.769-08:00 level=WARN source=runner.go:501 msg="potentially incompatible library detected in PATH" location=C:\WINDOWS\ggml-base.dll

Fixes #12618


🔄 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/13289 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 12/1/2025 **Status:** ✅ Merged **Merged:** 12/1/2025 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `harden_win` --- ### 📝 Commits (1) - [`5e23f56`](https://github.com/ollama/ollama/commit/5e23f566743aa5684c26e0dc28fc7be21d08cc8f) win: warn if ggml-base detected in PATH ### 📊 Changes **1 file changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `discover/runner.go` (+14 -0) </details> ### 📄 Description If the user has somehow installed another GGML based app which places a ggml-base lib somewhere in their PATH, we can experience runtime problems due to incompatibilities. This change adds a warning message if we detect a ggml-base outside of our install location to aid in troubleshooting. Example: (manually copied the library to `c:\Windows`) ``` time=2025-12-01T13:07:07.764-08:00 level=INFO source=runner.go:67 msg="discovering available GPUs..." time=2025-12-01T13:07:07.769-08:00 level=WARN source=runner.go:501 msg="potentially incompatible library detected in PATH" location=C:\WINDOWS\ggml-base.dll ``` Fixes #12618 --- <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-29 15:57:48 -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#60846