[PR #11614] [MERGED] discovery: fix cudart driver version #44843

Closed
opened 2026-04-25 00:31:04 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11614
Author: @dhiltgen
Created: 7/31/2025
Status: Merged
Merged: 8/13/2025
Merged by: @dhiltgen

Base: mainHead: cudart_driver_ver


📝 Commits (1)

  • 25eaf15 discovery: fix cudart driver version

📊 Changes

3 files changed (+7 additions, -11 deletions)

View changed files

📝 discover/gpu.go (+2 -0)
📝 discover/gpu_info_cudart.c (+3 -6)
📝 discover/gpu_info_cudart.h (+2 -5)

📄 Description

We prefer the nvcuda library, which reports driver versions. When we dropped cuda v11, we added a safety check for too-old drivers. What we missed was the cudart fallback discovery logic didn't have driver version wired up. This fixes cudart discovery to expose the driver version as well so we no longer reject all GPUs if nvcuda didn't work.

Fixes #11519


🔄 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/11614 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 7/31/2025 **Status:** ✅ Merged **Merged:** 8/13/2025 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `cudart_driver_ver` --- ### 📝 Commits (1) - [`25eaf15`](https://github.com/ollama/ollama/commit/25eaf15cdac5bde06e587f87823afe7ecd1494fe) discovery: fix cudart driver version ### 📊 Changes **3 files changed** (+7 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `discover/gpu.go` (+2 -0) 📝 `discover/gpu_info_cudart.c` (+3 -6) 📝 `discover/gpu_info_cudart.h` (+2 -5) </details> ### 📄 Description We prefer the nvcuda library, which reports driver versions. When we dropped cuda v11, we added a safety check for too-old drivers. What we missed was the cudart fallback discovery logic didn't have driver version wired up. This fixes cudart discovery to expose the driver version as well so we no longer reject all GPUs if nvcuda didn't work. Fixes #11519 --- <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-25 00:31:04 -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#44843