[PR #12869] [MERGED] win: avoid ID mixups on refresh #60684

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12869
Author: @dhiltgen
Created: 10/30/2025
Status: Merged
Merged: 10/30/2025
Merged by: @dhiltgen

Base: mainHead: amd_ids


📝 Commits (1)

  • 4beeaf3 win: avoid ID mixups on refresh

📊 Changes

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

View changed files

📝 discover/runner.go (+5 -2)

📄 Description

On Windows AMD IDs are numeric, and can reorder based on the filter environment. By passing in the filter env on a full discovery refresh, we'll only look at the actual devices and ignore unsupported iGPUs. Without this, on some systems iGPU VRAM information was incorrectly being used to populate the dGPU.

Fixes #12564
Fixes #12754


🔄 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/12869 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 10/30/2025 **Status:** ✅ Merged **Merged:** 10/30/2025 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `amd_ids` --- ### 📝 Commits (1) - [`4beeaf3`](https://github.com/ollama/ollama/commit/4beeaf3e510a27420fb5aa14bae18622823107d9) win: avoid ID mixups on refresh ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `discover/runner.go` (+5 -2) </details> ### 📄 Description On Windows AMD IDs are numeric, and can reorder based on the filter environment. By passing in the filter env on a full discovery refresh, we'll only look at the actual devices and ignore unsupported iGPUs. Without this, on some systems iGPU VRAM information was incorrectly being used to populate the dGPU. Fixes #12564 Fixes #12754 --- <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:47:41 -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#60684