[PR #10892] [MERGED] ggml: Export GPU UUIDs #39267

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/10892
Author: @jessegross
Created: 5/29/2025
Status: Merged
Merged: 5/29/2025
Merged by: @jessegross

Base: mainHead: jessegross/uuid


📝 Commits (1)

📊 Changes

6 files changed (+151 additions, -0 deletions)

View changed files

llama/patches/0017-ggml-Export-GPU-UUIDs.patch (+102 -0)
📝 ml/backend.go (+8 -0)
📝 ml/backend/ggml/ggml.go (+6 -0)
📝 ml/backend/ggml/ggml/include/ggml-backend.h (+1 -0)
📝 ml/backend/ggml/ggml/src/ggml-cuda/ggml-cuda.cu (+33 -0)
📝 ml/backend/ggml/ggml/src/ggml-metal/ggml-metal.m (+1 -0)

📄 Description

This enables matching up devices and information reported by the backend with system management libraries such as nvml to get accurate free memory reporting.


🔄 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/10892 **Author:** [@jessegross](https://github.com/jessegross) **Created:** 5/29/2025 **Status:** ✅ Merged **Merged:** 5/29/2025 **Merged by:** [@jessegross](https://github.com/jessegross) **Base:** `main` ← **Head:** `jessegross/uuid` --- ### 📝 Commits (1) - [`4876eeb`](https://github.com/ollama/ollama/commit/4876eeb83e9458cffe5d179a2a8137bbdf145053) ggml: Export GPU UUIDs ### 📊 Changes **6 files changed** (+151 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `llama/patches/0017-ggml-Export-GPU-UUIDs.patch` (+102 -0) 📝 `ml/backend.go` (+8 -0) 📝 `ml/backend/ggml/ggml.go` (+6 -0) 📝 `ml/backend/ggml/ggml/include/ggml-backend.h` (+1 -0) 📝 `ml/backend/ggml/ggml/src/ggml-cuda/ggml-cuda.cu` (+33 -0) 📝 `ml/backend/ggml/ggml/src/ggml-metal/ggml-metal.m` (+1 -0) </details> ### 📄 Description This enables matching up devices and information reported by the backend with system management libraries such as nvml to get accurate free memory reporting. --- <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-22 23:55:40 -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#39267