[PR #7473] [MERGED] nvidia libs have inconsistent ordering #43683

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7473
Author: @dhiltgen
Created: 11/2/2024
Status: Merged
Merged: 11/2/2024
Merged by: @dhiltgen

Base: mainHead: cuda_ordering


📝 Commits (1)

  • 989e521 nvidia libs have inconsistent ordering

📊 Changes

3 files changed (+13 additions, -9 deletions)

View changed files

📝 discover/gpu.go (+6 -2)
📝 discover/gpu_info_nvml.c (+5 -5)
📝 discover/gpu_info_nvml.h (+2 -2)

📄 Description

The runtime and management libraries may not always have identical ordering, so use the device UUID to correlate instead of ID.

Fixes #7429


🔄 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/7473 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 11/2/2024 **Status:** ✅ Merged **Merged:** 11/2/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `cuda_ordering` --- ### 📝 Commits (1) - [`989e521`](https://github.com/ollama/ollama/commit/989e521128215cfc03cdbc779cb7b1dbe301d4f6) nvidia libs have inconsistent ordering ### 📊 Changes **3 files changed** (+13 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `discover/gpu.go` (+6 -2) 📝 `discover/gpu_info_nvml.c` (+5 -5) 📝 `discover/gpu_info_nvml.h` (+2 -2) </details> ### 📄 Description The runtime and management libraries may not always have identical ordering, so use the device UUID to correlate instead of ID. Fixes #7429 --- <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:16:55 -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#43683