[PR #8567] [MERGED] build: support Compute Capability 5.0, 5.2 and 5.3 for CUDA 12.x #12727

Closed
opened 2026-04-13 00:08:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8567
Author: @prusnak
Created: 1/24/2025
Status: Merged
Merged: 2/25/2025
Merged by: @dhiltgen

Base: mainHead: cuda-v12-architectures


📝 Commits (1)

  • 80be51a build: support Compute Capability 5.0, 5.2 and 5.3 for CUDA 12.x

📊 Changes

2 files changed (+3 additions, -2 deletions)

View changed files

📝 CMakePresets.json (+1 -1)
📝 discover/cuda_common.go (+2 -1)

📄 Description

CUDA 12.x still supports Compute Capability 5.0, 5.2 and 5.3, so let's build for these architectures as well

I have a GPU with CC 5.2 and confirmed that before the change ollama crashes, afterwards it works just fine.

source: https://stackoverflow.com/questions/28932864/which-compute-capability-is-supported-by-which-cuda-versions


🔄 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/8567 **Author:** [@prusnak](https://github.com/prusnak) **Created:** 1/24/2025 **Status:** ✅ Merged **Merged:** 2/25/2025 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `cuda-v12-architectures` --- ### 📝 Commits (1) - [`80be51a`](https://github.com/ollama/ollama/commit/80be51afc896c0d54ed7db1eef2e2ed2e7662a1e) build: support Compute Capability 5.0, 5.2 and 5.3 for CUDA 12.x ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CMakePresets.json` (+1 -1) 📝 `discover/cuda_common.go` (+2 -1) </details> ### 📄 Description CUDA 12.x still supports Compute Capability 5.0, 5.2 and 5.3, so let's build for these architectures as well I have a GPU with CC 5.2 and confirmed that before the change ollama crashes, afterwards it works just fine. source: https://stackoverflow.com/questions/28932864/which-compute-capability-is-supported-by-which-cuda-versions --- <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:08:14 -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#12727