[PR #8121] [CLOSED] cuda: adjust variant based on detected runners #43880

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8121
Author: @dhiltgen
Created: 12/16/2024
Status: Closed

Base: mainHead: single_cuda_support


📝 Commits (1)

  • cdaed59 cuda: adjust variant based on detected runners

📊 Changes

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

View changed files

📝 discover/cuda_common.go (+37 -2)

📄 Description

When building from source, or using downstream packaging systems, multiple versions of cuda runners may not be present. This adjusts the discoverry logic to only use versioned variants if they are detected at runtime. It also adds a new warning message in the log if no cuda runners are present but cuda GPUs are detected.

Related to #8089


🔄 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/8121 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 12/16/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `single_cuda_support` --- ### 📝 Commits (1) - [`cdaed59`](https://github.com/ollama/ollama/commit/cdaed59f279ed83d2f5244c733dcda3a4840a9a0) cuda: adjust variant based on detected runners ### 📊 Changes **1 file changed** (+37 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `discover/cuda_common.go` (+37 -2) </details> ### 📄 Description When building from source, or using downstream packaging systems, multiple versions of cuda runners may not be present. This adjusts the discoverry logic to only use versioned variants if they are detected at runtime. It also adds a new warning message in the log if no cuda runners are present but cuda GPUs are detected. Related to #8089 --- <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:26:45 -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#43880