[PR #2209] [MERGED] Fix crash on cuda ml init failure #57518

Closed
opened 2026-04-29 12:10:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2209
Author: @dhiltgen
Created: 1/26/2024
Status: Merged
Merged: 1/26/2024
Merged by: @dhiltgen

Base: mainHead: harden_mgmt


📝 Commits (1)

  • 5d9c4a5 Fix crash on cuda ml init failure

📊 Changes

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

View changed files

📝 gpu/gpu_info_cuda.c (+1 -0)

📄 Description

The new driver lookup code was triggering after init failure due to a missing return

Fixes #2198


🔄 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/2209 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 1/26/2024 **Status:** ✅ Merged **Merged:** 1/26/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `harden_mgmt` --- ### 📝 Commits (1) - [`5d9c4a5`](https://github.com/ollama/ollama/commit/5d9c4a5f5a5d6aab0e8b4aedf504c6a0e526b2f4) Fix crash on cuda ml init failure ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `gpu/gpu_info_cuda.c` (+1 -0) </details> ### 📄 Description The new driver lookup code was triggering after init failure due to a missing return Fixes #2198 --- <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-29 12:10:07 -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#57518