[PR #9614] [CLOSED] fix: skip GPU compatibility check on Windows when HSA_OVERRIDE_GFX_VE… #44263

Closed
opened 2026-04-24 23:46:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9614
Author: @cocochick
Created: 3/9/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • adf6318 fix: skip GPU compatibility check on Windows when HSA_OVERRIDE_GFX_VERSION is set

📊 Changes

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

View changed files

📝 discover/amd_windows.go (+14 -11)

📄 Description

…RSION is set

When HSA_OVERRIDE_GFX_VERSION environment variable is set on Windows, the supported variable remains uninitialized, causing GPU compatibility checks to always fail. This fix ensures that compatibility checks are properly skipped when this override is specified.


🔄 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/9614 **Author:** [@cocochick](https://github.com/cocochick) **Created:** 3/9/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`adf6318`](https://github.com/ollama/ollama/commit/adf63185f22b7abf9ab92797fbc8a6c3c881da84) fix: skip GPU compatibility check on Windows when HSA_OVERRIDE_GFX_VERSION is set ### 📊 Changes **1 file changed** (+14 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `discover/amd_windows.go` (+14 -11) </details> ### 📄 Description …RSION is set When HSA_OVERRIDE_GFX_VERSION environment variable is set on Windows, the `supported` variable remains uninitialized, causing GPU compatibility checks to always fail. This fix ensures that compatibility checks are properly skipped when this override is specified. --- <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-24 23:46:30 -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#44263