[PR #12300] [MERGED] fix: fix CUDA detection for older GPUs #13775

Closed
opened 2026-04-13 00:36:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12300
Author: @egyptianbman
Created: 9/15/2025
Status: Merged
Merged: 9/16/2025
Merged by: @dhiltgen

Base: mainHead: main


📝 Commits (1)

  • b92f11c fix: fix CUDA detection for older GPUs

📊 Changes

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

View changed files

📝 discover/cuda_common.go (+9 -1)

📄 Description

Prioritize GPU compute capability over driver version to ensure Pascal GPUs (CC 6.1) use compatible CUDA v12 libraries instead of v13.


🔄 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/12300 **Author:** [@egyptianbman](https://github.com/egyptianbman) **Created:** 9/15/2025 **Status:** ✅ Merged **Merged:** 9/16/2025 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`b92f11c`](https://github.com/ollama/ollama/commit/b92f11c3d23064b872c3cc77e8a9f6e2a990cd41) fix: fix CUDA detection for older GPUs ### 📊 Changes **1 file changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `discover/cuda_common.go` (+9 -1) </details> ### 📄 Description Prioritize GPU compute capability over driver version to ensure Pascal GPUs (CC 6.1) use compatible CUDA v12 libraries instead of v13. --- <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 00:36:09 -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#13775